Introduction: Obstacle Detection

Picture of Obstacle Detection

This instructable is regarding the interface of IR sensor and buzzer to the Arduino in such a way that it works as obstacle detection circuit.

Step 1: Getting Started

Picture of Getting Started

This is my first instructable for obstacle detection.I have used two IR sensor and an arduino to make a circuit which sense obstacle coming in its path.The two IR sensor is such calibrated that any of the two output is one the the buzzer turns on.such a device can be use in doors ,when there is someone at the door the buzzer beeps.

Step 2: Components

Picture of Components

The following components are needed

  1. Arduino any model (here I have used Arduino Diecimila)
  2. IR sensors
  3. buzzer
  4. connecting wires
  5. Arduino programming software
  6. battery

The above components are easily available in market.

Step 3: Circuit Making

Picture of Circuit Making

Connect the circuit as shown in figure

In the circuit the two output of IR sensors are connected to the analog pins A0 & A1 of arduino. I have used digital pins 3,4 for +vcc of IT sensor. The digital pin 2 works as the input to the buzzer.

The program compares the output from the sensors an if result is greater than 0 the buzzer is turned on simple!!!!!!!!

The sensor range can be increased with the help of proper calibration

Please do find the C programming .


hitenc (author)2015-09-26

Good akash

PATEL AKASH R (author)hitenc2015-09-26


tomatoskins (author)2015-09-25

Really cool idea! Thanks for sharing!

Ya! & thanks for commenting

About This Instructable



Bio: As an eee engineering inquisitive about science and technology. And for me everything is some how related to science. So you need to know everything ... More »
More by PATEL AKASH R:0.5Kw Hybrid Solar Plant Installation GuideControl toy car using Ir technologyBroken Matchstick MAGIC.!!
Add instructable to: