Swing
lucanastasio·myHomeAutomation·hardware/swing/swing.kicad_pcb
About the Swing PCB
Swing is an open source AVR/Arduino PCB design by lucanastasio, published on GitHub. It is a 4-layer board measuring 50 × 50 mm, with 146 components from 75 distinct parts.
Its main chip is the ATmega328PB-A, from the AVR/Arduino family. Other key parts include the MCP6004, A4954, LMV321, 74LVC1G57 and TJA1051T-3. By type, the board carries 55 resistors, 45 capacitors, 11 ICs, 10 test points, 9 diodes and 8 connectors.
From the project
Home automation stuff
- Dimmer: LED APA102-2020, 4 PWM ch. - Central: 4 PWM ch., radar UART, air valve 4 pin
Main components on the Swing
Swing bill of materials (BOM)
146 components, 75 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | MCP6004 | TSSOP-14_4.4x5mm_P0.65mm | U1 |
| 1 | A4954 | TSSOP-16-1EP_4.4x5mm_P0.65mm_EP3x3mm_ThermalVias | U2 |
| 1 | LMV321 | SOT-353_SC-70-5 | U3 |
| 1 | ATmega328PB-A | TQFP-32_7x7mm_P0.8mm | U4 |
| 1 | 74LVC1G57 | SOT-563 | U5 |
| 1 | TJA1051T-3 | SOIC-8_3.9x4.9mm_P1.27mm | U6 |
| 1 | ~ | TSSOP-14_4.4x5mm_P0.65mm | U7 |
| 1 | TD1465 | SOT-23-6 | U8 |
| 1 | MCP6562 | TSSOP-8_3x3mm_P0.65mm | U9 |
| 1 | SRV05-4 | SOT-23-6 | U10 |
| 1 | USBLC6-2SC6 | SOT-23-6 | U11 |
| 1 | Crystal_GND24 | Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | C_Pack04_Split | R_Array_Convex_4x0603 | CN1 |
| 2 | Screw_Terminal_01x02 | PhoenixContact_MCV_1,5_2-G-3.81_1x02_P3.81mm_Vertical | J1, J2 |
| 1 | AVR-ISP-6 | Tag-Connect_TC2030-IDC-NL_2x03_P1.27mm_Vertical | J3 |
| 1 | Screw_Terminal_01x04 | PhoenixContact_MCV_1,5_4-G-3.81_1x04_P3.81mm_Vertical | J4 |
| 3 | Screw_Terminal_01x04 | TerminalBlock_TE_282834-4_1x04_P2.54mm_Horizontal | J9, J10, J11 |
| 1 | Fuse | Fuse_1206_3216Metric_Pad1.42x1.75mm_HandSolder | F1 |
| 3 | SW_Push | SW_SPST_B3U-1000P | SW1, SW2, SW3 |
| 1 | I_{M1} | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP1 |
Show 55 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | I_{R1} | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP2 |
| 1 | RP_{1} | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP3 |
| 1 | I_{REF} | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP4 |
| 1 | REF | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP5 |
| 1 | I_{M0} | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP6 |
| 1 | I_{R0} | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP7 |
| 1 | RP_{0} | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP8 |
| 1 | P_{0} | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP9 |
| 1 | P_{1} | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP10 |
| 2 | LED | LED_0603_1608Metric | D1, D2 |
| 4 | D_Zener | D_SOD-123F | D3, D4, D5, D6 |
| 1 | DNP | D_SOD-523 | D7 |
| 1 | D_Zener | D_SMA | D8 |
| 1 | SM712_SOT23 | SOT-23 | D9 |
| 1 | FerriteBead | L_0603_1608Metric | FB1 |
| 1 | L_Ferrite_Coupled | L_CommonModeChoke_Coilcraft_0805USB | L1 |
| 1 | 22u | L_1210_3225Metric | L2 |
| 4 | 100n | C_0402_1005Metric | C1, C6, C11, C43 |
| 1 | 56p | C_0402_1005Metric | C2 |
| 1 | 6.8n | C_0402_1005Metric | C3 |
| 1 | 68p | C_0402_1005Metric | C4 |
| 2 | 1n | C_0402_1005Metric | C5, C7 |
| 1 | C_Polarized | CP_Radial_D10.0mm_P5.00mm | C8 |
| 3 | 10u | C_1206_3216Metric | C9, C10, C40 |
| 5 | C | C_0402_1005Metric | C12, C13, C14, C24, C25 |
| 2 | 100n | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C15, C16 |
| 7 | 100n | C_0603_1608Metric | C17, C18, C19, C26, C41, C44, C45 |
| 4 | 20p | C_0402_1005Metric | C20, C21, C22, C23 |
| 7 | ~ | C_0402_1005Metric | C27, C28, C29, C30, C31, C32, C33 |
| 4 | C | C_0603_1608Metric | C34, C35, C37, C39 |
| 1 | C_Polarized | CP_Radial_D6.3mm_P2.50mm | C36 |
| 1 | C | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C38 |
| 1 | 22u | C_0805_2012Metric | C42 |
| 3 | 220k | R_0402_1005Metric | R1, R2, R3 |
| 1 | 1k | R_0402_1005Metric | R4 |
| 3 | 1.5M | R_0402_1005Metric | R5, R10, R11 |
| 2 | 10k | R_0402_1005Metric | R6, R7 |
| 2 | 22k | R_0402_1005Metric | R8, R9 |
| 1 | R | R_2512_6332Metric | R12 |
| 2 | ? | R_0402_1005Metric | R13, R14 |
| 9 | R | R_0402_1005Metric | R15, R16, R19, R20, R21, R22, R23, R24 +1 |
| 3 | R | R_0805_2012Metric | R17, R18, R37 |
| 1 | 0 | R_0402_1005Metric | R25 |
| 11 | ~ | R_0402_1005Metric | R26, R27, R28, R29, R30, R31, R32, R33 +3 |
| 2 | R | R_0603_1608Metric | R38, R41 |
| 2 | R | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R39, R40 |
| 1 | 1M | R_0603_1608Metric | R42 |
| 1 | 43k | R_0603_1608Metric | R43 |
| 1 | 8k2 | R_0603_1608Metric | R44 |
| 2 | 3.3k | R_0402_1005Metric | R45, R46 |
| 1 | 1 | R_0603_1608Metric | R47 |
| 2 | ? | R_0603_1608Metric | R48, R49 |
| 2 | 1k | R_Array_Convex_4x0402 | RN1, RN3 |
| 1 | ~ | R_Array_Convex_4x0402 | RN2 |
| 2 | R_Pack04_Split | R_Array_Convex_4x0603 | RN4, RN5 |
Swing design files
The KiCad project lives in the lucanastasio/myHomeAutomation repository on GitHub; these links point at the commit this page was built from.
- Layouthardware/swing/swing.kicad_pcb
- Schematichardware/swing/swing.kicad_sch
Swing: common questions
What microcontroller does the Swing use?
The Swing is built around the ATmega328PB-A, from the AVR/Arduino family.
How big is the Swing PCB?
The Swing measures 50 × 50 mm, has 4 copper layers and is 1.724 mm thick.
How many components are on the Swing?
146 components, from 75 distinct parts. The full bill of materials is listed on this page.
Where can I download the Swing design files?
From the lucanastasio/myHomeAutomation repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Swing design in my own project?
The repository has no license, so all rights stay with lucanastasio. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Swing without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug AVR/Arduino firmware against it before you order a PCB.
More boards in myHomeAutomation
AVR/Arduino
Control panel
lucanastasio
65 × 58 mm158 parts2LNo license1AVR/Arduino
Heating controller
lucanastasio
100 × 50 mm145 parts2LNo license1AVR/Arduino
Room hub
lucanastasio
50 × 50 mm121 parts2LNo license1Led balance
lucanastasio
100 × 60 mm94 parts2LNo license1Corridor distribution
lucanastasio
60 × 100 mm81 parts2LNo license1ADV7280-M
lucanastasio
50 × 36 mm77 parts4LNo license1Knob top 30
lucanastasio
25 × 25 mm65 parts2LNo license1Corridor node
lucanastasio
40 × 40 mm57 parts2LNo license1AVR/Arduino
Generic node
lucanastasio
48.9 × 17.8 mm47 parts4LNo license1Repeater
lucanastasio
55 × 35 mm41 parts2LNo license1AVR/Arduino
Slider
lucanastasio
44 × 39 mm35 parts2LNo license1
Similar boards
AVR/Arduino
Redox keyboard
mattdibi
162.2 × 126.5 mm77 parts2LMIT2.0kAVR/Arduino
ModuleV450
stuartpittaway
30 × 61.4 mm39 parts2LCC-BY-NC-4.01.1kAVR/Arduino
V4
stuartpittaway
30 × 50 mm38 parts2LCC-BY-NC-4.01.1kAVR/Arduino
Discipline
coseyfannitutti
304.9 × 122.8 mm170 parts2LCC-BY-NC-4.01.0kAVR/Arduino
Megadesk
gcormier
41.7 × 32.2 mm23 parts2LGPL-3.0818AVR/Arduino
Easyduino Atmega Nano
Hanqaqa
43.4 × 18 mm30 parts4LCERN-OHL-P-2.0746