Re: I think this will work??

Do you actually need the opto-isolation? The switch would drive an NPN transistor into saturation when it closed, or a small N-MOSfet. You'd need a pull-up resistor to +5V to get the voltage swing you want, but it's much the same circuit with less to go wrong.

Reply to
Bill Sloman
Loading thread data ...

Mostly nice people, and shrimp+grits.

Mosquitoes as big as chickens.

Reply to
john larkin

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.