Re: Newbee: Optocoupler to BasicStamp



Sam wrote:
Thanks for your reply.
I did not realize some of the things that you said regarding the triac.

Is there a optocoupler that I can use that will just act like a switch based on the LED status (preferably available at RS). What would the interface circuit look like.

You need a coupler that has a photo transistor as the output device. Adding a 10k pull up resistor to that output should give you a nice digital output. Radio Shack is a very limited source of such things, but you should be looking for something like 4N25:
http://www.fairchildsemi.com/ds/4N/4N25.pdf
.



Loading