GRP Project
GRP Project
GRP Project
Objective:
• Arduino Uno
• Ultrasonic Range Finder Sensor – HC – SR04
• Motor Driver IC – L293D
• Servo Motor (Tower Pro SG90)
• Geared Motors x 2
• Robot Chassis
• Power Supply
• Battery Connector
• Battery Holder
Software Required:
• arduino-1.8.19-windows
Component Description:
Arduino Uno has 14 digital I/O pins out of which 6 pins are used in this
project.
PAGE 1
2. HC – SR04: It is an Ultrasonic Range Finder Sensor. It is a
noncontact-based distance measurement system and can measure
distance of 2cm to 4m.
PAGE 2
4. Servo Motor: The Tower Pro SG90 is a simple Servo Motor which
can rotate 90 degrees in each direction (approximately 180 degrees
in total).
PAGE 3
Circuit Design:
• The ultrasonic sensor has 4 pins: Vcc, Trig, Echo and Gnd.
Vcc and Gnd are connected to the +5v and GND pins of the
Arduino. Trig (Trigger) is connected to the 9th pin and Echo is
connected to 8th pin of the Arduino UNO respectively.
• 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.
PAGE 4
NOTE: The power supply to the Motor Driver i.e., Pins 1 (enable
1), 8 (VCC2), 9 (enable 2) and 16 (VCC1) should be given a separate
power supply.
Working Methodology:
• The signals return back after hitting a surface and the receiver
detects this signal. The Echo pin is high from the time of sending
the signal and receiving it. This time can be converted to distance
using appropriate calculations.
PAGE 5
Reason to use Ultrasonic Sensor:
• The ultrasonic sensor has high frequency, high sensitivity and high
penetrating power therefore it can easily detect the external or deep
objects.
• These sensors could easily sense the nature, shape and orientation
of that specific objects which is within the area of these sensors.
• There sensors are easy to use, not dangerous during operation for
nearby objects, person, equipment or material.
When the robot is powered on, both the motors of the robot will run
normally and the robot moves forward. During this time, the
ultrasonic sensor continuously calculates the distance between the
robot and the reflective surface.
Similarly, if the right distance is more than that of the left distance, the
Robot prepares right rotation. This process continues forever and the
robot keeps on moving without hitting any obstacle.
Application:
PAGE 6
• Obstacle avoiding robots can be used in almost all mobile robot
navigation systems.
Conclusion:
This project developed an obstacle avoiding robot to detect and avoid
obstacles in its path. The robot is built on the Arduino platform for
data processing and its software helped to communicate with the
robot to send parameters for guiding movement. For obstacle
detection, ultrasonic distance sensor is being used that provide a wider
field of detection. The robot is fully autonomous and after the initial
loading of the code, it requires no user intervention during its
operation. When placed in unknown environment with obstacles, it
moved while avoiding all obstacles with considerable accuracy. In
order to optimize the movement of the robot, we have many
considerations for improvement. However, most of these ideas will
cost more money and time as well. In future cameras can be used to
detect the obstacle moreover, a computer system can be used to
develop an AI robot.
PAGE 7