hi
I have a 3mm IR break beam sensor. I would like to know if there is code I can use with arduino to turn the IR emitter on or off?
Is the IR emmiter the one with 2 wires?
IR break beam 3mm
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: IR break beam 3mm
[Moved to "Other Arduino Products" forum]
You can control the emitter (the 2-wire one). If you are using an Arduino, just connect the red wire to +5v and the black wire to a digital pin, To turn it on set the output of the pin to LOW.
https://learn.adafruit.com/ir-breakbeam-sensors
You can control the emitter (the 2-wire one). If you are using an Arduino, just connect the red wire to +5v and the black wire to a digital pin, To turn it on set the output of the pin to LOW.
https://learn.adafruit.com/ir-breakbeam-sensors
Please be positive and constructive with your questions and comments.