raschemmel:
@Runaway Pancake,
I understand your circuit , but not to nit pick but shouldn't the opto led be the diode next to the transistor with the reverse polarity diode being to the left of it instead of the other way around as you have drawn it ? (I am of course assuming that one of the two diodes , namely the one with the cathode connected pointing downward is the led opto)
Honest to Goodness... there is NO "reverse polarity diode"! The circuit alluded to at the bottom of the picture above (Reply #19) uses/depicts the H11AA1.
I provided a link to that datasheet in Reply #7, but here it is again
Please have a look at it.
The H11AA1 is a bi-directional input optically coupled
isolator consisting of two inverse parallel gallium arsenide
infrared LEDs coupled to a silicon NPN phototransistor in a
6 pin DIP package. The H11AA1 has a minimum CTR of
20 %, a CTR symmetry of 1:3 and is designed for
applications requiring detection or monitoring of AC signals.
re. reply #19 added