There are some app notes on the Microchip website under home automation o= n dimmers. It covers most of the topics you have noted. http://www.microchip.com/download/appnote/rdesigns/40171a.pdf Thys -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@mitvma.mit.edu]On Behalf Of Andre Miller Sent: 06 February 2004 12:03 To: PICLIST@mitvma.mit.edu Subject: Re: [PIC:] Sample circuits for 240V Lamp dimmer? Hi, I'm mostly looking for how to actually design the triac load driving circ= uit and how to get the zero-crossing input to the PIC. That, and component selection. On the software side I'm sure I can work out the timing, but my knowledge= of analog electronics is not very good :-) _____ Andr=E9 Miller - --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.564 / Virus Database: 356 - Release Date: 19/01/2004 -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads