Arduino based digital supply

Help me by sharing this post


←PREVIOUS PART       NEXT TUTORIAL→

PART 5 - All connected

Ok, finally we connect everything to the PCB, the LCD, the potentiometer and we add a load at the output. Next, I uplaod the code that you will find below on the next part. I now test the output with a multimeter in order to see if I get the same values for voltage and current.


homemade power supply PCB





PART 6 - Code

Now we have everything connected. Before you add the Arduino, make sure you set the buck converter module to exactly 5V and glue the potentiometer so it will always stay at that voltge. Now go below and downlaod the code. Make sure you also downlaod and install the liquid cristal lybrary and install it into your Arduino IDE. Compile and upload. Read all comments in the code in order to know how to adjust the values.


Download full code:
Download i2c LCD library:







PART 7 - Case

I first wanted a 3D case which by the way, you could dwonlaod from below. But printing time was very long. So, I've decided to make one out of plywood just as in my past vintage look power supply project. I've made measurements and glue the parts with some white glue. Then I've cut out holes for the LCD, the main input, swithces and bannana connectors.


Download case 3D files:

Arduino power supply wood case vintage

You see those blue plastic knobs in the photo above? I wanted 10 turns potentiometers but I only had those small format potentiometers. So, I printed some suports and some plastic knobs and made my own big 10 turns potentiometers as you can see in the picture below. So, download from below the STL files for the knob and print them uisn PLA material and 20% infill.


Download knob STL files:

3D printed potentiometer knob

Finally, after I fit everything inside and glue the case, I use some dark varnish and paint the case. Now it has a better and more vintage look. Try and buy the yellow screen because if you ahev the blue display, it won't look too vintage. And that's it. You have all you need to build this on this tutorial. The case, the schematic, the code and part list. Consider supporting me on PATREON here on this link.


power supply wood plywood vintage case



←PREVIOUS PART       NEXT TUTORIAL→

Help me by sharing this post












yt_link
insta_link
fb_link
twitter_link

Digital supply
page 2/2



ADVERTISERS
PCBWAY PCB Manufacturing

PCBWAY Christas PCB Manufacturing

Advanced PCB Manufacturing
Advanced PCB Manufacturing

AFFILATE

Gearbest Tronxy X8 220 x 220 x 200mm Desktop DIY 3D Printer
Tronxy X8 220 x 220 x 200mm Desktop DIY 3D Printer only $139.99

Gearbest Hubsan H117S Zino GPS 5.8G 1KM FPV with 4K UHD Camera 3-Axis Gimbal RC Drone - RTF
Hubsan H117S Zino GPS 5.8G 1KM FPV with 4K UHD Camera 3-Axis Gimbal RC Drone - RTF only $394.99

Gearbest 37-in-1 Sensor Modules Kit
37-in-1 Sensor Modules Kit only $13.99