I am using an ACS712ELCTR-30A-T breakout board to measure the current on a 230V AC appliance. I have connected the hot wire of the AC connection to the two measurement terminals of the breakout board. The breakout board looks like this: chip breakout board

I have added a 5V DC source to VCC and ground and am using a voltmeter to measure the output. I started with the appliance turned off and it more or less correctly showed 2.53V on the OUT pin. This might seem strange as it is not properly centered at 2.5V, however I am using a voltage converter from 12V to 5V that is set up by hand and it supplying 5.06V is very likely. I then turned the appliance to its maximum power. I am not really sure what its consumption is, but based on the components used it should be between 0.5 and 1A. I would expect some kind of change in the voltage of OUT against ground. However it still shows 2.53V. The 30A version of that chip has a resolution of 66mV per ampere, therefore it should jump to at least 2.56V (2.53 + 0.5 * 0.066) on the voltmeter. The voltmeter (0.01V resolution) not changing its value means the current of the appliance would be less than 1 / 6.6 = 0.15A which is impossible.

An obvious issue would be that this chip cannot measure AC current, however the datasheet indicates the opposite.

The Allegro™ ACS712 provides economical and precise solutions for AC or DC current sensing

  • 1
    \$\begingroup\$ The output is probably also AC, superimposed on that VCC/2 DC offset. Are you measuring it correctly? (I'd use a 'scope). \$\endgroup\$ Nov 11, 2020 at 17:48
  • \$\begingroup\$ My 5V source is DC and according to the schematic in the datasheet I was expecting it to be DC, but I can measure it as an AC voltage just to verify \$\endgroup\$ Nov 11, 2020 at 17:52
  • \$\begingroup\$ No, the output is DC, if it were AC my voltmeter in DC mode would not show 2.53V \$\endgroup\$ Nov 11, 2020 at 17:53
  • 1
    \$\begingroup\$ Yes, it would. Research how a AC voltage with a DC offset works and how to measure it correctly. (set your meter to AC to measure the AC portion). \$\endgroup\$ Nov 11, 2020 at 18:00
  • 1
    \$\begingroup\$ As I read it, the output will also contain AC. \$\endgroup\$
    – JRE
    Nov 11, 2020 at 18:13

1 Answer 1


The datasheet contains a graph for "Output voltage versus Sensed Current".

Output voltage Vs sensed current

It shows the output voltage as VCC/2 (2.5V in this case) when no current is sensed. It also shows the output voltage will increase when sensing positive current flow and decrease when sensing negative current flow.

Your 240V mains current will alternate direction 50/60 times per second. The output voltage of this IC will follow this, going above 2.5V and below 2.5V at the same rate.

The measured current is AC, and it is superimposed on the fixed 2.5V DC level. This is done to ease interfacing with other devices, such as A/D converters. Most of these devices cannot handle negative voltages. By adding a DC offset the voltage never goes negative, you can then easily remove the DC offset in software.

Your multimeter set to DC voltage measurement will ignore the AC portion of the output and only read the 2.5V DC offset. When set to AC voltage measurement your meter should only display the AC portion of the output and ignore the 2.5V offset.

A oscilloscope would help in clearly displaying what is going on.

  • \$\begingroup\$ Its starting to get clearer now, the outputvoltage is oscillating around the 2.5V middle that I was expecting. I was previously connecting it to an ADC but it gave wrong results which is why I took at the multimeter in the first place. Measuring the Vout as AC shows a permanent value of 4.8V independent of any load (all turned off, all turned on). \$\endgroup\$ Nov 11, 2020 at 18:28
  • \$\begingroup\$ @YanickSalzmann This is probably due to your meter. Read this for an explanation: electronics.stackexchange.com/questions/101418/… \$\endgroup\$ Nov 11, 2020 at 18:56
  • \$\begingroup\$ Definitely, it cannot even measure AC currents on its own. I didnt realize there are so many different multimeters. I probably wont get around figuring out whats going on with my ADC before looking at the current sensing again :) \$\endgroup\$ Nov 11, 2020 at 18:59
  • \$\begingroup\$ Well, I give up... Connected the ADC to the arduino and sampling as fast as possible it does oscillate around some arbitrary value. Turning on and off the applicance does not cause a change in voltage that would be noticeable within a 1mV range. I hardly think that more than 200 LEDs consume less than 6 Milliamperes... \$\endgroup\$ Nov 11, 2020 at 21:05
  • \$\begingroup\$ @YanickSalzmann Test step by step. Try connecting a 1K potentiometer to your ADC input first. One side to 5V, other side to ground and the wiper to the ADC input. See if you can correctly measure the pot first. This will isolate your ADC/Arduino/software from the rest of the problem. \$\endgroup\$ Nov 11, 2020 at 21:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.