USB-C laptop charger as a bench supply
Build it step by step
0 of 7 doneRead the charger's label
Volts and amps it supports.
Set the trigger board
Choose 20 V or 12 V.
Check its output
With a multimeter.
Connect the XL4015
Input from the trigger board.
Set the output voltage
No load connected.
Set the current limit
Short briefly through a meter.
Fit sockets and a box
Add vents.
How do you build an USB-C laptop charger as a bench supply?
A USB-C power delivery trigger asks a laptop charger for 9, 12, 15 or 20 V, and a buck module trims it to any voltage you need. You need USB-C Breakout Board, XL4015 5 A buck converter module, USB power meter (voltage and current), Banana plug and socket 4 mm and ABS project box (100 × 60 × 25 mm). It takes 7 steps and about 120 minutes.
- Level
- Intermediate
- Time
- About 120 min
- Parts
- 5
Wiring
| From | To | Why |
|---|---|---|
| USB-C charger | PD trigger board USB-C input | Power source |
| PD trigger board output plus and minus | XL4015 IN+ and IN- | Chosen voltage, such as 20 V |
| XL4015 OUT+ and OUT- | Red and black banana sockets | Bench output |
| XL4015 voltage trimmer | Set before connecting a load | Output voltage |
| XL4015 current trimmer | Set with a short and a meter | Current limit |
| USB power meter | Between the charger and the trigger board, where its connectors allow | Shows what is drawn |
No code needed
A modern laptop charger starts at 5 V and gives more only if the device asks for it using the USB Power Delivery protocol. A trigger board does the asking: you select 9, 12, 15 or 20 V on it, and it makes the charger switch to that voltage. A plain USB-C breakout cannot do this, so make sure you buy a proper trigger board. The XL4015 buck converter then lowers that voltage to whatever you want, with a trimmer for the voltage and another for the current limit, so you have a small adjustable bench supply from a charger you already own. Set the output voltage with nothing connected, and check it with a multimeter before connecting anything delicate. Never ask for more than the charger can give: a 65 W charger gives about 3 A at 20 V, so keep the current limit below that. The module gets warm at high current, so put it in a box with vents and keep metal tools away from the bare terminals. This is a hobby supply, not isolated or certified for sensitive equipment.
Test checklist
What you should see at each check. If a reading is far off, stop and use the troubleshooting list.
| Check | Expected |
|---|---|
| Trigger output | The voltage you selected |
| XL4015 output | Adjustable down to a low voltage |
| Current limit | Voltage drops when the limit is reached |
| After 10 minutes at 1 A | Warm, not hot |
If it does not work
Trigger gives 5 V only
The charger or trigger board does not support that voltage.
Output unstable
Check the input wiring and use a bigger capacitor.
Module hot
Lower the current or improve ventilation.
Still stuck? Find the fault step by step with your multimeter →
Common questions
What parts do I need for the USB-C laptop charger as a bench supply?
USB-C Breakout Board, XL4015 5 A buck converter module, USB power meter (voltage and current), Banana plug and socket 4 mm and ABS project box (100 × 60 × 25 mm). USB-C Breakout Board: Use a PD trigger board with a voltage selector.
How long does the USB-C laptop charger as a bench supply take to build?
About 120 minutes for a intermediate maker, in 7 steps.
How do I know the USB-C laptop charger as a bench supply works?
Trigger output: The voltage you selected. XL4015 output: Adjustable down to a low voltage. Current limit: Voltage drops when the limit is reached.
Trigger gives 5 V only: what should I check?
The charger or trigger board does not support that voltage.
Output unstable: what should I check?
Check the input wiring and use a bigger capacitor.
Module hot: what should I check?
Lower the current or improve ventilation.
