Skip to the content
PCBKitNew board
2 layers85.4 × 91.9 mmCustom PSU 2, the printed circuit board in 3D

This project is my attempt at designing a fully programmable bench power supply from the ground up.

Size
85.4 × 91.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
47
Pads
96
Tracks, vias
233, 12
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
5 Oct 2026
Updated
5 Nov 2026

Overview

Custom PSU 2 is an open-source printed circuit board by GodOfStrategy, from the GodOfStrategy/Custom-PSU repository on GitHub. It is a 2-layer board of 85.4 × 91.9 mm with 14 parts on 47 nets, routed with 233 tracks and 12 vias.

It is built around the SR420561N and EC11E15244B2. Its parts include 6 connectors, 3 diodes and 2 switches. It belongs with the power boards of this library.

Main components

2

README

README.md

About This Project

This project is my attempt at designing a fully programmable bench power supply from the ground up.

Most hobbyist power supplies are either simple fixed-voltage supplies or rely heavily on pre-built modules. I wanted to understand the entire system myself, from power conversion and feedback control to measurement, user interface, and digital regulation. The result is a custom-designed power supply capable of generating an adjustable output of approximately 0V to 30V at up to 5A from a standard 12V DC adapter.

The design combines modern switching power electronics with digital control, allowing the power supply to behave more like a commercial laboratory instrument than a traditional adjustable supply.


Motivation

I love watching ElectroBOOM and he loves to blow up capacitors so I got some FOMO and needed a way to safely blow some capacitors up! (jk) During electronics prototyping, I often found myself needing different voltages and current limits depending on the project being tested. Instead of purchasing a commercial bench supply, I decided to design one myself.

The primary objectives were:

  • Wide adjustable voltage range
  • Current limiting capability
  • Digital control instead of analog potentiometers
  • Real-time voltage and current monitoring
  • Large and readable displays
  • USB connectivity for future expansion
  • Learning advanced power electronics in the process

This project was intended not only as a practical tool but also as a way to gain hands-on experience with high-power DC-DC converter design.


Design Goals

ParameterTarget
Input Voltage12V DC
Output Voltage~0V - 30V
Maximum Current5A
Maximum Power150W
Regulation MethodDigital
User InterfaceRotary Encoders
DisplayLED 7-Segment Displays
CommunicationUSB

System Overview

The power supply can be divided into several major sections:

  1. Power Input and Protection
  2. Power Conversion
  3. Measurement System
  4. Control Electronics
  5. User Interface

The overall concept is shown below:

text
12V Adapter
     │
     ▼
Input Protection
     │
     ▼
Buck / Boost Power Stage
     │
     ▼
Current & Voltage Measurement
     │
     ▼
Microcontroller Control Loop
     │
     ├── DAC Voltage Control
     ├── Display Interface
     ├── USB Communication
     └── User Input
     │
     ▼
 Adjustable Output
     0V - 30V @ 5A

Power Conversion

One of the biggest challenges in the project is that the output voltage can be significantly higher than the input voltage.

Since the system is powered from a 12V adapter but needs to produce up to 30V at the output, a boost-capable power architecture is required.

The power stage is built around:

  • LM5116 synchronous controller
  • LM51231 synchronous boost controller
  • High-current MOSFETs
  • Shielded power inductors
  • Precision current sensing

These components allow efficient conversion while minimizing heat generation.

The theoretical maximum output power was designed around:

text
30V × 5A = 150W

making the supply suitable for most low- and medium-power electronics projects.


Digital Control

Rather than using traditional potentiometers for voltage adjustment, this design uses a digital control system.

At the center of the project is an:

ATmega328P

The microcontroller is responsible for:

  • Reading user inputs
  • Monitoring output voltage/current
  • Controlling the output setpoint
  • Driving the displays
  • Managing system behavior

This allows settings to be consistent, repeatable, and expandable through software.


Digital Voltage Regulation

Output voltage adjustment is performed using an MCP4725 12-bit DAC.

Instead of physically changing a potentiometer, the microcontroller generates a precise reference voltage that controls the converter feedback loop.

This approach enables:

  • Fine output adjustment
  • Accurate calibration
  • Software-defined voltage control
  • Future preset storage functionality

Measurement and Monitoring

A bench power supply is only useful if the user can see exactly what is happening at the output.

To achieve this, the design includes an INA260 power monitor.

The INA260 measures:

  • Output voltage
  • Output current
  • Output power

