Subject: [EE]: Does anyone have a circuit to power a PIC from 240v AC with only a few components. > I have seen circuit on the web to do this though it uses a current regulator > that I can not source nor find the specs for. Does anyone have a circuit > that might be a bit more relevant. This is irregularly repeating question - it will be in the archives. Also, the recent (and also frequently repeated) "how do I drive a LED from the mains" thread provides general pointers. Note that by far the safest method is (probably) to use a small mains transformer. This will be of minimal size for your application and very small units are available. This gives you mains isolation and safety whereas most of the other solutions leave your circuit potentially at mains voltage. Unless you are ABSOLUTELY certain that the circuit will always be isolated and that ALL parts of it are always treated as being at mains voltage then you should not use the unisolated solutions (unless the life of the user is unimportant to you :-( ). Russell McMahon -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body