IR break beam 3mm

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
kpurzycki
 
Posts: 108
Joined: Mon Jan 13, 2014 11:46 am

IR break beam 3mm

Post by kpurzycki »

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?

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: IR break beam 3mm

Post by adafruit_support_bill »

[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

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”