
Schaltung labor netzteil display
YannickKoenig/DIY-Laboratory-Power-Supply
A simple, microcontroller-based PWM buck converter power supply, designed to provide precise voltage control and current measurement.

A simple, microcontroller-based PWM buck converter power supply, designed to provide precise voltage control and current measurement.
Schaltung is an open-source printed circuit board by YannickKoenig, from the YannickKoenig/DIY-Laboratory-Power-Supply repository on GitHub, published under the MIT licence. It is a 2-layer board of 89 × 50 mm with 23 parts on 12 nets, routed with 58 tracks and 2 vias.
It is built around the IRLZ44N and SS34. Its parts include 9 connectors, 4 resistors, 2 capacitors, 1 IC and 1 diode. It belongs with the power boards and the RP2040 boards of this library.

A simple, microcontroller-based PWM buck converter power supply, designed to provide precise voltage control and current measurement. The output voltage is easily adjustable using a rotary encoder for accurate and intuitive input. This project is compact, affordable, and perfect for DIY laboratory power supply applications.
| Item | Description | Quantity | Price | Total |
|---|---|---|---|---|
| KY-040 | Rotary Encoder | 1 | 0,89 € | 0,89 € |
| IRLZ44N | MOSFET-Transistor (TO-220) | 1 | 0,22 € | 0,22 € |
| Fuse (2A) | 5x20mm Glass Fuse | 1 | 0,03 € | 0,03 € |
| SS34 | Schottky Diode | 1 | 0,02 € | 0,02 € |
| TM1637 | 4-digit 7-segment LED Display | 2 | 1,90 € | 3,80 € |
| DC Plug | - | 1 | 0,24 € | 0,24 € |
| Power Switch | - | 1 | 0,12 € | 0,12 € |
| TC4427 | MOSFET Driver (SOP-8) | 1 | 0,29 € | 0,29 € |
| Buck Converter PCB | Custom PCB for Buck Converter | 1 | 0,08 € | 0,08 € |
| Frontend PCB (optional) | Custom PCB for Input & Displays | 1 | 0,80 € | 0,80 € |
| Raspberry Pi Pico | Microcontroller | 1 | 2,00 € | 2,00 € |
| Electrolytic Capacitor | 470µF | 1 | 0,30 € | 0,30 € |
| Ceramic Capacitor | 1µF | 1 | 0,10 € | 0,10 € |
| Inductor | CD75, 47UH | 1 | 0,10 € | 0,10 € |
| SMD Resistor | Values 51k and 10k (1206) | 2 | 0,01 € | 0,02 € |
| SMD Resistor | Value 0.1 Ohm (2512) | 1 | 0,01 € | 0,01 € |
Total: 9,01 €
.uf2 file provided in the releases section.Connect the Buck Converter PCB and the Frontend PCB (if used) using the following connections:
GND → GND
I+ → I_in
U+ → U_in
Connect the output of the Buck Converter:
V_out+ → Positive output terminal (e.g., banana plug).
V_out- → Negative output terminal (e.g., banana plug).
You can use banana plugs, terminal blocks, or any other suitable connectors for your output.
If using the Frontend PCB, connect both TM1637 displays and the rotary encoder to the appropriate headers.
Make sure to add a fuse (e.g., 2A) to protect your circuit from potential damage.
To power the Raspberry Pi Pico, you can either:
Power it via USB, or
Use a separate buck converter module (e.g., LM2596S) connected in parallel with the DC input.
To adjust the output voltage:
You can fine-tune the PI controller parameters (K_P and K_I) experimentally in the firmware to improve voltage regulation stability and response. See RegulatorManager.hpp for details.
Contributions are welcome! Feel free to fork this project, submit pull requests, or open issues for improvements and bug fixes.
This project uses the following third-party software:
Raspberry Pi Pico SDK
Official SDK for Raspberry Pi Pico microcontroller.
License: BSD 3-Clause
https://github.com/raspberrypi/pico-sdk
TM1637_lib
Library for controlling TM1637 7-segment displays.
License: MIT
https://github.com/gavinlyonsrepo/displaylib_LED_PICO
This project is open-source and available under the MIT License.


| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | GND | MountingHole:MountingHole_2.2mm_M2_Pad | J8, J10 |
| 1 | |||
| 1 | 0.1 Ohm | Resistor_SMD:R_2512_6332Metric | R1 |
| 1 | 1000µF | Capacitor_THT:CP_Radial_D10.0mm_P5.00mm | C1 |
| 1 | 100k | Resistor_SMD:R_1206_3216Metric | R4_Bleed1 |
| 1 | 10k | Resistor_SMD:R_1206_3216Metric | R3 |
| 1 | 1µF | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mm | C2 |
| 1 | 51k | Resistor_SMD:R_1206_3216Metric | R2 |
| 1 | I + | MountingHole:MountingHole_2.2mm_M2_Pad | J6 |
| 1 | IRLZ44N | Package_TO_SOT_THT:TO-220-3_Vertical | Q1 |
| 1 | L | Inductor_SMD:L_Sunlord_MWSA1003S | L1 |
| 1 | MountingHole_2.2mm_M2 | MountingHole:MountingHole_2.2mm_M2 | REF1 |
| 1 | PWM + | MountingHole:MountingHole_2.2mm_M2_Pad | J5 |
| 1 | SS34 | Diode_SMD:D_SMA | D1 |
| 1 | TC4427xOA | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | U + | MountingHole:MountingHole_2.2mm_M2_Pad | J7 |
| 1 | V_OUT + | MountingHole:MountingHole_2.2mm_M2_Pad | J3 |
| 1 | V_OUT - | MountingHole:MountingHole_2.2mm_M2_Pad | J4 |
| 1 | V_in + | MountingHole:MountingHole_2.2mm_M2_Pad | J1 |
| 1 | V_in - | MountingHole:MountingHole_2.2mm_M2_Pad | J2 |
The 21 most common of 23 parts.

YannickKoenig/DIY-Laboratory-Power-Supply
A simple, microcontroller-based PWM buck converter power supply, designed to provide precise voltage control and current measurement.



souptik-samanta/dryer
A custom PCB and self-centering spool holder for drying 3D printer filament. The PCB controls the fans, monitors temperature, and provides connections for PTC heaters.

AleksaHeler/Programmable-DC-Load
Flexible programmable DC constant current/power load using Arduin Nano & custom PCB


IPrometheusI/buck-boost
Cargador solar buck-boost no inversor con control CC-CV en ESP32, simulación MATLAB/Simulink y diseño PCB en KiCad.

Lnotti/5-Channel-High-Current-Li-po-Discharger
A PCB designed to discharge 6S LiHV battery packs to storage voltage (3.8V per cell / 22.8V total) across up to 5 independent channels simultaneously.

It measures 89 × 50 mm and has 2 copper layers, 1.6 mm thick.
23 parts, built around the IRLZ44N 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.
From the YannickKoenig/DIY-Laboratory-Power-Supply repository on GitHub, at the commit this page was made from: the board is hardware/electrical/buck-converter/KiCAD/schaltung.kicad_pcb and its schematic hardware/electrical/buck-converter/KiCAD/schaltung.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
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).