Hi im a newbie here. im tryin to find a way to place an IR sensor on both sides of a gate.
lets say this is the gate >>
| --Gate --|
|°--------°| these are IR transmitter and receiver
| <1meter> |
while the beam is still high at the receiver the LED is ON but if someone crosses the beam the LED is turned off. i tried using IR LED and IR Module but it did not work.

so, im looking for some suggestions. Thanks
lets say this is the gate >>
| --Gate --|
|°--------°| these are IR transmitter and receiver
| <1meter> |
while the beam is still high at the receiver the LED is ON but if someone crosses the beam the LED is turned off. i tried using IR LED and IR Module but it did not work.
so, im looking for some suggestions. Thanks