Infrared Emitter and Receiver as a BEAM

Hello there, i’m new to this forum. Sorry for my bad english. I write here because i need help for a project of mine. I want to use the two sensors i wrote in the subject to create a “beam” that can be interrupted when something pass between them. Is this possible with those two sensors? I want arduino to notice when something or someone interrupt the beam and make him do something!


Yes it is possible with the following sensors

1.Grove-Infrared Receiver
2.Grove Infrared Transmitter
and the example code is available in the wiki

Please also check the Grove IR distance interrupter which has both transmitter and receiver in it.