Dear All
I´m a Newbie too, but I did a test with ACS712 with UNO, follow examples and the result was accurate, but when i tried using a NANO for the first time a had a bad experience:
When connect the output pin of ACS712 to any analog Pin the 2.5V offset goes to 0.
Any pin selected in program, but if not selected the offset value stay ok.
Ex. analogPin = A0;
When connect output Pin to that input pin (A0) the offset (2.5V) goes to zero!
but connect from A1 to A7 (not selected on program) the offset value is ok.
So, the results are crazy values!
Have you any idea about this problem?
(Sorry about my poor english)
Thanks in advance.
One thing I've noticed about Nano is there is no voltage on the AREF pin unless there is a analogRead() statement in the sketch, only then do you see the selected AREF (Vcc or internal) on the pin.
Don't know if that is related to your issue but the Allegro datasheet claims output of 3mA into minimum R of 4k7, do you have anything else connected to the analog in pin?
Jose50:
Dear All
I´m a Newbie too, but I did a test with ACS712 with UNO, follow examples and the result was accurate, but when i tried using a NANO for the first time a had a bad experience:
When connect the output pin of ACS712 to any analog Pin the 2.5V offset goes to 0.
Any pin selected in program, but if not selected the offset value stay ok.
Ex. analogPin = A0;
When connect output Pin to that input pin (A0) the offset (2.5V) goes to zero!
but connect from A1 to A7 (not selected on program) the offset value is ok.
So, the results are crazy values!
Have you any idea about this problem?
(Sorry about my poor english)
Thanks in advance.
Jose you got accurate readings ?? mine is changing a bit . can you please see my code or share ur code ?
(ps. i have shared my code in the forum in this section ) Htekin - yes try out with an amp
Hi
Thanks for your answer.
No, I don't have anything else connected to that analog input.
I try again ACS712 30A on UNO and works, so there's nothing wrong with it (I suppose).
I'm starting to believe that the problem is inside NANO. Perheps static issue?
I'm loosing confidence on NANO. It was a bad start on it.
Jose