Hello
I want an led to turn on when the capacitors are full (at 5v) could I use a relay for this and could you recommend me the circuit
Many Thanks
Cristian
analogRead() on an Arduino, with any necessary a voltage divider resistor network, could be used to detect/measure the voltage. You could then switch a digital pin if required, say to light a led.
Nothing to do with an Arduino.
Use a comparator. An LM339 has four comparators, more than enough but should be cheap and available. You will need a 5 V reference of some sort.
Okay
Thank you
Note that things can get a little tricky at the "limits", or whenever you need an "exact" analog value.
If you have a 5V supply it will be more foolproof if you look for something like more-than 4.9 or 4.99V, etc.
And in reality the 5V power supply isn't perfect either and a comparator often uses a voltage divider (2 resistors) for the reference so you'd be checking for 99% of the voltage, or something like that.
Also, "in theory" it takes an infinite amount of time for a capacitor to fully-charge.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.