I'm currently developing my graduation thesis of a project for a power monitoring system and i chose to use the Allegro ACS712-30A for the AC current measurement. I'm using Proteus 8.6 to simulate the circuit.
I'm using an optocoupler to get the "zero-crossing" and measure the sensor output voltage at its peak. This is working fine. If I connect a 5V 60Hz alternator to the ADC Port, it gets me 1024 bits, as it should. So the problem is not about programming.
So here is the issue:
When I put a 220V 60Hz with a 7.33333 ohms resistance, it gives me a 30 amps current (according to previous ohm's law calculations and Proteus measurement).
Connecting that load to the 1/2 and 3/4 inputs of the ACS712, the IC outputs only 4.9V. It should output 5.0V
I would appreciate if someone could help.
ACS712 Datasheet: http://www.allegromicro.com/~/me...
Output measured with Osciloscope