Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
It seems the easiest way to do this (subject to the delays already mentioned) is:
AC ---> resistor ----> bridge rectifier ----> opto input
opto output (with pull-up and SMALL capacitor to ground) ---> 74HC573
The 74HC573 needs negligible input current so the pull-up can be quite high in value and the capacitor quite small with only a >5V rating.
The bridge rectifier can be small signal diodes (1N4148 for example). The LED in the optocoupler will flash at twice AC frequency but the RC network at it's output will filter that back to near DC levels. I think for safety, I would use a resistor in each leg of the AC rather than relying on only one.
Brian.
we should Read 7 Contact 110V ac and can't use bridge (The circuit was crowded)
AC ---> resistor ----> reverse Counteractive Diode ----> opto input
opto output with pull-up (10k) and SMALL capacitor(????) to +5 ---> 74HC573
I want capacitance if Current required 74HC573 is 1ua and pull-up current is 510ua in (5.1v)
.011mSeconde (AC=50hz)/9,980K = i want 1.1uf capacitor
But I'm not sure Current required 74HC573 is 1ua For low level input ?
Here Say Yes : https://www.edaboard.com/threads/358098/#post1533290
Tomorrow I'll try the circuit in action
View attachment 131544