Check out Microchip application note AN236 : "X-10R Home Automation = Using the PIC16F877A" I have a copy if you can't find it on the microchip website. Cheers, Dave Challis -----Original Message----- From: pic microcontroller discussion list = [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Ishaan Dalal Sent: Thursday, January 15, 2004 7:07 PM To: PICLIST@MITVMA.MIT.EDU Subject: [EE:] interfacing to and powering logic from AC power line/X10 I'm trying to build a PIC based X10 transmitter, at this point basically = an IR make/break based "toggler" for a light. I know that there are modules that will do the AC interfacing for you, and all you do is send serial = data, but I'd like to build this. It's maddeningly impossible to find a schematic, and from what I = understand, you use a transformer tuned with a proper cap that rejects 60 Hz on the = AC end, and connect your 120 KHz oscillator to one end of the other side of = the transformer. Does anybody know of a datasheet, etc., that provides a coherent = explanation of interfacing low-voltage DC to the power line? Something X10 specific would be icing on the cake. Also, what would be the best option to power the IR LED/receiver and PIC *without* using a transformer from AC? Cheers, Ishaan -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body