Obstacle Avoiding Robot
Obstacle Avoiding Robot
Obstacle Avoiding Robot
AVOIDING ROBOT
ADVANCED CONTROL THEORY
(EEE 4018)
GROUP NISHANT KAMAL (15BEE0247)
MEMBER ABHINAV PRAKASH (15BEE0066)
RAJEEV RANJAN (15BEE0078)
1.)Arduino Uno
HARDWARES 2.)Ultrasonic Range Finder Sensor – HC –
SR04
AND 3.)Motor Driver IC – L293D
SOFTWARES 4.)Servo Motor (Tower Pro SG90)
5.)Geared Motors x 2
COMPONENTS 6.)Robot Chassis
Arduino Uno
Arduino Uno is an ATmega 328p
Microcontroller based prototyping
board. It is an open source
electronic prototyping platform that
can be used with various sensors
and actuators.
Arduino Uno has 14 digital I/O pins
out of which 6 pins are used in this
project.
Component Description
HC – SR04
It is an Ultrasonic Range Finder Sensor.
It is a non-contact based distance
measurement system and can measure
distance of 2cm to 4m.
L293D
Component
Design of The ultrasonic sensor has 4 pins: Vcc, Trig, Echo and Gnd. Vcc
and Gnd are connected to the +5v and GND pins of the
Obstacle Arduino. Trig (Trigger) is connected to the 9th pin and Echo is
connected to 8th pin of the Arduino UNO respectively.
Avoiding A Servo Motor is used to rotate the Ultrasonic Sensor to scan
Robot using for obstacles. It has three pins namely Control, VCC and GND.
The Servo Control Pin is connected to pin 11 of Arduino while
the VCC and GND are connected to +5V and GND.
Arduino
L293D is a 16 pin IC. Pins 1 and 9 are the enable pins. These
pins are connected to +5V. Pins 2 and 7 are control inputs
from microcontroller for first motor. They are connected to
pins 6 and 7 of Arduino respectively.
Similarly, pins 10 and 15 are control inputs from
microcontroller for second motor. They are connected to
pins 5 and 4 of Arduino. Pins 4, 5, 12 and 13 of L293D are
ground pins and are connected to Gnd.
Design of First motor (consider this as the motor for left wheel) is
connected across the pins 3 and 6 of L293D. The second
Obstacle motor, which acts as the right wheel motor, is connected
to 11 and 14 pins of L293D.
Avoiding The 16th pin of L293D is Vcc1. This is connected to +5V.
Robot using The 8th pins is Vcc2. This is the motor supply voltage.
This can be connected anywhere between 4.7V and 36V.
Arduino In this project, pin 8 if L293D is connected to +5V supply.
nevonprojects.com
http://www.instructables.com/id/Arduino-Ultimate-Ob
REFERENCES stacle-Avoiding-Robot/
www.instructables.com
https://tech.endeepak.com/blog/2016/01/02/simple-
obstacle-avoiding-robot-using-arduino/