logoalt Hacker News

smallmancontrovyesterday at 7:07 PM5 repliesview on HN

Speaking of which, does anyone know a line of PD Decoy modules to convert barrel jacks to USB-C without the atrocious behavior of "oh, the charger doesn't have 12V, here's 9V have fun!" that the early ones all did? Ideally I'd like a little red light to come on or something, but I'd settle for not silently browning out the device.


Replies

tredre3today at 12:11 AM

The vflex has a status LED that shows negotiation status. When it fails it will still output 5V, though, they don't seem to have any mosfet to switch the output off entirely.

https://werewolf.us/

I don't think I've ever seen one of those type of converters output anything but 5V upon negotiation failure. Which one did you use that did that? Their logic being "pick the closest available voltage" I presume?

ianburrellyesterday at 10:31 PM

Those are called trigger boards. I haven't found one with buck converter to make 12V. 12V is in earlier PD standard so lots of chargers support it but you have to check each charger and lots don't say. The guaranteed solution is PPS chargers that have variable voltage.

miladyincontrolyesterday at 7:17 PM

iirc theres ones that do. However I dont recall there being any clean fix to the amperage constraint issues. Especially when a lot of usb-c chargers will vary output as they heat up with usage.

Which is kinda part the issue, usb-c charging bricks, they aren't usb-c power supplies, there is no expectation of sustained output capacity. Thankfully at least some the multiport ones have renegotiation more or less solved cleanly rather than what is essentially rebooting the PD controller.

show 3 replies
s0rceyesterday at 8:03 PM

There are things like this: https://www.adafruit.com/product/5501 haven't used it, trying to find one for my mini pc, mostly so I can use a usb c power bank as a tiny DC ups.

show 1 reply
dotancohenyesterday at 7:50 PM

Actually, that was 5v, not 9!