A photo interrupter module consists of an Infrared (IR) LED and a IR Receiver. When the path between the 2 is blocked, the module will send a HIGH signal to the output pin.
*This module is part of the KY series of sensors which means that the prints on the board might be mislabelled, do read our notes in the description to understand how to wire it properly. For more information about the problems with the KY series, visit https://makersupplies.sg/kyseries
Operating Voltage: 3.3V to 5V
Note: Pin 1 should be connected to Ground, Pin 2 to 5V and Pin 3 is the data output pin.
Hookup Guide: https://arduinomodules.info/ky-010-photo-interrupter-module/