Build a bench power supply from a laptop charger
A bench power supply gives you any voltage you need and limits the current so mistakes do not burn parts. An old laptop charger already does the hard part safely. Add a step-down module with a display and you can set the volts and the amps with two knobs.
New to electronics? The words used on this page
- Fuse
- A small part that melts and cuts the power if too much current flows. It protects the wire from overheating.
- Multimeter
- A hand-held meter that measures voltage. Use it to check before you connect anything.
- Step-down (buck) board
- A small board that lowers a voltage, for example 12 V down to 5 V.
ACharger, step-down module and output posts
For powering and testing your projects from about 1.25 V up to just under the charger's voltage. Soldering · 1 to 2 hours
You will need
- Old laptop charger, 19 V or similar65 W or more is bestView on Amazon
- Step-down module with display, CC and CV5 A type; shows volts and ampsView on Amazon
- DC socket to fit the charger's plugOften 5.5 × 2.5 mm; check yoursView on Amazon
- Binding posts, red and blackThe output terminalsView on Amazon
- Inline fuse holder and blade fusesFuse size from the calculatorView on Amazon
- Project boxWith room for the module and vent holesView on Amazon
- MultimeterTo check voltages before you connect anythingView on Amazon
Tools
Soldering iron, drill, wire stripper, multimeter.
Step by step
- 1
Plug the charger into the wall and measure inside its plug: about 19 V, + on the centre. Then unplug it.
Check: if centre is −, swap the two wires in step 2.
- 2
Solder the DC socket: centre pin through the fuse to the module's IN+, outer contact to IN−.
- 3
Solder the module's OUT+ to the red post and OUT− to the black post.
- 4
Plug in. Turn the voltage knob to the voltage you want. Then turn the current knob right down, join the two posts with a wire, and turn it up to the limit you want.
Check: the display shows volts and amps as you turn.
- 5
Mount it all in the box with the display and posts on the front.
Check: label the posts + and −.
Every connection, one by one
Tick each one as you make it. When every box is ticked, the wiring is complete.
| Done | From | To | Wire |
|---|---|---|---|
| DC socket centre pin | Fuse, then module IN+ | Red | |
| DC socket outer contact | Module IN− | Black | |
| Module OUT+ | Red binding post | Red | |
| Module OUT− | Black binding post | Black |
As an Amazon Associate I earn from qualifying purchases. Links open Amazon search results.
What can your charger deliver?
The voltage range and the current at the voltage you want.
How this is calculated
- Method
- Charger power = volts × amps. Highest output = charger voltage − 1.5 V. Most current at your voltage = charger power × 90% ÷ output voltage, limited to the module's 5 A.
- Assumptions
- A step-down module needs about 1.5 V of headroom and is about 90% efficient. Lowest output about 1.25 V. Run the module below its rating if it has no heatsink.
- Sources
- XL4015 and LM2596 datasheets.
Stay safe
- Use the laptop charger as it is. Do not open it: the inside is at mains voltage.
- Set the current limit low before you connect a new circuit. It is what saves your parts when something is wired wrong.
- Put the module in a box with vent holes; it gets warm at high current.
- Do not charge lithium batteries with it unless you know how to set a charging voltage and current exactly.
- Use a TP4056 board with protection (the version with the DW01 chip and two outputs, OUT+ and OUT−), or a proper BMS for packs.
- Buy cells from a known brand and seller. Fake cells often hold a fraction of the label and can lack protection.
- Do not leave lithium cells charging unattended, and charge them on a non-flammable surface.
- Never use a swollen, dented or leaking cell. Recycle it.
- Put a fuse close to the battery's + terminal.
- While soldering or spot-welding, keep the cell ends covered so nothing can short them.
Questions people ask
Which module should I buy?
A step-down (buck) module with a display and two settings: constant voltage (CV) and constant current (CC). A 5 A type suits a laptop charger well.
What voltage range will I get?
From about 1.25 V up to about 1.5 V below the charger's voltage, so roughly 1.25 to 17.5 V from a 19 V charger. For more, use a buck-boost module.
What is the current limit for?
It caps how much current can flow. With it set to 0.1 A, a wiring mistake makes a part warm instead of making it smoke.
Some Dell and HP chargers do not switch on. Why?
They wait for an ID signal from the laptop on the centre pin. Most still give power on the main contacts; if yours does not, use a different charger.
Written and checked by Moataz FOUAD, telecom and electronics engineer. About this site.