Sensor Modules
English Chinese (Simplified) Czech French German Hindi Italian Japanese Korean Russian Spanish

Obstacle avoidance module. Detects when objects are within the calibrated range.

 

• 100% Arduino Compatible
• 3 pin outs:

 

G –Ground
V – 5V
S – Signal

 

Pin Outs Overview

This device has 3 pins. Ground (G), VCC (V), and Signal (S). The signal wire line is digital. It will either be high or low. High if the detected range is further than the calibrated distance, low if the detected range is less than the calibrated distance. How to use it with the Arduino Power the device by connecting Ground to Ground, VCC to 5v. Connect signal to a digital pin. You’ll then need to set the digital pin to INPUT mode. Read the digital pin. The pin will read high if the detected distance.

Calibration

This device has two potentiometers you can adjust to calibrate the device. One for frequency (F) and one for distance (D). Much like an IR Remote, the IR light is oscillated at a defined frequency and detected at that same frequency; this enables the sensor to work in noisy environments. You can adjust the frequency to avoid interference with other detectors or other IR sources. You can set the distance the sensor is triggered from by adjusting the Distance potentiometer. Notice the LED will light up when it is triggered. Turn this pot clockwise to increase the distance, turn it counter-clockwise to decrease the distance.

How to use it with the Arduino

Power the device by connecting Ground to Ground, VCC to 5v. Connect signal to a digital pin. You’ll then need to set the digital pin to INPUT mode. Read the digital pin. The pin will read high if the detected distance.

 

Downloads

Click here to Download IR Detector Schematic
Click here to Download IR Detector Sample Codes

 

Stock Code Product Name
IRDET-01 OSEPP™ IR Detector Module