Working of Project
1. Step down voltage is obtained on the l.v side of the transformer which is fit to utilize across normal power rating resistors.
2. Then we receive specific voltage value across the 4.7k resistor.
3. Arduino utilizes this voltage as input from pin A0 in the form of analog values between 0 to 1023. 0 is considered as 0 volt and 1023 being 5v.
4. Arduino then changes this analog value into corresponding mains a.c. voltage by a formula.
n=(311/1023)*m volts or n=(m*.304177)