Infra Red Obstacle Detection

12,021

56

3

Posted

Introduction: Infra Red Obstacle Detection

What is it?

A highly reliable means of detecting obstacles using reflected infra red light

How Does it Work?

The module has a in infra-red transmitter which lights up the surroundings and an infra red receiver which measures the amount of infra red that is reflected. If the reflected amount of light reaches above a certain threshold that means that light was reflected and so the signal pin is triggered. (goes from HIGH to LOW)

What can you use it for?

This sensor has several limitations: it cannot measure distance and it can malfunction in very bright light i.e. sunlight. However its amazingly responsive and close to 100% reliable so its a great solution to add to fast rovers and quad copters.

Step 1: Schematic

Connect the sensor so that A0 on the sensor plugs into A0 on the Arduino, GND Pin connects to A1 on the Arduino and (+) Pin connects to A2 on the Arduino.

You also Connect a 5mm LED to Pin11 on the Arduino

Step 2: Code and Circuit in Action

For a more detailed explanation to the code watch the video from: 3:25

To see the circuit in action watch from: 5:00

Share

    Recommendations

    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Spotless Contest

      Spotless Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    3 Comments

    Hi, If i want to control a servo motor with an Infa Red obstacle detection, How could i do it? Pleas Help.. Thank You

    This sensor is digital, it is not necessary to read as analog, only delivers low and high, also uses a potentiometer for adjusting the distance

    This sensor is digital, it is not necessary to read as analog, only delivers low and high, also uses a potentiometer for adjusting the distance