I need to measure KWh of the mains, connecting something like a sensor to the mains and reading its value into analog. I already know to measure KWh from a KWh meter but I need to make my own.
closed as off-topic by fuenfundachtzig, Nick Gammon♦, LoganBlades, TheDoctor, Ricardo Aug 21 '15 at 12:22
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question does not appear to be about Arduino, within the scope defined in the help center." – fuenfundachtzig, Nick Gammon, LoganBlades, TheDoctor, Ricardo
If i understand your question correctly, what you want to do is measure the current consumed from the mains by whatever load is connected to it (Fan, AC, computer etc).
Please understand that you are playing with the mains and unless you take the required precautions, you can get seriously injured