Professional Documents
Culture Documents
Obstacle Avoidance Robot With Ultrasonic Sensor: Abidur Rahman Sagor 18-38599-2
Obstacle Avoidance Robot With Ultrasonic Sensor: Abidur Rahman Sagor 18-38599-2
ultrasonic sensor
Abidur Rahman Sagor Towfiq Mahmud Mridul Mehedi Hasan Khan
18-38599-2 18-37866-2 17-35783-2
Department of EEE,
American Department of EEE, American Department of EEE, American
International University- International University- International University-
Bangladesh Bangladesh Bangladesh
Dhaka, Bangladesh Dhaka, Bangladesh Dhaka, Bangladesh
abidsagor83@ieee.org towfiqmahmudmridul@ieee.org 17-35783-2@student.aiub.edu
Faisal Ahmad Mridha MD.Nahid Hasan Niloy MD. Mosaraf Hosen Bhuiyam
18-37795-2 18-37894-2 18-37835-2
Department of EEE, American Department of EEE, American Department of EEE, American
International University- International University- International University-
Bangladesh Bangladesh Bangladesh
Dhaka, Bangladesh Dhaka, Bangladesh Dhaka, Bangladesh
faahmedfatin@gmail.com niloypbt@gmail.com mishon27nov@gmail.com
1|P a g e
Abstract— The purpose of this paper is to elaborate the battery to get started. The Uno differs from all preceding
concept of “Obstacle avoidance robot with ultrasonic boards in that it does not use the FTDI USB-to-serial driver
sensor”. To build this system practically, the Arduino chip. Instead, it features the Atmega8U2 programmed as a
UNO, ultrasonic sensor, motor driver, servo motor and USB-to-serial converter. "Uno" means one in Italian and is
others. To conduct this report the software named named to mark the upcoming release of Arduino 1.0. The
“Proteus 8 Professional’. Through analyzing the Uno and version 1.0 will be the reference versions of
collected data this paper offers a big concept to Arduino, moving forward. The Uno is the latest in a series
mobile robot system, which is capable of performing of USB Arduino boards, and the reference model for the
various tasks for the physically disabled, has been Arduino platform; for a comparison with previous versions,
developed. To avoid collision with unexpected obstacles, see the index of Arduino boards.
the mobile robot uses ultrasonic range finders for
detection and mapping. It is a modern gadget, which can
apply with artificial intelligence and other technology.
The Arduino Uno is a microcontroller board based on the B. HC-SR04 Ultrasonic Sensor
ATmega328. It has 14 digital input/output pins (of which 6 HC-SR04 Ultrasonic (US) sensor is a 4-pin module, whose
can be used as PWM outputs), 6 analog inputs, a 16 MHz pin names are Vcc, Trigger, Echo and Ground respectively.
crystal oscillator, a USB connection, a power jack, an ICSP This sensor is a very popular sensor used in many
header, and a reset button. It contains everything needed to applications where measuring distance or sensing objects
support the microcontroller; simply connect it to a computer are required. The module has two eyes like projects in the
with a USB cable or power it with a AC-to-DC adapter or
front which forms the Ultrasonic transmitter and Receiver.
The sensor works with the simple high school formula that, 3 Echo Echo pin is an Output pin. This
C. L298N Driver
The L298N Module is large in size and will need plenty of
space if fitting inside a vehicle. However, with the size of
motor that this can support, you can have a vehicle large
enough to support its physical size.
Number Name
2 Trigger Trigger pin is an Input pin. This In most situations, the H-Bridge Module is likely to be
powered by battery where the voltage is likely to drop over
pin has to be kept high for 10us time. Therefore, it is necessary to consider what is the
maximum and lowest voltage is needed for good system
to initialize measurement by operation. Knowing this will help you decide when you
need to disable the H-Bridge 5v regulator.
sending US wave.
L298N Module Pin Configuration: used in radio-controlled airplanes to position control
surfaces like the elevators and rudders. They are also used in
radio-controlled cars, puppets, and of course, robots.
Pin Name Description
Working of a Servo Motor
IN1 & IN2 Motor A input pins. Used to control
the spinning direction of Motor A The servo motor has some control circuits and a
potentiometer (a variable resistor, aka pot) connected to the
IN3 & IN4 Motor B input pins. Used to control output shaft. In the picture above, the pot can be seen on
the right side of the circuit board. This pot allows the
the spinning direction of Motor B control circuitry to monitor the current angle of the servo
motor.
ENA Enables PWM signal for Motor A
If the shaft is at the correct angle, then the motor shuts off.
ENB Enables PWM signal for Motor B If the circuit finds that the angle is not correct, it will turn
the motor until it is at a desired angle. The output shaft of
OUT1 & Output pins of Motor A the servo is capable of traveling somewhere around 180
degrees. Usually, it is somewhere in the 210-degree range,
OUT2 however, it varies depending on the manufacturer. A
normal servo is used to control an angular motion of 0 to
OUT3 & Output pins of Motor B 180 degrees. It is mechanically not capable of turning any
farther due to a mechanical stop built on to the main output
OUT4 gear.
12V 12V input from DC power Source The power applied to the motor is proportional to the
distance it needs to travel. So, if the shaft needs to turn a
5V Supplies power for the switching large distance, the motor will run at full speed. If it needs
to turn only a small amount, the motor will run at a slower
logic circuitry inside L298N IC speed. This is called proportional control.
Survey Questions:
is not recommended to keep the range very long because
this would cause the robot to keep moving forward and
backward as it senses an obstacle, even far away from it
Another limitation of this project is, the physical structure of
this project is not so robust. So, it can be hampered if any
collision happens.
X. FUTURE WORK
ACKNOWLEDGMENT
We are heartily thankful to our course instructor, whose
encouragement, supervision and support from the
preliminary to the concluding level enabled us to develop an
understanding of the subject.
REFERENCES