Hi all.
I would like to make a little circuit for use with a photo-interrupter, so that I can see the state of the output via bi-colour led or two leds, and also have a 0-5v output for use with a microcontroller.
So the circuit will have 3 wires, Ground, +5v, 0-5v output, photo-interrupter, one or two leds, plus what ever extra parts are needed.
The photo-interrupter has four pins.
1: A
2: C
----
3: B.
4: C.
Does anyone have a circuit layout that would be suitable for this?
Regards, Mark.
I would like to make a little circuit for use with a photo-interrupter, so that I can see the state of the output via bi-colour led or two leds, and also have a 0-5v output for use with a microcontroller.
So the circuit will have 3 wires, Ground, +5v, 0-5v output, photo-interrupter, one or two leds, plus what ever extra parts are needed.
The photo-interrupter has four pins.
1: A
2: C
----
3: B.
4: C.
Does anyone have a circuit layout that would be suitable for this?
Regards, Mark.
Last edited: