SmartSupply
ThomasVDD·SmartSupply·PCB/PSU_PCB.kicad_pcb
About the SmartSupply PCB
SmartSupply is an open source AVR/Arduino PCB design by ThomasVDD, published on GitHub under the Custom license license. It is a 2-layer board measuring 169.3 × 128 mm, with 131 components from 63 distinct parts.
Its main chip is the ATMEGA328-P, from the AVR/Arduino family. Other key parts include the INA219, BQ2057WSN_SOIC, LM6144, LT3080 and LM7805CT. By type, the board carries 59 resistors, 30 capacitors, 12 ICs, 9 diodes, 8 connectors and 5 switches.
It belongs with the power & battery and test & measurement designs in this gallery.
From the project
SmartSupply is a digital battery powered lab powersupply. It is Arduino compatible and can be controlled via PC over USB.
To understand the operation of the circuit, we will have to look at the schematic. I divided it into functional blocks, such that it is easier to understand; I will thus also explain the operation step by step.
The measurement of the current, and the generation of the signal ADC_Iout is done as follows. The output current flows through resistors R7 - R16. These total 1 ohm; the reason for not using 1R in the first place is twofold: 1 resistor would need to have a higher power rating (it needs to dissipate at least 1 W), and by using 10 1% resistors in parallel, we get a higher precision than…

Main components on the SmartSupply
SmartSupply bill of materials (BOM)
131 components, 63 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | ATMEGA328-P | DIP-28_W7.62mm_LongPads | IC1 |
| 1 | INA219 | SOIC-8_3.9x4.9mm_Pitch1.27mm | U1 |
| 1 | BQ2057WSN_SOIC | SOIC-8_3.9x4.9mm_Pitch1.27mm | U2 |
| 1 | LM6144 | DIP-14_W7.62mm_LongPads | U3 |
| 1 | LT3080 | Pentawatt_Neutral_Staggered_Verical_TO220-5-T05D | U4 |
| 1 | LM7805CT | SOT-223-3Lead_TabPin2 | U5 |
| 1 | LM334 | TO-92_Inline_Narrow_Oval | U6 |
| 1 | LT1370 | Pentawatt_Neutral_Staggered_Verical_TO220-5-T05D | U7 |
| 1 | ISL21070 | SOT-23_Handsoldering | U8 |
| 1 | FT232R | SSOP-28_5.3x10.2mm_Pitch0.65mm | U9 |
| 1 | MCP41010 | DIP-8_W7.62mm_LongPads | U10 |
| 1 | 74HC595 | DIP-16_W7.62mm_LongPads | U11 |
| 1 | TIP32CG | TO-220_Vertical | Q1 |
| 2 | 2N3904 | TO-92_Inline_Narrow_Oval | Q2, Q3 |
| 1 | 16Mhz | Crystal_HC50-U_Vertical | Y1 |
| 1 | BARREL_JACK | BARREL_JACK | CON1 |
| 1 | USB_OTG | Micro_usb | P1 |
| 1 | FTDI | Pin_Header_Straight_1x06 | P2 |
| 1 | V+ | 1pin | P3 |
| 1 | V- | 1pin | P4 |
Show 43 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | ISP | Pin_Header_Straight_2x03 | P5 |
| 1 | I2C | Pin_Header_Straight_1x04 | P6 |
| 1 | LCD_Display | Pin_Header_Straight_1x16 | P7 |
| 2 | Battery | 18650_cell | BT1, BT2 |
| 1 | POT | Potentiometer_Bourns_3296W_3-8Zoll_Inline_ScrewUp | RV1 |
| 1 | SWITCH | SW_SPDT | SW1 |
| 2 | SPST | SW_Tactile_SPST_Angled | SW2, SW3 |
| 1 | Encoder1 | Potentiometer_WirePads_Small | SW4 |
| 1 | Encoder0 | Potentiometer_WirePads_Small | SW5 |
| 1 | Red_Led | LED_D3.0mm | D1 |
| 1 | Red_Led | LED-3MM | D2 |
| 1 | 1N5358B | D_DO-15_P15.24mm_Horizontal | D3 |
| 1 | SS34 | SMB_Handsoldering | D4 |
| 1 | Green_Led | LED-3MM | D5 |
| 2 | 1N4148 | Diode_DO-41_SOD81_Horizontal_RM10 | D6, D7 |
| 1 | SS34 | D_SMB_Handsoldering | D8 |
| 1 | 1N4007 | D_DO-41_SOD81_P10.16mm_Horizontal | D9 |
| 1 | 47u | SELF-WE-PD-XXL | L1 |
| 2 | 100n | C_Rect_L7.0mm_W2.5mm_P5.00mm | C1, C21 |
| 10 | 100n | C_Rect_L7_W2.5_P5 | C2, C3, C5, C6, C7, C9, C10, C22 +2 |
| 3 | 220u | C_Radial_D10_L13_P5 | C4, C13, C25 |
| 5 | 22u | C_Radial_D10_L13_P5 | C8, C11, C14, C17, C18 |
| 4 | 10n | C_Disc_D3_P2.5 | C12, C15, C16, C24 |
| 1 | 47n | C_Disc_D3.0mm_W1.6mm_P2.50mm | C19 |
| 1 | 4.7n | C_Disc_D3.0mm_W1.6mm_P2.50mm | C20 |
| 2 | 22p | C_Disc_D3_P2.5 | C26, C27 |
| 1 | 22u | C_Radial_D5_L11_P2.5 | C28 |
| 1 | 100u | C_Radial_D5_L11_P2.5 | C30 |
| 12 | 10R | Resistor_Horizontal_RM10mm | R1, R2, R7, R8, R9, R10, R11, R12 +4 |
| 7 | 10k | Resistor_Horizontal_RM10mm | R3, R17, R26, R35, R38, R51, R55 |
| 1 | 0.2R | R_0805_HandSoldering | R4 |
| 3 | 6k8 | Resistor_Horizontal_RM10mm | R5, R53, R54 |
| 3 | 1k | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R6, R18, R42 |
| 3 | 10k | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R19, R20, R37 |
| 12 | 10k 0.1% | Resistor_Horizontal_RM10mm | R21, R22, R25, R29, R30, R32, R33, R34 +4 |
| 7 | 10k 0.1% | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R23, R24, R46, R49, R57, R58, R59 |
| 1 | 680k | Resistor_Horizontal_RM10mm | R27 |
| 1 | 220k | Resistor_Horizontal_RM10mm | R28 |
| 2 | 1k | Resistor_Horizontal_RM10mm | R31, R36 |
| 2 | 100R | Resistor_Horizontal_RM10mm | R39, R41 |
| 3 | 330R | Resistor_Horizontal_RM10mm | R40, R52, R56 |
| 1 | 2.2k | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R48 |
| 1 | 620R | Resistor_Horizontal_RM10mm | R50 |
SmartSupply design files
The KiCad project lives in the ThomasVDD/SmartSupply repository on GitHub; these links point at the commit this page was built from.
- LayoutPCB/PSU_PCB.kicad_pcb
SmartSupply: common questions
What microcontroller does the SmartSupply use?
The SmartSupply is built around the ATMEGA328-P, from the AVR/Arduino family.
How big is the SmartSupply PCB?
The SmartSupply measures 169.3 × 128 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the SmartSupply?
131 components, from 63 distinct parts. The full bill of materials is listed on this page.
Where can I download the SmartSupply design files?
From the ThomasVDD/SmartSupply repository on GitHub, which has the KiCad layout; the links under Design files point to each one.
Can I use the SmartSupply design in my own project?
It is published under Custom license, which limits how it may be reused; read the license before building on it.
Can I test firmware for the SmartSupply 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.
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