Skip to main content

Menu

Photo Interrupter Module Arduino Compatible

ARD2-2210
Arduino Compatible ARD2 Photo Interrupter Module

$5.95

QTY Price
1 $5.95

Description

This photo interrupter module Arduino compatible can be used to build a simple circuit that produces a photo-interrupter warning lamp. It is composed of an infrared emitter on one upright and a shielded infrared detector on the other. By emitting a beam of infrared light from one upright to the other, the sensor can detect when an object passes between the uprights, breaking the beam.

This Arduino compatible photo interrupter module is used for many applications including optical limit switches, general object detection, etc.

Test Code

int Led = 13; // define LED Interface
int buttonpin = 3; // define the photo interrupter sensor interface
int val; // define numeric variables val

void setup () {
pinMode(Led, OUTPUT); // define LED as output interface
pinMode(buttonpin, INPUT); // define the photo interrupter sensor output interface
}

void loop () {
// digital interface will be assigned a value of 3 to read val
val = digitalRead(buttonpin);

// When the light sensor detects a signal is interrupted, LED flashes
if (val == HIGH) {
digitalWrite(Led, HIGH);
}
else {
digitalWrite(Led, LOW);
}
}

Features

  • Build a photo interrupter warning lamp circuit
  • Applications include optical limit switches, general object detection etc.

Specifications

Colour

Black

Material

PCB

Resources

You Might Also Like

All prices are in Australian Dollars and include GST. GST will be removed from your order if you are ordering from outside Australia.
Products may differ from pictured.
All trademarks and trade names are the properties of their respective owners. Wiltronics disclaims any proprietary interest in trademarks and trade names other than its own.

We use cookies to ensure you have the best experience on our site. If you continue to use this site you consent to the use of these cookies. OK

Find out more in our Privacy Policy