Projects / USB-C laptop charger as a bench supply

USB-C laptop charger as a bench supply

Intermediate2 hGuided buildReviewed

Build it step by step

0 of 7 done
  1. USBBANANA1.28 A

    Read the charger's label

    Volts and amps it supports.

  2. Set the trigger board

    Choose 20 V or 12 V.

  3. USB1.28 A

    Check its output

    With a multimeter.

  4. XL4015

    Connect the XL4015

    Input from the trigger board.

  5. USB1.29 A

    Set the output voltage

    No load connected.

  6. USB1.29 A

    Set the current limit

    Short briefly through a meter.

  7. USBBANANAABS1.29 A

    Fit sockets and a box

    Add vents.

In short

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

Parts list

Tick what you already own. It saves to My Garage, so “Build with what I have” knows.

Wiring

FromToWhy
USB-C chargerPD trigger board USB-C inputPower source
PD trigger board output plus and minusXL4015 IN+ and IN-Chosen voltage, such as 20 V
XL4015 OUT+ and OUT-Red and black banana socketsBench output
XL4015 voltage trimmerSet before connecting a loadOutput voltage
XL4015 current trimmerSet with a short and a meterCurrent limit
USB power meterBetween the charger and the trigger board, where its connectors allowShows 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.

CheckExpected
Trigger outputThe voltage you selected
XL4015 outputAdjustable down to a low voltage
Current limitVoltage drops when the limit is reached
After 10 minutes at 1 AWarm, 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 →

Ask Lark AI

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.