EmbDev.net

Forum: µC & Digital Electronics AC meter clamp in sleep mode


von Ziad N. (Company: perv) (perv)


Rate this post
useful
not useful
Hello,

I am using a PIC18LF26K40 to read the output voltage of the AC meter 
clamp.
One of the AC meter clamp output pin is connected to an analog pin of 
the PIC
The other AC meter clamp output pin is connected to Vcc using a 470 Kohm 
resistor and to nd using a 470 Kohm resistor and a capacitor in 
parallel.

What is the configuration of the analog pin of the PIC that I need to 
have during the sleep mode in order to reduce energy consumption : 
output or input ? value = low or high ? WPU active ?

Does I need to add a resistor before the analog input pin of the PIC ?

Thanks

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.