So, if I added this board to my device, I must be sure to only charge it with a power supply that supports PPS in the 12v range - is that correct?
Comment on USB PD for older device
cmnybo@discuss.tchncs.de 3 days ago12V support is optional in USB PD. If the power supply doesn’t support it, you will get 9V instead. PPS support is even less common.
SorryImLate@piefed.social 3 days ago
cmnybo@discuss.tchncs.de 3 days ago
There are plenty of chargers that support a fixed 12V output without needing PPS. Just check the specs before buying one.
If you use a CH224K USB PD trigger chip, it has a power good pin. It will go low if the power supply is providing the requested voltage. You can use it with a MOSFET and driver circuit to switch the output on only when it gets the correct voltage.
czardestructo@lemmy.world 1 day ago
That is not correct, you won’t get a random lower voltage. You are correct that thw PD supply needs to support the voltage but PD always starts with 5V for backwards comparability then digitally its negotiates the PD voltage it wants, if it asks for 12v and its not available it with just stay at 5V. It won’t spit out the closest value unless the device asks for it. Its a very strict and wonderful standard.
cmnybo@discuss.tchncs.de 1 day ago
It must be the PD trigger chip that does that then. With every PD trigger module I’ve used, I get a lower voltage if the requested one is not supported. It doesn’t stay at 5V unless that’s all the power supply supports.