Hi. Im back to the circuit i started a while ago that uses PWM. Unfortunately the link in the other thread doesnt seem to work now. I have a few questions.
Do i need 2 interrupt pins? 1 to detect a zero crossing and 1 for the serial input?
1 circuit im making is for DC so it wont need the zero crossing pin but what about the serial input? Im sure it would take way too long using serin2 and a timeout.
On the AC circuit should the zero crossing be put through an optoisolator? Will a simple resistor be fine to lower the 9-18V input?
Bookmarks