AC meter clamp in sleep mode

Thread Starter

perv

Joined Mar 10, 2022
1
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
 
Top