Hi, I am working on my design project to graduate college, and am making a lamp dimmer controller. I was wondering the best way to use a 5213 to accomplish this. I am thinking of hooking a zero detector circuit to an interrupt pin, which in turn will reset the PWM timers. The lamp dimmer drivers (opto-isolated triac drivers) will be hooked (indirectly) to the PWM output pins. I would like to be able to control about 8 loads, and am just wondering if there is a better way then to just use the PWM's. Also, can anybody point me in the direction of a zero crossing detector for 120Vac? Any help appreciated!