Picture of Easy variable voltage power supply
Sin título-1.jpg
Sin título-2.jpg

Sometimes, to supply the necessary voltage in a project, i needed to buy a lot of batteries, or i had to look for a proper power supply for hours and it is not necesary, beacause now i have that awsome variable voltage power supply that can supply from 1,25 to 29 volts and 500mA, but if you decide to make your own, it would be able to deliver 3A.

It is easy to make and only cost me 4$.

Step 1: Materials

Picture of Materials
-A 30-32v power adapter. (Mine is salvaged from an old printer)
-A DC-DC buck converter. (1$ on ebay)
-A LED panel voltmeter. (2$ on ebay)
-An audio spring terminal. (0.40$)
-A potentometer, the same value as the one of the converter, mine is 10K (0.60$)
1-40 of 94Next »
kaostias made it!5 days ago

I made it, great idea. My Power suply gives only 12V, and my potentiometer has a 4-32 range, so mine only has 4-12 range (Enough for my purposes). Also my power suply had no space, so i put the project in an old transformer, I'll work on the project boxing when i'm done with the led project i'm gonna manage.


Hint: Do not test Intensity without a circuit or you'll burn the device. I've just finished it and i have to buy another DC-DC converter

DanielS542 months ago

Can I use this?
You could send the link of what you use you


Yeah, you can. If you see on my comment above, i used a 12V one, but you just have to get the cable and test with a polimeter which cables have 32V. (in my case black (generally negative) and green were 5V and another black (doesn't matter which one) and green had 5V. I removed the 5v one and worked with the most powerfull one.

RC325 months ago

How did you decided to use a 10k potentiometer?

pinomelean (author)  RC325 months ago

Use the same value as the one that came in the board.

Actually the pot is just a simple resistor divider, 1k or 50k generally work well so.

eletrofss2 months ago

@tru-dhillion yeah i know what kind of vape.....
Obs: you do'nt need a pwm controller, the PS already has one.
I build electronic vapes all the time, it isn't really hard if you know a bit.

Tru-dhillon3 months ago
Anyway of connecting a PWM? I was considering building this as a vape station.
MechEngineerMike made it!4 months ago

Hey, I was inspired by this project enough to make my own little version. I used a slightly more expensive voltage regulator than yours, but mine had a screen built in. I designed a 3D printable case for it too because I didnt want to try cracking open the adapter case. You can check it out here if you're interested:



Nice project, this looks like something that would be really handy to have. Your graphic on step 3 looks good too, what program did you use to draw it?

pinomelean (author)  MechEngineerMike5 months ago
I used photoshop, but any drawing program would do.
Could I use other terminal? Like a Weidmuller?
jongscx5 months ago

I love that you're reusing the plastic casing of the PSU... Brilliant!

RC325 months ago


Can you tell me how does it work, what we are actually doing. Please provide a detailed explanation.

Thank for help.

pinomelean (author)  RC325 months ago

The little board is a switching converter, you can look for the theory behind it. What you have to know is that you can put a voltage on the input, and the output will go from almost 0v to the imput voltage minus 2v, just by turning the potentiometer.

RC326 months ago


Thanks for the inscrutable, it was a very nice instructable.

I have a question, my printer adapter has an input of 200-240V but in the you uploaded it read as 100-240 V; will my printer adapter work?

Another question, can you give the link from where you bought the components, because when I searched it on ebay it showing product costing more than you specified.

pinomelean (author)  RC326 months ago

If you live in a country that has an outlet voltage of between 200 and 240V



MMelfe1 year ago

very good Instructable, but i have one question, i would like to use my old laptop charger but in output signal have 4.97A, can i use that DC-DC buck converter which his max A is 3A without problems?

luzzyf MMelfe7 months ago

Yes, no problem. Your circuit will only draw current (amperes/A) as needed from your 4.97A PSU. In fact, having more current capacity than required by the circuit is ideal as long as your load does not draw more current than the safe limit of ~2.5 A (the 3A limit of the buck converter's LM2596 IC should never be reached - especially not without a heat sink).

yoyolo10 months ago
Where could I solder an amp meter to this board?
yoyolo10 months ago
Any way to get an on off switch on there?
dkime10 months ago
what if i wanted ac output? specifically 9-12v at 1500-2000ma?
pinomelean (author)  dkime10 months ago
This circuit only works for dc, for ac you'll have to find something with a variable transformer, there i can't help you.
jymsie12 months ago

Hello everyone,

does anyone know how he does thet graphical drawing?

could you use a 20V power adapter, and get smaller hardware?

mmohtesib1 year ago

I made it ...after that I do not know what went wrong but my buck converter get burned :(

cooco1 year ago

I need assistance. I want to build this, but i require it to have 4 separate voltage settings. like.... a multi-variable voltage power supply. So each and every out has its own voltage. Do i just put more dc-dc buck converters onto the power supply?

pinomelean (author)  cooco1 year ago

Yes, you can simply add a converter for each voltage rail you need, i don't know how well they will perform in that configuration, but it's worth it to give it a try.

Awesome. Im hoping to build something similar to an e-hookah with this setup. Not sure if the ampere will be enough, but for the price, its definately worth a try. Also thank you for the quick answer!

mlocke made it!1 year ago

I used different packaging but the componants and circuit is exactly the same as your 'ible. Thanks for posting.


Really nice Instructable, also very portable which can be useful.

I've been thinking about making one of these but maybe with the power supply built in just so I can carry it around and use it as a power supply. Probably just chuck a 9V battery in there; get a bigger enclosure if needs be.

gkal made it!1 year ago

Excellent instructable. Case was hard to close but finally did it. Put the connectors to the side. Thank you!!!

akumar1592 years ago
Hey this looks great and want to make one, but quick question i have a old laptop charger and on the details its got

INPUT 100-240V ~ 1.4A 50/60 HZ
OUTPUT : 19V-- 4.74A

Im a bit of a noob at all of this but what output voltage would i be able to get or is this determined by the D-DC buck and the potentiometer?
This is odd. My computer adapter has the exact same specs. When I use this adapter with my "pinomelean" power supply cranked up to max, I get 100% of the voltage (19.2V) at the output. There is zero drop in voltage. (That's a good thing.) I checked with 3 different multimeter. I am using a multi-turn pot, instead of a single turn, but I don't think that matters.
pinomelean (author)  akumar1592 years ago
You can get 17.6v as maximun.
Is that because the buck converter is 92% efficient?
pinomelean (author)  iq2011 year ago
Buck converters are always working, so they output a maximun of Vin-1.5v
dbyrd261 year ago
The terminals are your positive and negative outputs I believe.
pinomelean (author)  dbyrd261 year ago
1-40 of 94Next »