Skip to the content
2 layers99.9 × 46.5 mmSolar USB Buck Converter, the printed circuit board in 3D

KiCad PCB design for a 12–20V solar-input to 5V USB buck converter using LM2596S-ADJ.

Size
99.9 × 46.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
7
Pads
36
Tracks, vias
75, 0
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
20 May 2026
Updated
20 May 2026

Overview

Solar USB Buck Converter is an open-source printed circuit board by jiroegbu-eng, from the jiroegbu-eng/Solar_USB_Buck_Converter repository on GitHub. It is a 2-layer board of 99.9 × 46.5 mm with 11 parts on 7 nets, routed with 75 tracks and 0 vias.

It is built around the LM2596S-ADJ and SS34. Its parts include 4 capacitors, 2 resistors, 2 connectors, 1 IC and 1 diode. It belongs with the power boards of this library.

Main components

2

README

README.md

Solar-to-USB Buck Converter

This project is a KiCad PCB design for a solar-powered buck converter that steps down a 12–20V DC solar input to a 5V USB output. The goal was to design a compact power board that could support off-grid IoT devices, sensor nodes, and small embedded electronics.

The project was built as part of my EDA portfolio to practice switch-mode power supply layout, component placement, PCB routing, ground pours, and clean design-rule validation.

Project Motivation

Many field-deployed IoT systems need a simple and reliable way to generate 5V from a small solar panel. This board explores that idea using a practical LM2596-based buck converter design.

The portfolio angle for this project is simple:

Built for Africa's off-grid reality — a compact solar-to-USB power stage for IoT sensor nodes and field-deployed electronics.

Key Specifications

ParameterValue
Input Voltage12–20V DC
Output Voltage5V USB
RegulatorLM2596S-ADJ
Output ConnectorUSB Type-A
Input Connector2-pin screw terminal
Inductor100µH
Freewheel DiodeSS34 Schottky diode
Bulk Capacitors220µF input/output
Decoupling Capacitors100nF ceramic
PCB ToolKiCad
StatusSchematic and PCB complete

Main Components

  • LM2596S-ADJ buck regulator
  • SS34 Schottky diode
  • 100µH power inductor
  • 220µF electrolytic capacitors
  • 100nF ceramic decoupling capacitors
  • 1kΩ and 3.1kΩ feedback resistors
  • USB Type-A output connector
  • 2-pin solar input screw terminal

Design Overview

The circuit takes a 12–20V solar panel input and feeds it into an LM2596 adjustable buck regulator. The regulator drives a switching node connected to a Schottky diode and 100µH inductor. The output is filtered with a 220µF bulk capacitor and a 100nF ceramic capacitor before feeding the USB 5V output.

The feedback divider uses 1kΩ and 3.1kΩ resistors to set the output close to 5V.

Approximate output voltage:

text
Vout = 1.23 × (1 + 3.1k / 1k)
Vout ≈ 5.04V

PCB Layout Notes

The PCB layout was designed with switch-mode power supply layout practices in mind:

  • Wide traces were used for the main power path.
  • The diode, regulator, and inductor were placed close together to reduce the switching-loop area.
  • Input and output capacitors were placed near the regulator and output connector.
  • A ground pour was added to improve grounding and reduce impedance.
  • The USB output section was kept separate and easy to identify.
  • The design passed KiCad DRC with zero violations.

Project Images

Schematic

Schematic

PCB Layout

PCB Layout

3D View

3D View

Files Included

FileDescription
Solar_USB_Buck_Converter.kicad_proKiCad project file
Solar_USB_Buck_Converter.kicad_schCircuit schematic
Solar_USB_Buck_Converter.kicad_pcbPCB layout
Solar_USB_Buck_Converter.kicad_prlKiCad project local settings
images/Project screenshots

Current Status

Completed:

  • Schematic design
  • PCB layout
  • Footprint assignment
  • Ground pour
  • 3D board view
  • DRC validation with zero violations

Planned future improvements:

  • Closed-loop transient simulation
  • Output ripple measurement
  • Efficiency calculation at different load currents
  • Thermal review for the regulator
  • Optional USB protection and input fuse

What I Learned

This project helped me understand the practical layout concerns of switch-mode power supplies. The biggest lesson was that buck converters are not just about connecting the right components; placement and routing matter a lot. The switching loop, diode placement, inductor position, capacitor location, and ground return paths all affect how clean and reliable the design can be.

It also helped me get more comfortable moving from schematic capture to PCB layout, assigning footprints, routing power traces, adding copper pours, checking DRC results, and generating a 3D board preview.

Parts

11
QtyValueFootprintReferences
2100nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC2, C4
2220µFCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC1, C3
1100µHInductor_THT:L_Radial_D10.0mm_P5.00mm_Fastron_07ML1
11kΩResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
13.1kΩResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2
1LM2596S-ADJPackage_TO_SOT_SMD:TO-263-5_TabPin3U1
1SS34Diode_SMD:D_SMAD1
1Solar Input 12-20VTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ1
1USB_AConnector_USB:USB_A_Receptacle_GCT_USB1046J2

Similar boards

  • 2 layers78.7 × 58.4 mmAGV SENSOR PCB 2, the printed circuit board in 3D

    AGV SENSOR PCB 2

    Ashutoshkarve007/STM32_Learning

    Learining STM32

    53 parts3
  • 2 layers40 × 60 mmScaner v1, the printed circuit board in 3D

    Scaner v1

    Aleksei327/ESP32-C5-OBD2-Scanner

    DIY dual-CAN OBD2 adapter on Seeed XIAO ESP32-C5 with a Flutter Android app. Working prototype, tested on a Citroën C3 II: full read-only ECU scan, PSA fault codes, live data. Single-sided home-etched KiCad board.

    34 parts2
  • 6 layers100.5 × 101.5 mmCustom ESC, the printed circuit board in 3D

    Custom ESC

    0BitsnBytes/McQueen

    an overpowered rc car that poses a danger to my safety :)

    192 parts1GPL-3.0
  • 2 layers43 × 21.3 mmBUCKCONV, the printed circuit board in 3D

    BUCKCONV

    Harshavar8jdm/LM2596S-Buck-Converter

    Custom LM2596S Buck Converter

    15 parts1GPL-3.0
  • 2 layers39.1 × 68.9 mmBaseChipOnly, the printed circuit board in 3D

    BaseChipOnly

    ZonatedCord/Yggdrasill

    Smart LED plant pot — ESP32 PCB, WS2812B/SK6812 LEDs, WLED firmware, modular 3D-printed vase, and a native iOS app with Apple's Liquid Glass design.

    34 parts1
  • 2 layers60 × 30 mmLM259, the printed circuit board in 3D

    LM259

    IKGB105/LM2596-Adjustable-Buck-Converter

    Adjustable LM2596 buck converter — KiCad PCB + COMSOL thermal validation, documented as an honest engineering logbook

    13 partsMIT
  • 2 layers100 × 100 mmHour meter board microfit can handroute, the printed circuit board in 3D

    Hour meter board microfit can handroute

    ilomon10/embedded-totalizer-hour-meter

    ESP32 engine hour meter & totalizer: firmware, SensorFrame protocol, Node host tools, KiCad PCB and a Deno device simulator

    152 parts

Questions

How big is the Solar USB Buck Converter PCB?

It measures 99.9 × 46.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Solar USB Buck Converter use?

11 parts, built around the LM2596S-ADJ and SS34. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Solar USB Buck Converter KiCad files?

From the jiroegbu-eng/Solar_USB_Buck_Converter repository on GitHub, at the commit this page was made from: the board is Solar_USB_Buck_Converter.kicad_pcb and its schematic Solar_USB_Buck_Converter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Solar USB Buck Converter design in my own project?

Its repository states no licence, so its author keeps all rights: ask jiroegbu-eng before reusing the design.