I have a moc3042 hooked up like figure 14
I realize its just an opto-isolator and in order to do phase control I need to know when the zero cross is so I trigger at the same time always. Problem is how???
I would prefer to use a 555timer if possible but I do have a ATTiny on hand with an ADC I could hook up with a pot if I needed to.
How do I sync with the AC wave to do proper phase control??