Skip to content

z0b1/psu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adjustable Voltage & Current Lab Power Supply

A clean and simple DIY lab power supply designed for easy assembly, affordable parts, and hands-on electronics learning.

Preview

PCB preview Schematic preview Routing preview Housing preview

Lapse link

Demo

View PCB on KiCanvas - link to the PCB on KiCanvas

SCH in KiCanvas - link to the SCH on KiCanvas

Features

  • 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.

DIY How to

  1. Analyze the schematic and PCB design and determine if these fit your needs;

  2. Gather all of the needed parts from the BOM;

  3. A housing and heatsink aren't listed in the BOM so make sure you have one;

  4. The setup is pretty straight forward tho the wiring of the LEDs, potentiometers and the OLED display may be difficult;

  5. More to come later...

How it works

Disclaimer

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.

General overview

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!

Tech details

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.

My contribution

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.

Stable 5V for the MCU

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.

Credits

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

The idea for the Arduino voltage and current display

Link to github repository of the inspo.

Bill Of Materials


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

About

A power supply unit for my DIY lab

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages