Quote Originally Posted by irving2008 View Post
Rick,

Circuit attached...

I'm guessing the opto will need to be powered so I have shown likely values (330R/4k7) for the resistors needed to energise the LED and bias the receiver. If you knew what type it was I could give you better values but these should do.

Thanks Irving, I went for the H22A1 type sensor if thats any help. I couldnt see Attachment there anywhere ...derrr lol