Obstacle Detection

by PATEL AKASH R in Circuits > Arduino

2016 Views, 20 Favorites, 0 Comments

Obstacle Detection

IMG_20150925_160742.jpg
IMG_20150925_160707.jpg
IMG_20150925_160645.jpg
IMG_20150925_160613.jpg
IMG_20150925_161905.jpg
IMG_20150925_165517.jpg
IMG_20150925_160757.jpg

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.

Getting Started

IMG_20150925_160742.jpg

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.

Components

IMG_20150925_160613.jpg
IMG_20150925_160645.jpg
IMG_20150925_160707.jpg

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.

Circuit Making

IMG_20150925_165517.jpg
Obstacle detection using arduino

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 .