A PIC controls a triac connected across the supply by monitoring power line zero-crossing. The PIC controls dimming by delaying the time the triac fires, which trims the peaks off of the AC waveform.
The Family Handyman on MSN3mon
How to Install a Dimmer Switch
I t doesn’t take long to replace an ordinary light switch with a full-feature dimmer light switch. But while you’re at it, to make your home ...