Light beam interruption sensor
This infrared light beam interruption sensor is great for object detection and object counting, for example on a packaging line. It has an infrared LED transmitter and a separate receiver. Both can be powered by 5V from the I/O Expander DC output. The range is 1″ to 20″. The output signal from the receiver is connected to one input on the I/O Expander block. Its 5V digital output can be counted by configuring an I/O Expander input as digital with edge counting.