KPL gmail.com> writes: >=20 > By the way, can anybody direct me to a good optically isolated > zero-crossing detector circuit? > I know it must be really simple, but probably there is already a well > known circuit? Somehow google search did not help much. Why bother with detecting zero-crossing point at all? Most AC control syst= ems use triac to switch the load, just use a triac driver with zero-cross detec= tion built in, something like MOC3043 or similar. Search mouser.com for "zero crossing". Then, on the PIC side, it becomes regular PWM with long period.= =20 Sergey Dryga http://beaglerobotics.com =20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .