A clean and simple DIY lab power supply designed for easy assembly, affordable parts, and hands-on electronics learning.
- Adjustable voltage and current 30VDC 3A max;
- Power supply takes in 220VAC, steps down the voltage and rectifies;
- Efficiently regulates voltage and/or limits current;
- The smart system with a MCU regulates heat and prevents overheating;
- OLED Display and visual and acoustic warnings.
-
Analyze the schematic and PCB design and determine if these fit your needs;
-
Gather all of the needed parts from the BOM;
-
A housing and heatsink aren't listed in the BOM so make sure you have one;
-
The setup is pretty straight forward tho the wiring of the LEDs, potentiometers and the OLED display may be difficult;
-
More to come later...
The transformator was found in my dads garage so certain characteristics are unknown, I do reccomend finding a quality transformator from some older power supplies you can find in your local E-Waste center.
This setup is pretty common and similar schematics for a linear power supply can be found on the internet, it is pretty simple and begginer friendly so I reccomend it to anyone who wants to get into electronics!
Now lets get to the core, the 220VAC which is standard for my region gets stepped down through the transformator to 24V or 33.84V PtP and then is rectified and goes through a 4700 uF polarized capacitor which filters noise, in parallel with the capacitor is an LED which indicates if there is current or no, later the connections are pretty self-explanatory and follow the schematic of the IC which is in my case the TL431.
I have added some of my spices to this by measuring the current and voltage as well as the temperature with the help of Arduino NANO, which is a small but more then enough for my use case, I also connected a relay which is driven by a BC547 NPN transistor, the relay is NO and is only closed while the temperature of the VRM and the exit transistor is under a certain threshold to protect the components.
I have also utilized the LM731 VRM so I can provide stable 5V to the Arduino, the setup for that one is also pretty straight forward following the data sheet.
Big shoutout to my father, without him, having patience and will to work is getting hard as I easily get annoyed but he gets me to enjoy this, also he's the main finder of other open source projects which I later work on and modify
Link to github repository of the inspo.
| Reference | Part | Qty | Description |
|---|---|---|---|
| A1 | Arduino Nano | 1 | Main microcontroler |
| BZ1 | Buzzer | 1 | Buzzer |
| C1-C2 | Cap | 1 | Capacitor |
| C3 | Cap | 1 | Capacitor |
| C4 | Cap | 1 | Capacitor |
| D1 | Gretz | 1 | Rectifier |
| D2-D4 | LED | 1 | LED |
| D3 | Diode | 1 | Diode |
| F1 | Fuse | 1 | Fuse |
| J1 | Mains conn | 1 | Connector |
| J2-J4 | Output Conn | 1 | Connector |
| K1 | Relay | 1 | Relay for temp regulation |
| Q1 | OUTTR | 1 | Out transistor |
| Q2 | OUTTR | 1 | Out transistor |
| Q3 | OUTTR | 1 | Out transistor |
| Q4 | DRIVETR | 1 | Relay driving transistor |
| R1-R6 | Resistor | 1 | Resistor |
| R7 | Resistor | 1 | Resistor |
| RV1-2 | Potenitometer | 2 | Potentiometer |
| RV3 | Potentiometer | 1 | Trimmer potentiometer |
| RV4 | Potentiometer | 1 | Trimmer potentiometer |
| SW1 | Main Switch | 1 | Main power switch |
| T1 | Transformator | 1 | 220V/24V |
| U1 | Shunt regulator | 1 | TL431LP |
| U2 | VRM 5v | 1 | LM317 |
| U3 | DS18B20 | 1 | Temperature sensor |




