ACS712(Current Sensor) Arduino Tutorial.
ACS712(Current Sensor) Arduino Tutorial. How to Measure AC Current with an Arduino and an ASC712 The cool thing about an ACS712 is that current is measured in two directions. What this means is that if we sample fast enough and long enough, we sure to find the peak in one direction and the peak in another direction.With both peaks known, it is a matter of knowing the shape of the waveform to calculate the current. In the case of line or mains power, we know that waveform to be a SINE wave. Knowing that allows us to apply a basic electronic formula. In most cases, an expression of AC current will be in a value known as RMS. In order to use the ACS712 current sensor to measure AC current, it is important to understand how to calculate an RMS current value from the device readings. The formula that is applied here is very basic and is right out of any basic electricity or electronics manual. Conversion for...