Ac current measurement using acs712 hall effect current sensor and arduino.
Ac current measurement using arduino and acs712.
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.
You just need make change in code but the rest of the concept.
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.
Eliminating the special signal conditioning circuit board instead we re going to use the runningsta.
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.
Please be careful if you re using the power line.
This is a simplified approach to my prior instructable regarding measuring ac current with the acs712 current sensor linksimplifications include.
Dc current measurement using acs712 current sensor and arduino schematic and proteus simulation for dc current measurement is given below.
Acs712 current sensor can measure both direct and alternating current.