Javatpoint Logo
Javatpoint Logo

Obstacle Avoider Robot

Obstacle avoider robot is the important part of mobile robotics. Obstacle avoidance is task which is used for detecting the presence of object in a path of robot or any vehicle.

Obstacle avoiding robot is an intelligence device, which is used to protect the robot from any physical damages. It automatically sense and overcome the obstacles on its path.


In this project, we will study how to design and simulate an obstacle avoider robot using AVR ATmega16 microcontroller and Analog IR Sensor. This robot designed is an automatic robot i.e. no manual control is required for the operation of robot.

In obstacle avoider robot we use ADC of the ATmega16 microcontroller to convert analog signals to digital values. After converting the IR sensors signal into digital equivalent signal i.e. threshold value (3V in our project case). According to the output of above comparison, the microcontroller send the control signal to the DC motor driver Integrated Circuit (L293D) of robot to move the robot in forward, left or right direction. The above operation of sensors output comparison, ADC conversions and robot control continues till the power source is applied.

Hardware Required:

  • 12V, 1A DC Adapter-1 piece
  • Analog IR Sensor-3 piece
  • AVR Microcontroller Board-1 piece
  • DC Motor Driver-1 piece
  • AVR USB Programmer-1 piece
  • 1 to 1 Connector-15 piece
  • 10 to 10 FRC Female Connector-2 piece
  • Robot-1 piece

Software Required:

  • BASCOM-AVR Integrated Development Environment (IDE)
  • WinAVR-2010
  • USBasp Driver

Circuit diagram:

Consider the eagle software based circuit diagram of obstacle avoider robot is:-

Circuit diagram

Source Code:

Consider the screenshot of source code used in obstacle avoider robot using BASCOM-AVR Integrated Development Environment (IDE) is:-

Circuit diagram2

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA