Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
if you want to measure AC amps in do the same with a resistor but retify it before applying it to a pic, i beleive an opamp circuit can provide voltage dropless rectification. I have to say your requests are not entirely clear
If you want to safely measure the current and voltage in the 220VAC circuit then you will need two transformers, a voltage transformer across the line and a current transformer in series with the load. The outputs of these can be rectified to give a DC representation of both.