Microcontroller › 8051 › reading 230v AC › Hi Satish,I’ve done such a
May 10, 2013 at 7:31 am #9698
I’ve done such a thing and it was working perfectly. You might know how to make a simple rectifier using step down transformer. The circuit is the same, step down the 230V into 5V using a step down transformer, rectify using bridge rectifier, eliminate the ripples using a 100uF capacitor.
Now give the output directly to the ADC and read the value. You might need some caliberation which you can implement in your code.
Be careful as you are dealing with mains supply!!