Use ITR9608 photoelectric switch, with a built-in infrared emitting tube and a receiving tube.
With signal LED: a signal indicator. (when there are objects standing in the middle of the groove ITR9608 photoelectric switches, the signal LED is off)
Operating voltage: DC 5.0V
Power supply needs: 5V
Interface type: Digital
Pin Definition: 1-Signal 2-VCC 3-GND
Fast response and High sensitivity
Simple drive circuit
Stable and long life
ELECFREAKS OCTOPUS FOTO INTERRUPTOR