2024-03-26 03:29 PM - last edited on 2024-03-27 12:37 AM by Peter BENSCH
Hello
I'm developing a self-powered device with "fast charge" feature, which assumes that USB VBUS pin can supply up to 20V. In this case, a simple voltage divider will not be able to provide an acceptable logic level within the range of 5–20 V. Additional voltage comparators, suppressors are not an option as I want to keep things simple.
What if calculate a simple resistor divider for 20V, pass the lowered voltage to ADC, measure it and set the state of a VBUS sensing pin programmatically?
Solved! Go to Solution.
2024-03-27 12:38 AM
Welcome @ymak, to the community!
Presumably you don't want to use a transistor (or two, since one only inverts and inverse operation of a single one is certainly out of the question) because that's all extra stuff, right?
From my point of view, there is actually nothing to be said against your approach.
Regards
/Peter
2024-03-27 12:38 AM
Welcome @ymak, to the community!
Presumably you don't want to use a transistor (or two, since one only inverts and inverse operation of a single one is certainly out of the question) because that's all extra stuff, right?
From my point of view, there is actually nothing to be said against your approach.
Regards
/Peter