←back to thread

49 points zdw | 1 comments | | HN request time: 0.294s | source
Show context
avidiax ◴[] No.46239925[source]
I looked at adding USB-PD as a replacement for a 12V barrel-plug power supply in a recent project.

One big issue that came up (and killed the idea) is that if you are not battery powered, then putting a USB-C power input on your device that will only work if you can negotiate 12V+ with adequate current will just cause confusion. In my case, I don't think I could even boot to an error message on 5V.

Phones and the like don't have this issue, since they are still usable (charging slowly) on 5V, but can make use of higher voltages and currents to charge faster.

So I guess my question for the implementer is how booting & negotiating on 5V and then accepting higher voltage is likely to work in practice.

replies(6): >>46239969 #>>46240120 #>>46240152 #>>46240454 #>>46240526 #>>46243234 #
bri3d ◴[] No.46240454[source]
If you absolutely need it, use a separate uC / “trigger” chip for PD negotiation.
replies(1): >>46240518 #
aix1 ◴[] No.46240518[source]
I think the GP's point is that this requires a 12V-capable USB power supply.

I have converted pretty much everything I have to USB-C, from toothbrushes to old laptops, and am very happy with the results. My solution is to only own high-quality power supplies with good support for PD. Having done this, the question "Why isn't this thing charging?" doesn't really arise.

replies(1): >>46240572 #
amluto ◴[] No.46240572[source]
The common device that this doesn’t work well for is the Raspberry Pi 5. For full power mode it needs an unusual 5V/5A power supply, and that is quite unusual.
replies(1): >>46241860 #
1. Dylan16807 ◴[] No.46241860[source]
Specifically it needs a supply that offers 5V/5A as a basic profile outside of PPS (programmable power supply), because the Pi doesn't support PPS negotiations. That is what's so rare, much more than the actual ability to do 5V/5A.