> From: Andre Miller[SMTP:andre.miller@BLUERIVER.CO.ZA] > Sent: Friday, February 06, 2004 4:39 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: [PIC:] Sample circuits for 240V Lamp dimmer? > Hi, > Does anyone know of any sample circuits to build a lamp dimmer controlled by > a PIC? I actually have no idea where to start. I did a search on the piclist > and found how to dim a LED using PWM. > I want to dim a 240V AC, 200 Watt incandescant lamp. It would be nice if I > could drive more than one dimmer from a PIC16F628. > Andre' Miller See Circuit Cellar #144, July 2002, page 21: "AVR MCU-Based AC Phase Controller". The circuit shown uses an Atmel AT90S2313, but the idea can be ported to a PIC. The circuit is for 120 volt line. To adapt to 240 volts, the triac and optocoupler (MOC3009) will have to be upgraded for voltage. The software is available for download from the Circuit Cellar web site; it could be used as a guide for writing your own PIC code. John Power -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.