Skip to the content
2 layers77.1 × 29.7 mmBuck converter, the printed circuit board in 3D

XL4015 buck converter prototype: 8–30 V DC input to regulated 5 V USB-A output

Size
77.1 × 29.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
9
Pads
34
Tracks, vias
88, 6
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
21 Sep 2026
Updated
3 Oct 2026

Overview

Buck converter is an open-source printed circuit board by hasanberkdasar, from the hasanberkdasar/Buck-converter repository on GitHub, published under the MIT licence. It is a 2-layer board of 77.1 × 29.7 mm with 11 parts on 9 nets, routed with 88 tracks and 6 vias.

It is built around the XL4015E1 and SS54. 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

XL4015 USB Buck Converter

An amateur/prototype DC-DC buck converter that provides a 5 V USB-A output from an 8–30 V DC input.

This project is a PCB prototype developed by an Electrical and Electronics Engineering student for learning, design practice, and open-source sharing. The XL4015-based circuit steps a higher DC input voltage down to a regulated 5 V level suitable for a USB-A power output.

[!WARNING] This board is an amateur prototype and has not been certified for safety-critical, commercial, or unattended applications. ERC checks for the schematic and DRC checks for the PCB were completed with 0 errors. However, this does not mean the design is complete or error-free: there may still be overlooked issues related to connectivity, footprints, component selection, thermal behavior, EMI, or manufacturing. Independently verify the schematic, manufacturing files, and real measurements for your own application before using the board. All use is at the user's own risk.

Design summary

FeatureValue / status
Converter typeAsynchronous buck (step-down)
Controller ICXL4015 / XL4015E1
Recommended input8–30 V DC
IC operating range8–36 V DC
Target output5 V DC, USB-A VBUS
Feedback settingR1 = 3.3 kΩ, R2 = 1.1 kΩ → approximately 5.0 V
ERC / DRC0 errors during the design stage
StatusPrototype; do not claim a continuous-current rating until it is validated with real load, temperature, and ripple tests

For the XL4015, 40 V is an absolute maximum rating, not an operating voltage. The intended input range for this design is therefore 8–30 V. In addition, the fitted SS54 diode has a 40 V reverse-voltage rating, so this component is not suitable for 36 V or 40 V input. If a higher input voltage is required, select all relevant components—starting with the diode—with adequate voltage margin.

How the circuit works

The DC input enters through the J1 terminal. The input capacitors support transient current demand and help reduce switching noise. The XL4015 drives its internal switch at approximately 180 kHz. D1 is the freewheeling diode that provides a path for the inductor current when the switch turns off. L1 and the output capacitor filter the switching waveform to produce a 5 V USB output.

The R1/R2 feedback divider sets the output voltage:

VOUT ≈ 1.25 V × (1 + R1 / R2)

VOUT ≈ 1.25 V × (1 + 3.3 kΩ / 1.1 kΩ) = 5.0 V

Components and why they are used

ReferencePart / valuePurpose and selection rationale
U1XL4015 / XL4015E1Wide-input, fixed-frequency buck regulator IC intended for higher-current applications.
J12-pin screw terminalProvides a robust, convenient DC input connection.
J2USB-A female connectorPresents the regulated 5 V output through a USB connector.
L147 µH power inductorStores energy and filters output current/ripple. Its saturation-current rating should exceed the expected peak current, and its DCR should be low.
D1SS54 Schottky diodeProvides the freewheeling path in the asynchronous buck topology; the low forward voltage helps reduce loss. This choice limits the design to 8–30 V input; use a 60 V-or-higher diode for higher voltages.
C2220 µF / 50 V electrolytic capacitorSupports low-frequency input ripple and transient current demand.
C110 µF / 50 VProvides additional input filtering/local bypassing.
C41 µFCompensation capacitor for the XL4015 VC/compensation network. Confirm its value against the XL4015 application circuit being used.
C3470 µFReduces output ripple and improves load-transient response. Its voltage rating must exceed the 5 V output.
R13.3 kΩVOUT-to-FB feedback resistor; sets the 5 V output together with R2.
R21.1 kΩFB-to-GND feedback resistor; sets the 5 V output together with R1.

Connections

Input — J1

J1 pinConnection
1Positive DC input, VIN
2Input negative / GND

Connect only 8–30 V DC to the input. Before assembling or connecting power, always cross-check the physical connector orientation and VIN/GND markings against the schematic.

Output — USB-A (J2)

USB-A pinConnection
1 — VBUSRegulated +5 V
4 — GNDCommon ground
2 — D−Not used in this design
3 — D+Not used in this design

This board supplies 5 V power through USB-A. It does not implement BC 1.2, Apple, or USB-C PD charging identification on D+/D−, so phones and some other devices may limit the charging current they request.

Known limitations and suggestions for the next revision

  • The continuous output-current capability depends on inductor saturation current, diode loss, copper thickness, airflow, and IC temperature.
  • For operation near 30 V input, consider a TVS diode, fuse/PTC, and reverse-polarity protection for input transients.
  • Keep high-current traces short and wide; make the switching loop between the XL4015, D1, and input capacitor as compact as possible.
  • Keep the feedback divider away from the switching node and close to the output capacitor.
  • Before fabrication, independently review Gerbers, drill files, footprints, polarities, and 3D mechanical clearances.

Suggested test procedure Instructions

For first power-up, use a current-limited bench power supply. First verify that the no-load output is close to 5 V. Then use an electronic load in gradual steps to measure voltage regulation, ripple, input current, and the temperatures of the diode, inductor, and IC, as well as short-circuit behavior. Before connecting a USB device, check that there is no short circuit between VBUS and GND.

gitpcb2 gitpcb1 buckcon1

Parts

11
QtyValueFootprintReferences
11 uFCapacitor_SMD:C_0805_2012MetricC4
11.1k ohmResistor_SMD:R_0805_2012MetricR2
110 µF/50vCapacitor_SMD:C_0805_2012MetricC1
1220 µF / 50VCapacitor_THT:CP_Radial_D8.0mm_P3.50mmC2
13.3k ohmResistor_SMD:R_0805_2012MetricR1
147 µHInductor_SMD:L_12x12mm_H6mmL1
1470 µFCapacitor_THT:CP_Radial_D8.0mm_P3.50mmC3
1SS54Diode_SMD:D_SMCD1
1Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ1
1USB_AConnector_USB:USB_A_Molex_67643_HorizontalJ2
1XL4015Package_TO_SOT_SMD:TO-263-5_TabPin3U1

Similar boards

  • 2 layers80.9 × 92.7 mmEvo Borne, the printed circuit board in 3D

    Evo Borne

    SRA-VJTI/Evo-Borne

    This repository focuses on building an open-source morphobot.

    126 parts12MIT
  • 2 layers92 × 72.2 mmDevelopower v2.0, the printed circuit board in 3D

    Developower v2.0

    leoheck/developower-v2.0

    Developower-v2.0 Board

    50 parts8
  • 2 layers171.1 × 185.1 mmMpuled, the printed circuit board in 3D

    Mpuled

    abbounassima2/STM32-PLC-Runtime-Engine-and-PCB

    An STM32F407-based PLC runtime engine developed in Embedded C, together with a custom PLC controller PCB and a Renode-based simulation environment.

    189 parts
  • 4 layers110 × 36.6 mmXL4015-DC DC Buck Converter Schematic, the printed circuit board in 3D

    XL4015-DC DC Buck Converter Schematic

    ajvizganapathy-pixel/XL4015-BuckConverter-5A-PCB

    XL4015 5A step-down buck converter — KiCad PCB, gerbers, datasheets

    29 parts
  • 2 layers64.9 × 47.3 mmUniversal battery charger, the printed circuit board in 3D

    Universal battery charger

    ArthorH/PD-UniCharger

    Universal power delivery charger with battery reverse polarity protection

    64 partsCERN-OHL-P-2.0
  • 4 layers150 × 90 mmMultibay, the printed circuit board in 3D

    Multibay

    EdgeOfAssembly/multi-hdd-usb3-adapter

    USB3 multi-HDD adapter (PATA+SATA) — JLCPCB Gerbers/BOM

    131 parts
  • 2 layers91.4 × 75.6 mmBuck converter V6, the printed circuit board in 3D

    Buck converter V6

    HakanD1/24v-to-5v-50w-buck-converter-stm32

    24V to 5V 50W Digital Controlled Buck Converter Hardware, Software, and Control Design. Features an STM32-based closed-loop PI regulation, 120kHz PWM, custom PCB, and a Nextion HMI display interface.

    88 partsMIT
  • 2 layers104 × 76 mmSuntracker, the printed circuit board in 3D

    Suntracker

    Wudker/Suntracker

    Solar tracker powerbank with MPPT prototype

    115 parts

Questions

How big is the Buck converter PCB?

It measures 77.1 × 29.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Buck converter use?

11 parts, built around the XL4015E1 and SS54. 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 Buck converter KiCad files?

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

Can I use the Buck converter design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).