I would suggest adding a reverse connected 1N4148 across the LED in U1 To cope with the leakage in the 1N4004.Here's the circuit with two optos.
The Out_AC (yellow trace) is only high for the AC input, and the Out_AC_DC (green trace) is high for both AC and DC inputs.
i was responding to Crutschow post about using BJTs as a current source on the AC side of the optocoupler.Which BJT and what voltage? The transistor in the coupler only needs to handle the 5V for the micro.
|Thread starter||Similar threads||Forum||Replies||Date|
|A||Detect an Acitve Low signal||Digital Design||21|
|N||Can I Using LM567 to detect a FSK Signal||General Electronics Chat||13|
|How To Detect Start and End of Signal?||Analog & Mixed-Signal Design||14|
|Telescopes detect 'biggest explosion since Big Bang'||General Science, Physics & Math||1|
|D||How to program a sensor to detect fluids of two different densities.||Homework Help||13|
by Luke James
by Hana Othman
by Gary Elinoff
by Robert Keim