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

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig