- Sun Mar 07, 2010 12:24 am
#95546
So I am working a little project that needs to detect current. Well it is even more simple then that. It just needs to detect if a circuit (110V) is live or not. So I though hey that ACS712 chip looks like it will do the trick and ordered one of the break out boards from here.
So I have it breadboarded up in the following manner.
IP+ - 110V out
IP- - 110V in
VCC - 5V rail
- .1uF to GND
VOUT - A0 on Arduino
Filter - 1nF jumped to GND
GND - GND
Now it does work. I can see a change in the reading over serial.
My big question is there a way to reduce the amount of jitter.
With no current passing I get an analog reading of between 510 and 515ish. With a current running through it I get readings in the realm of 512 +- 100.
What I really need is a way to have the effect of a pull up resistor on a digital pin is my guess.
Thanks for any ideas you may have.
Mike
So I have it breadboarded up in the following manner.
IP+ - 110V out
IP- - 110V in
VCC - 5V rail
- .1uF to GND
VOUT - A0 on Arduino
Filter - 1nF jumped to GND
GND - GND
Now it does work. I can see a change in the reading over serial.
My big question is there a way to reduce the amount of jitter.
With no current passing I get an analog reading of between 510 and 515ish. With a current running through it I get readings in the realm of 512 +- 100.
What I really need is a way to have the effect of a pull up resistor on a digital pin is my guess.
Thanks for any ideas you may have.
Mike