I currently have infrared sensors that connect by USB to a laptop. Each time the IR beam is interrupted, the sensor sends a single byte of data to the computer.
I need to buy IR sensors that will send a continuous stream of bytes and that will change the bytes from 0 to 1 (or vice-versa) when the beam is interrupted. I want to capture the duration of the interruption. Does anyone know of a product within Digi-key’s inventory that can meet this requirement?
The other details are that the sensor must detect short-range (e.g. 5 cm to 10 cm) and be able to detect an object breaking the IR beam for 500 milliseconds. Ideally, the sensor would be programmable.
Thank you for your consideration.