- Mon Nov 27, 2017 9:56 am
#197058
I want to use the ACS712 Low Current Sensor as a proximity sensor. When I connect the ACS712 (SEN-08883, not 8882) to the Arduino, I get a lot of drift on the sensor output. Eventually it settles down and I can get 5.0 V with a refrigerator magnet next to the ACS712 and 0.0 V with the magnet far away - but it still drifts occasionally.
By "drift", I mean that the output lazily rises or falls without any action on my part.
Not having done a lot of work with Hall-effect sensors, I need some advice on how to stop the drift. I am running the sensor completely open-loop; pins IP+ and IP- are not connected to anything. Do I perhaps need to put a load resistor between them? And if so, do I need something big, like a 1 Mohm, or something smaller (and how small)? I assume that a bare copper jumper is not a good idea.
The discussions at https://forum.sparkfun.com/viewtopic.ph ... 12#p189911 and https://forum.sparkfun.com/viewtopic.ph ... ct#p117005 may be relevant to my question, but they don't quite give the information I'm seeking.
Regards
Ray
By "drift", I mean that the output lazily rises or falls without any action on my part.
Not having done a lot of work with Hall-effect sensors, I need some advice on how to stop the drift. I am running the sensor completely open-loop; pins IP+ and IP- are not connected to anything. Do I perhaps need to put a load resistor between them? And if so, do I need something big, like a 1 Mohm, or something smaller (and how small)? I assume that a bare copper jumper is not a good idea.
The discussions at https://forum.sparkfun.com/viewtopic.ph ... 12#p189911 and https://forum.sparkfun.com/viewtopic.ph ... ct#p117005 may be relevant to my question, but they don't quite give the information I'm seeking.
Regards
Ray