I would like to use a light barrier to detect thoroughfares through an entry. The distance is almost 6m, the planned location is outdoor. Which model is recommendable to use with an Arduino?
My garage door safety beam seems to work well in broad daylight, including afternoon direct sunlight. Start with a Google of Garage Door Safety Beam where you get a transmitter and receiver. Next a Google of LASER emitter and LASER detector should give you some results. I have bought several from Amazon and they work in daylight.
Laser Emitter: https://www.amazon.com/CenryKay-650nm-Laser-Head-Diode/dp/B07WFMYNG3/ref=asc_df_B07WFMYNG3/?tag=hyprod-20&linkCode=df0&hvadid=386649289423&hvpos=&hvnetw=g&hvrand=2039625488930530489&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9015345&hvtargid=pla-828432768238&psc=1&tag=&ref=&adgrpid=77847887414&hvpone=&hvptwo=&hvadid=386649289423&hvpos=&hvnetw=g&hvrand=2039625488930530489&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9015345&hvtargid=pla-828432768238
Better use a common IR diode and a 3-pin remote control receiver for a light barrier. Much easier to set up (aim) than a laser. Leo..
Do you need to measure vertically or horizontally? Outdoor or indoors?
I could imagine several sensors like those ones creating a light barrier
Looks like they provide a code in Arduino to copy and paste for any application
Be aware that rain can affect the operation of sensors due to light scattering and absorption