The KISS Method.
Hi,
There's the other way ...
use what's inside the Pic ... the clamp diodes !!! just use a series resistor to limit input current to 10-20µA ( 500µA max continuous ... )
see AN521c for direct mains ( ! ) to Pic interfacing. That's OFFICIAL !
and if you want ... add 2x 1N4148 diodes parallelled to the clamping diodes !!!
no need regulators or complex circuitry !!!
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks