Quick and Dirty USB Type C Power Supply

I rarely work at my electronic workbench, even though it's complete with displays, power supplies, oscilloscopes, and soldering stations. I prefer to work on firmware and testing on my main

a month ago

Latest Post Quick and Dirty USB Type C Power Supply by Evan Li public

I rarely work at my electronic workbench, even though it's complete with displays, power supplies, oscilloscopes, and soldering stations. I prefer to work on firmware and testing on my main desktop. Having a handy source of power, other than the 5 volts that USB provides, is very handy. I didn't want to spend too much time building something complicated and decided to go with parts I could get off Amazon.

The casing and other 3d printed parts took about a day to model and tweak, but are pretty basic. All the other parts are available via Amazon

The USB PD module would provide 20V at up to 5A to power the whole thing. The 24V fans are hooked up directly to the 20V source so that the fans will run when power is connected just to make sure things stay cool inside. The 5A circuit breaker provides some safety incase of a short. The latching switch allows the voltage regulators to be turned on and off. I'm exceeding the rating of the switch, but for this application it shouldn't be too much of an issue. The LED indicator and the voltmeters are powered by the 12V output from one of the LM2596 regulators.

The DSP5005 and LM2596 regulator are all powered by 20V. For the DSP5005, this limits the maximum output voltage to around 18V. The individual LM2596 modules are adjusted to output 3.3V, 5V, and 12V. The final outputs for each regulator are connected to a banana plug connector.

The maximum input current is limited to 5A by the USB PD standard, so 18 AWG wire is more than sufficient. The only soldering required for this project is to attach the output on the USB PD module and the input/outputs on the LM2596 modules.

Mounting the USB PD module is a pain. As the module has no mounting holes, the 3D printing mount uses the edges of the PCB for alignment and clamping force to keep it in place. A single M3x6mm pan head screw is used to keep the two halves together.

The ATC circuit breaker holder is just a couple of right angle quick connectors held together. Two M3x12mm pan head screws are used to keep the connectors in place.

Two more M3x6mm pan head screws secure the USB PD module mount to the faceplate.

The three LM2596 are mounted to the regulator tray with six M3x6mm pan head screws. The tray has some hole designed for cable ties to keep the input wires organized.

The three voltmeters are secured to the face plate with six M3x6mm pan head screws.  

Extra wires were removed the latching switches harness, as space was going to tight inside the case. The switch is mounted with the hardware that was included. The banana plugs are screwed in place with the connector spade orientation retained by features on the face plate.

The DSP5005 pushes into the opening on the face plate and should snap in to place.

The banana plug connector are paired with the corresponding voltmeter. Output is above and ground is below. The ATC circuit breaker fits perfectly in the open slot.

To keep the project quick and easy to troubleshoot, I went with lever-nuts instead of soldered or crimped connections. The lever-nuts are larger but some features on the face plate keeps things organized.

The regulator tray is mounted to the face plate after all the wire lengths were checked and adjusted. I ended up only using two  M3x6mm pan head screws with the mounting holes on the regulator tray. The input cables on the regulator tray made putting screws there too difficult. With all the wiring connected, the face plate is jam-packed.

The first power up test worked perfectly. The refresh rate of the LED displays on the voltmeters is a bit low to capture correctly. On center left is 5V, center right is 3.3V, and lower left is 12V.

The 40mm fans are mounted the back casing with eight M4x12mm flat head screws. This is not the greatest mounting solution. There isn't much material on the case for the chamfer. I also ended up using six M3x35mm pan head screws to secure the face plate. I didn't have the correct M3x35mm flat head screws on hand.

The fully assembled unit is quite dense. The use of the pan head instead of flat head screws acts as little feet giving the fans some room to breathe, but also scratches up my desk if I move it around.

I mostly use it in the vertical orientation with banana plug to male jumper wires. It works quite well for powering breadboards that needs the whole range of voltages.

The back isn't optimal and some redesign work is probably needed to fix the minor issues. At the moment though, it's doing its job well enough.

Having this little guy that can be powered by any 100W USB PD wall adapter or compatible power bank is quite convenient.  The existing portable power supplies on the market are probably better in every way, but for a quick and dirty 2 day project, this exceeded expectations. I've released the STLs for the 3D printed parts on Thingiverse.

Evan Li

Published a month ago