earckens
Member
Hi, I have not good luck trying to get a module with a ACS712 Hall current sensor to work. The test setup consists of the module connected to a PSU, a ATmega 328 microcontroller and a load where I can send anything between 0A and 3A through the load.
I wrote a little program measuring 5 consecutive times with appropriate delay (50ms) and the average is displayed as well as the difference between min and max readings of those 5 (noise).
The result is that the noise goes from 10 to 50mA at 0A load, 50mA to 80mA at 0.5A load and 250mA to 300mA at 2A load.
The fact that there is so much noise worries me; there are no magnetic fields in the vicinity, the filter cap is changed to a 100nF ceramic cap (maybe not a good materials choice?); but when I revert to a non-modified module I get about the same results.
Any ideas?
I wrote a little program measuring 5 consecutive times with appropriate delay (50ms) and the average is displayed as well as the difference between min and max readings of those 5 (noise).
The result is that the noise goes from 10 to 50mA at 0A load, 50mA to 80mA at 0.5A load and 250mA to 300mA at 2A load.
The fact that there is so much noise worries me; there are no magnetic fields in the vicinity, the filter cap is changed to a 100nF ceramic cap (maybe not a good materials choice?); but when I revert to a non-modified module I get about the same results.
Any ideas?