Skip to content
Discussion options

You must be logged in to vote

The ACS712 cannot detect voltage, just current. And the quiescent output voltage is Vcc/2, which will be modulated by the pattern of the current, like with +/- x mV, 50Hz. With a few mA on a 30A range sensor, you will always read Vcc/2 and some noise.
I have my doubts whether you can connect the power bank and the Power supply in parallel. Better use two diodes like 1N5817 to decouple them. And then you can feed the output of the power supply through a voltage divider directly into a GPIO pin, which can be checked for low or high. Low means: no power from the power supply, high means power supply on.

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Tomply87
Comment options

Answer selected by Tomply87
Comment options

You must be logged in to vote
1 reply
@Tomply87
Comment options

Comment options

You must be logged in to vote
1 reply
@rkompass
Comment options

Comment options

You must be logged in to vote
1 reply
@rkompass
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants