Please be careful if you re using the power line.
Ac current measurement using arduino and acs712.
Acs712 current sensor can measure both direct and alternating current.
Simplified arduino ac current measurement using acs712 hall effect sensor.
You just need make change in code but the rest of the concept.
Hello and welcome to another tutorial this one is about measuring alternating current ac using acs712 i m using the 30amps version which is acs712 30a and our lovely arduino uno board i tried to add an oled screen but unfortunately ended up breaking it while shooting the tutorial so i switched to the lcd but below you ll find the.
Formula which i derived and explained in the tutorial is only for direct current measurement.
This is a simplified approach to my prior instructable regarding measuring ac current with the acs712 current sensor linksimplifications include.
In this tutorial you will learn how to design alternating current measurement system using acs712 hall effect current sensor and arduino uno r3 but you can apply same concept to arduino mega pic microcontroller 8051 microcontroller or avr microcontroller.
As shown on lcd first line is showing measured adc value and second line is showing voltage and third line is showing measured which is exactly the same current we measured with virtual ampere meter in proteus.
For this post tutorial project i am going to measure only dc current.
You can not use the below formula to measure alternating current with acs712 hall effect current sensor.