12 V to 5 V Buck Converter PCB
February 2026
Overview
A 78 × 16 mm two-layer board that takes 12 V in on a barrel jack and puts out 5 V on a USB-A socket at up to 3 A. It works as a bench or car USB supply, and it was my first switching regulator. The goal was to size a converter from the datasheet rather than buy a finished module.
The regulator is an LM2596S-5, a fixed 5 V step-down in TO-263 switching at 150 kHz and rated for 3 A.
Why a Switching Regulator
A linear regulator doing 12 V to 5 V at 3 A dissipates (12 - 5) × 3 = 21 W in the package. That is not coolable on a board this size and caps efficiency near 42%. A buck converter stores that energy in an inductor and delivers it to the load instead, running closer to 80% efficient.
The tradeoff is that a switcher is a layout problem as much as a schematic problem. Every choice below is about either keeping inductor current continuous or keeping the high current loops short.
Component Selection
The target was continuous conduction at the full 3 A load, meaning inductor current never falls to zero during the switching cycle. Discontinuous operation is not dangerous, but it makes output voltage load dependent and worsens ripple.
- L1, 33 µH. Sized from the LM2596 datasheet selection curves for a 12 V input at 3 A. The inductor sets ripple current, which is what determines whether conduction stays continuous.
- C1, 680 µF input. A buck draws input current in pulses rather than smoothly. The input capacitor supplies those pulses locally instead of pulling them down the supply leads, which helps both ripple and EMI.
- C2, 220 µF output. Absorbs inductor ripple current to flatten the 5 V rail, and sets transient response under a load step.
- D1, SS54 Schottky, 40 V and 5 A. The catch diode carries inductor current during the switch off half of the cycle. Schottky for the lower forward drop and fast recovery, with ratings above the 12 V input and 3 A load to cover switching transients.
Layout
Input, switch node, and output traces are widened to 0.8 mm to carry 3 A without meaningful drop or heating. The switch node matters most for noise, since it joins the regulator output pin, the inductor, and the catch diode while swinging the full input voltage at 150 kHz. Kept short it behaves like a trace, and left to sprawl it behaves like an antenna.
The 78 × 16 mm outline is long and narrow so the barrel jack and USB-A socket sit at opposite ends, giving a straight through power path with the switching section in the middle.
Status
The schematic and layout are complete in KiCad. The board has not been fabricated or brought up, so every figure on this page is a design value rather than a measurement.