hello please i need a help from anyone.my problem is that i need to detect with a pic the zero crossing in yellow not in red.how can i do that??
thank you in advance
Also with a comparator circuit, you can add in some hysteresis so that you get good clean edges/pulse output on what could be slowly changing input signal. This helps to avoid missing or multiple counting the zero cross events.
ok thank you guys .the problem is that i need to do all that using hardware not software my micro need to read only if it crossed the zero or not and i cannot use interrupt in that case.
anyone has an idea?