ADGAN
Full Member level 5
Hi! I tried to build an energy meter using MCP3901 IC but failed to do due to some unidentified error in the source code. I had to use a resistor divider for voltage measurements and a 200 micro ohm shunt for current measurements. Since I had failed to do this I thought of going to an alternative which measures the energy consumption of a conventional energy meter using an IR sensor. I was wandering whether I could use the A/D converter of the PIC for this task and placing zener diodes for protection. I wanted to know whether it is possible and whether some one has done this before? I would really appreciate if you could give a source code too. I have less than 7 days to finish the project. Pls help.