Home Creators Posts Import Register Favorites Logout

Content

This module communicates with modern USB PD (Power Delivery) power supplies and sends a request for the voltage chosen on the switches.

Whether you actually get that voltage depends on the power supply.

The voltage options are 5V, 9V, 12V, 15V, and 20V.

The main advantage of this module is that the current can be fairly high as it is supplied directly from the power supply and not boosted up from 5V.

I've included a switch setting guide in the video's description.

https://youtu.be/Ez126tpAPjQ

Files

Cheap USB-C programmable PD voltage module for 5,9,12,15,20V

This module works by communicating with suitably capable PD USB-C chargers to trigger various output voltage levels. The five levels are 5V, 9V, 12V, 15V and 20V. But not all chargers will supply all the voltages, even if they claim they do. It's based on a dedicated chip with three digital inputs for selecting the voltage as a binary value. Other options can allow setting the same voltages with a resistor. Here's how the DIP switches are set for this specific module:- 5V - All switches OFF. 9V - All switches ON. 12V - SW1-ON / SW2-ON / SW3-OFF 15V - SW1-ON / SW2-OFF / SW3-OFF 20V - SW1-ON / SW2-OFF / SW3-ON Check the output voltage after changing the switches. It's probably better to change the switch positions while the unit is unpowered. The modern USB-C PD (Power Delivery) chargers should state which voltages they can supply, but some of the cheap clones may not be truthful about the available voltages because they don't expect people like us to actually test them. This unit claims to be able to handle power up to 100W, but that would be 5A at 20V and I'm not sure I trust USB cables and connectors for much above 2A. Here's a link to the item on AliExpress (not a sponsor). This is an affiliate link, but that will not affect the price you pay. https://s.click.aliexpress.com/e/_c43LDUEH Cost should be around £1 each reducing with multiples. If you enjoy my videos and would like to support me with a dollar or two for coffee, cookies and gadgets to take apart, you can do so by supporting me on Patreon. I release videos without adverts for critique and feedback on Patreon as soon as they have been made. I also release Patreon-only backstage videos when I'm working on shows. https://www.patreon.com/bigclive Alternatively, for a single coffee contribution you can use PayPal:- https://www.paypal.com/paypalme/bigclive #ElectronicsCreators

Comments

JRSC01

it's a wonder why real branded chargers arent made in clear plastic shells, so you can see the, hopefully real deal, and bad circuitry (and shenanigans) in the fake ones a lot easier...

Rob Googe

I think you answered your own question there. 🙂

Dustin S Cochran

3 switches give 8 possible combinations. I wonder what the other 3 do, if anything. +---------+-----+-----+-----+--------+ | Voltage | SW1 | SW2 | SW3 | Status | +---------+-----+-----+-----+--------+ | 5 V | OFF | OFF | OFF | USED | +---------+-----+-----+-----+--------+ | 15 V | ON | OFF | OFF | USED | +---------+-----+-----+-----+--------+ | — | OFF | ON | OFF | UNUSED | +---------+-----+-----+-----+--------+ | 12 V | ON | ON | OFF | USED | +---------+-----+-----+-----+--------+ | — | OFF | OFF | ON | UNUSED | +---------+-----+-----+-----+--------+ | 20 V | ON | OFF | ON | USED | +---------+-----+-----+-----+--------+ | — | OFF | ON | ON | UNUSED | +---------+-----+-----+-----+--------+ | 9 V | ON | ON | ON | USED | +---------+-----+-----+-----+--------+

Big Clive

If they did that the fakes would just add fake covers that made transformers look bigger. Like this fake one had a big chunk of steel to make it heavier.

Big Clive

I should have checked that, but have just tested it. In your chart on/off/off is the 15V setting. All the other undocumented settings make the unit revert to 5V. I'll update the description.

Big Clive

Ah. In that case I'd class this unit as a base PD2 device.

ola garstad

The PD standards say that a dumb cable can carry a maximum of 3A. The power supply should not supply more then 3A as standard. So 20V x 3A = 60 watts. That's why such cables are often called 60W cables. Cables for up to 5A contain a chip that the power supply communicates with to tell the supply that it is capable of handling more then 3A. So 20V x 5A = 100 watts. Newer standards use up to 48 volts for even more power.

Dave Frederick AKA @amorphuc

Ha! Too cool! Thanks Big Clive. I just actually got one of these from Ali today. I just thought it would be so versatile and cool for projects. Interesting note that not all power adapters can fulfill the tasks.

Electronics.Rocks

The Vbus connection is to check voltage as part of handshake is to confirm the correct voltage has arrived. If a voltage out of scope of the charger as requested the chip gets a error message saying this is max. Then up to the IC if it sends a shutdown message back or pick the maximum available.

Dustin S Cochran

fixed in the chart. Grok dropped that one off for some odd reason

Tom Beers

I love these little boards, great for retro fitting stuff to USB C, I've desoldered the switches, bodged the connection, and removed the screw terminals in the past to lower the profile in a pinch.

Big Clive

Putting in solid links is probably a good idea anyway, as it's more reliable than switches for a fixed voltage.

Alex Taylor

I always find it odd when you count dip switches in binary and they don’t make any sense 0 is 5v 1 is 5v 2 is 5v 3 is 5v 4 is 15v 5 is 20v 6 is 12v 7 is 9v They probably don’t know they are counting in binary I guess.

Alex Taylor

Back at the beginning of POE (power over Ethernet) I thought houses might get a dedicated DC system using it. But it was not really for home use. Now that PD 3.1 does 48v I can see all home lighting going PD and there could be usbc PD wall Recepticals. Possibly with a central 48v power supply and low voltage lines running through the house. It could make wiring a house much cheaper. 12 awg wires to receptacles that use 10w, and ceiling fixtures that use 40w, is a bit of a waste.

Big Clive

I'd like to see future house wiring using a whole-house DC bus system for lighting and electronic loads. Preferably with a easily plug-swappable power factor corrected power supply.

Kai-Steffen Hielscher

The datasheet claims that it is compatible with PD3.0, but it does not support all the voltages. There is also a newer version of this chip, the CH224A, which supports PD3.2 and more (but not really arbitrary voltages via PPS, this is only possible with the CH224Q in DFN10 via I²C). The CH224A is pin-compatible to the CH224K (ESSOP10), but requires modified resistor values: https://www.wch-ic.com/downloads/CH224DS1.PDF.html I just designed a PCB with the CH221K, a neat little SOT-23-6 device.

Alex Taylor

That is my hope too. The individual ones in each receptacle are eventually going to just create a bunch of low voltage plugs that don’t work. My question is how will we get lower voltages from a system like that. I can think of 3 ways off the top of my head. DC to DC converter inside a receptacle that supports PD3.1 . Not my first choice. DC to DC adapter that supports PD 3.1 Individual cables that can convert to the right voltage. I think this would confuse non electronics people. And I would think 5amp wiring would be plenty. And do multiple runs where you need more. I don’t have intuition on the voltage drop for that though.