Re: Newbee: Optocoupler to BasicStamp



Thanks again for your help.

The Fairchild site has 12 optocouplers. I dont really understand the specs.
Anyone specifically I should be looking for?



> Lets start a couple steps back form here. What are you trying to
> accomplish with the optocoupler? Is the Basic Stamp powered from the
> same source as that driving the LED in the coupler?

The Stamp will NOT be powered by the same source as the LED.
The Stamp needs to detect when several computers are turned on or off (each
computer will be on its own input pin).





"John Popelish" <jpopelish@xxxxxxxx> wrote in message
news:5-adndRTMunZjtneRVn-rQ@xxxxxxxxxxxxxxx
> 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


.