Hello everyone, I have ACS712 Current Sensor I am trying to measure current of 220V AC. But it keeps giving the same value even though on load. I have both tried with multimeter and ardunio.
What am I doing wrong?
Edit: According to 'jremington''s answer, its because its a sine wave and multimeter will show average which is zero. I want to update my question;
How can i measure 220V AC with ACS712 +-5A and Arduino? Is it possible?
The current sensor senses the instantaneous current, which is a sine wave. A multimeter will show the average, which is zero current (or sensor output equal to half the sensor power supply voltage).
jremington:
The current sensor senses the instantaneous current, which is a sine wave. A multimeter will show the average, which is zero current (or sensor output equal to half the sensor power supply voltage).
I'm not good at this stuff but I've read that before. Is it possible to use ACS712 with Arduino to measure 220V AC?
You seem to have an undeclared variable sampleInterval.
AC current will be surging backwards and forwards in the wire, changing direction at a very frequent rate, depending on which half of Japan you live in.
To determine the effective value of the current, you have to measure it many times.
Yes these ACS sensors are find for AC, but you need to perform analogReads frequently
to see the changing values of current.
Which sensor are you using, that one comes in 5A, 20A and 30A versions I believe.
First test it with a DC current in either direction (easy to see with just a multimeter),
that will prove its working fine. For high current DC try a car indicator bulb powered
by a car battery or car battery charger (unless you have a bench power supply handy!)