These measurements are available digitally through I²C and can be displayed directly to the user.

This reduces complexity while improving overall measurement accuracy.


User Interface

The user interface was designed to feel similar to a commercial bench power supply.

Input Controls

Two EC11 rotary encoders are used for:

  • Voltage adjustment
  • Current limit adjustment
  • Menu navigation

Rotary encoders were chosen because they allow precise control without requiring multiple buttons or large potentiometers.


Display System

The display system uses:

  • 3 × MAX7219 display drivers
  • 3 × large seven-segment LED displays

The intended display arrangement is:

Display 1

Output Voltage

Display 2

Output Current

Display 3

Additional information such as:

  • Power
  • Current limits
  • Menu settings
  • Calibration data

The large displays were selected for visibility and ease of use from across a workbench.


Connectivity

USB support is provided through a CH340G USB-to-UART converter.

This opens possibilities for:

  • Firmware updates
  • Serial debugging
  • Data logging
  • Computer-based monitoring
  • Future remote control functionality

While not essential for operation, USB greatly expands the potential capabilities of the power supply.


Protection Features

Reliability and safety were important considerations throughout the design.

The PSU includes:

  • TVS diodes for surge suppression
  • Polyfuse protection
  • Current monitoring
  • Precision current sensing
  • Input filtering
  • Noise suppression through ferrite beads

These features help protect both the power supply and any connected loads.


What I Learned

This project exposed me to several advanced engineering topics, including:

  • High-power DC-DC converter design
  • Switching power supply compensation
  • Current sensing techniques
  • Digital control of analog systems
  • PCB layout for power electronics
  • Mixed-signal design
  • Microcontroller firmware integration

Final Thoughts

This project was designed as much for learning as it was for practicality. The goal was not simply to build another adjustable power supply, but to understand how a modern digitally controlled laboratory PSU is designed from the component level upward.

From the switching converters and measurement circuitry to the display system and firmware-controlled regulation, every major subsystem was intentionally designed and integrated into a single platform. The result is a custom programmable bench power supply capable of delivering up to 30V and 5A while providing a user experience similar to that of commercial laboratory equipment. This is what my Schematics are: image This is how my assembled PCB is supposed to look like:image My PCB 2 Schematics: image My second PCB design:image My second PCB assembled Look:image How my Case and the finished product is supposed to look: image image image

BOM:

Bill of Materials (BOM)

Designator(s)ComponentQuantityDescriptionSource
U1ATmega328P1Main microcontrollerRobu.in
U2CH340G1USB-to-UART interfaceJLCPCB
U3MCP4725A0T-E/CH112-bit DAC for voltage controlRobu.in
U4INA2601Voltage, current, and power monitorJLCPCB
U5LM5116MHX1Synchronous buck controllerJLCPCB
U6LM51231QRGRRQ11Synchronous boost controllerJLCPCB
U11TPS54202DDCR1Auxiliary buck regulatorRobu.in
U8, U9, U10MAX7219M/TR3LED display driversJLCPCB
Q1, Q2, Q5, Q6SI7850DP4Power MOSFETsRobu.in
Q3, Q4BSC014N06NS2Boost stage power MOSFETsJLCPCB
L110 µH Inductor1Power filtering inductorJLCPCB
L28.2 µH Inductor1Main buck converter inductorJLCPCB
L36 µH Inductor1Boost converter inductorJLCPCB
D1, D2SMBJ33A2TVS surge protection diodesJLCPCB
D3CMPD20031Signal diodeJLCPCB
U72920L500/30GR1Resettable polyfuseJLCPCB
DC1DC-005-A2001DC barrel jack inputJLCPCB
J1USB Type-C Receptacle1USB connectivityJLCPCB
J2, J4, J52×6 Pin Header3Expansion/programming headersJLCPCB
J32-Pin Screw Terminal1PSU output connectorJLCPCB
J6, J71×3 Pin Header2Auxiliary headersJLCPCB
Y116 MHz Crystal1ATmega328P clock sourceJLCPCB
Y212 MHz Crystal1CH340G clock sourceJLCPCB
SW1, SW2EC11 Rotary Encoder2User input controlsJLCPCB
SW3RS601A-1020013BB1Power/control switchJLCPCB
LED1, LED2, LED3SR420561N3Seven-segment LED displaysJLCPCB
FB1Ferrite Bead1EMI suppressionJLCPCB
FID1, FID2, FID3Fiducials3PCB assembly alignment markersJLCPCB
All Capacitors (C1–C41)Mixed Values41Decoupling, filtering, compensation, and bulk storage capacitorsJLCPCB
All Resistors (R1–R31)Mixed Values31Feedback, sensing, compensation, pull-ups, and current measurementJLCPCB

Custom Components Procured Separately


Manufacturing Cost

ItemCost
PCB Fabrication$4.00
PCB Assembly (PCBA)$165.19
Shipping$18.54
Total JLCPCB Cost$187.73

External Component Cost

SourceCost
Robu.in Components$17.69
Amazon.in

Project Totals

CategoryQuantity
Integrated Circuits10
MOSFETs6
Diodes3
Inductors3
Crystals2
Connectors7
Displays3
Rotary Encoders2
Switches1
Capacitors41
Resistors31
Protection Devices3

Final Project Cost

Cost ComponentTotal
JLCPCB Manufacturing (PCB + PCBA + Shipping)$187.73
Robu.in Components$17.69
Amazon.in
Total Project Cost$210.02

Parts

14
QtyValueFootprintReferences
3Conn_02x06_Counter_ClockwiseConnector_PinHeader_2.54mm:PinHeader_2x06_P2.54mm_VerticalJ1, J2, J3
3MountingHoleMountingHole:MountingHole_3.2mm_M3_ISO7380H1, H3, H4
3SR420561Neasy2kcd:LED-SEG-TH_12P-L50.3-W19.0-P2.54-S15.24-BLLED1, LED2, LED3
2Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ4, J5
2EC11E15244B2easy2kcd:SW-TH_EC11XXXXXXXXSW1, SW2
1Conn_01x01_PinConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ6

Questions

How big is the Custom PSU 2 PCB?

It measures 85.4 × 91.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Custom PSU 2 use?

14 parts, built around the SR420561N and EC11E15244B2. 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 Custom PSU 2 KiCad files?

From the GodOfStrategy/Custom-PSU repository on GitHub, at the commit this page was made from: the board is Production/PCB 2/Custom_PSU_2.kicad_pcb and its schematic Production/PCB 2/Custom_PSU_2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Custom PSU 2 design in my own project?

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

Similar boards

  • 2 layers150 × 45 mmSmu front, the printed circuit board in 3D

    Smu front

    PaulBichl/vibepcb-smu

    VibePCB example: 4-quadrant SMU (+-30 V / +-1 A, USB-C PD, Ethernet) designed with an LLM

    22 parts1
  • 6 layers317.6 × 131.8 mm75he, the printed circuit board in 3D

    75he

    Fefe-Nayz/kbhe-monorepo

    TIPE 2026 - 75% Hall effect keyboard ISO layout - Monorepo: Firmware, PCB, 3D Models, PC Software

    669 parts11
  • 2 layers61.3 × 45.2 mmHashHacker Hashboard Tester, the printed circuit board in 3D

    HashHacker Hashboard Tester

    DCentralTech/HashHacker-Multi-Hashboard-Tester

    HashHacker Multi-Hashboard Tester from D-Central, the ultimate open-source tool for repairing and testing your ASIC miners.

    30 parts9GPL-3.0
  • 2 layers82 × 58 mmNoirShot, the printed circuit board in 3D

    NoirShot

    rabinniroula/NoirShot

    instant thermal camera

    50 parts2
  • 2 layers93 × 87 mmGLCD, the printed circuit board in 3D

    GLCD

    gralco/GLCD

    Improved 128x64 GLCD Full Graphic Smart Controller with ESD Protection

    28 parts1
  • 4 layers90 × 60 mmBench psu, the printed circuit board in 3D

    Bench psu

    PaulBichl/VibePCB-bench-psu

    USB-C PD (20 V) powered bench supply, 2 independent channels, 1.6-16.6 V / 3 A each, constant voltage / constant current, designed with VibePCB.

    206 parts1
  • 2 layers100 × 112.5 mmMacropad, the printed circuit board in 3D

    Macropad

    gustavorubim/field13-macropad

    FIELD 13: DIY programmable macropad with joystick, rotary encoder, editable CAD, electronics, firmware, and visual build documentation.

    45 parts
  • 2 layers80 × 45 mmMacropad, the printed circuit board in 3D

    Macropad

    Gutsplatt/Gutsplatt-Super-Selector

    A super cool DIY custom macropad with OLED display!

    11 parts