Remote and Autonomous Controlled Robotic Car Based On Arduino With Real Time Obstacle Detection and Avoidance
Remote and Autonomous Controlled Robotic Car Based On Arduino With Real Time Obstacle Detection and Avoidance
org
DOI: 10.13189/ujes.2019.070101
Copyright©2019 by authors, all rights reserved. Authors agree that this article remains permanently open access under
the terms of the Creative Commons Attribution License 4.0 International License
Abstract In robotic car, real time obstacle detection electronic devices. The environment can be any physical
and obstacle avoidance are significant issues. In this study, environment such as military areas, airports, factories,
design and implementation of a robotic car have been hospitals, shopping malls, and electronic devices can be
presented with regards to hardware, software and smartphones, robots, tablets, smart clocks. These devices
communication environments with real time obstacle have a wide range of applications to control, protect, image
detection and obstacle avoidance. Arduino platform, and identification in the industrial process. Today, there are
android application and Bluetooth technology have been hundreds of types of sensors produced by the development
used to implementation of the system. In this paper, robotic of technology such as heat, pressure, obstacle recognizer,
car design and application with using sensor programming human detecting. Sensors were used for lighting purposes
on a platform has been presented. This robotic device has in the past, but now they are used to make life easier.
been developed with the interaction of Android-based Thanks to technology in the field of electronics, incredibly
device. Arduino Uno has been used as the robot's brain. fast developments are experienced. In this respect, it is
The robot has many hardware components such as
possible to develop a new invention or a new application in
Bluetooth module, PIR sensor, ultrasonic sensor, and
every day and make life easier.
buzzers. It also consists of the software component that
Today, robot systems are developed with the use of
uses a mobile application. The desired direction or mode by
artificial intelligence algorithms. The robotics field is one
mobile application can be selected by the user of the
of them. The most important part of the robot is the
robotic car to control the movement of the car. The user can
control the robot movements from his/her own intelligent perception. Perceive of the environment will be important
device or take the robot in automatic mode and let the car for a robot design. For instance, it is very important to
drive its own way. Thus, the robot can flee from the identify explosives by a robot to detect a terrorist in the
obstacle and also detect live objects. The purpose of this military field by using sensors. A robot has to perceive
article is to alert the civilian and military personnel to some variables (like heat changes) around it, interpret it,
potential terrorist attacks especially in military areas with and then decide to act accordingly.
live detectable sensors. In this article, remote and autonomous controlled robotic
car has been presented in terms of obstacle detection and
Keywords Android-based Devices, Robotic Car avoidance by using sensors. The connection between the
based on Arduino, Obstacle Detection, Obstacle robot and the Android device has been established via
Avoidance Bluetooth technology. The incoming data will be processed
by Arduino Uno and according to the input value of the
user, robot action can be performed. There are two main
modes that control the robotic car by Android application
(mobile phone). These are user control mode and automatic
1. Introduction mode. A menu with buttons has been seen on the screen to
In the last decade, with the development of technology, select the actions. These buttons will be used to move the
sensors used with electronic devices have been used in robotic car forward, backward, right and left, stopping the
many areas to facilitate life. Sensors are devices that car and switching to automatic mode. By selecting
convert energy forms into electrical energy. The sensors automatic mode, the user leaves the robot control and the
serve as a bridge connecting the environment and various robot finds its way without hitting the obstacles. The robot
2 Remote and Autonomous Controlled Robotic Car based on
Arduino with Real Time Obstacle Detection and Avoidance
detects living beings that are encountered and gives used Arduino Uno R3 for robot’s brain. Also, Bluetooth
warning. The robot finds its way without hitting spot and module and the ultrasonic sensor had been used in this
when it comes to the obstacle it perceives and stops. paper. The robot scanning the placed QR codes could
Concurrently, it makes live detection with the temperature move along the road in autonomous form thanks to the
sensor and gives warning with red led on it. QR codes. It also provided voice communication with the
In this study, we carry out a novel vehicle design with Android device in the Text-to-speech feature. It also
real time obstacle detection and avoidance. To best of our moved with the help of an ultrasonic sensor without
knowledge, there is no previous study that investigates real hitting the objects around it. In this view, range
time obstacle detection and avoidance by using Arduino information was collected. In order for the motion of the
Uno and Android Platform. robot to be smooth, the deviation was minimized by the
This work is as follows. Section-2 deals with related PID algorithm.
works in this regard. Section-3 describes the working E. Amareswar et al. [5] designed a robot used for the
principles of the robotic car and system architecture. military area. Thanks to the metal detector, the robot
Section-4 shows the specifications of the robotic car and played an important role in the detection of explosives,
the materials used. Section-5 is design and implementation and the surroundings could be viewed thanks to the
of the robotic car. Section-6 gives conclusion of the paper. camera of the used Android device. This robot system
consisted of Android device, Bluetooth module, a
microcontroller (Arduino Uno), DC motors, motor driver,
2. Literature Review wireless camera and metal detector.
Premkumar et al. [6] designed robotic arm controlled
In this section, similar studies in the past have been using Raspberry Pi. The main purpose of this robot was to
explored and some of the methods and working principles add the human arm feature to the robot arm. Raspberry Pi
used are summarized. was the code written in the Python language that provided
S. S. Pujari et al. [1] designed a Robot for the working arm movement. With the Android application, the user
families that could monitor children remotely and moved the robot arm in the desired direction. Robotic arm
communicate with the camera. Raspberry Pi 3, camera control was provided in this way. The Android app was
module, Wifi and Bluetooth technology used by the robot. written in Java. Thus, the communication between the
For Raspberry Pi, the heart was defined as the Robot and Android application and Raspberry Pi was provided by
used the Phyton language to code it. the Wi-Fi connection. This communication moved the
M. R. Mishi et al. [2] designed a robotic car. Arduino robot arm to the right and left.
Uno and Raspberry Pi were used together to control robot In this study, real time obstacle detection and avoidance
in this project. GPS was also used to trace the car and the with remote and autonomous controlled robotic car based
distances between the obstacle and the path are measured. on Arduino has been carried out by using Android
The data in the cloud was used without having to be application.
online. Thus, the multi-motion system was controlled.
D. Chakraborty et al. [3] designed and developed a
robotic car using sensors and Bluetooth technology. They 3. System Architecture
had established communication between smart device and
the robot. Thanks to the phone camera, they had observed The system structure of the developed robotic car using
the living beings. The obstacles in the opposite direction various sensors is shown in Figure 1.
were prevented from colliding with the ultrasonic ranging In this paper, the robotic car consists of two modes: The
sensor. Images recorded with the camera were recorded in user control and Automatic mode. The robot and Android
the database and analyzed. device communicate with each other using Bluetooth
S. J. Lee et al. [4] designed an autonomous robotic car technology.
Universal Journal of Engineering Science 7(1): 1-7, 2019 3
4. Technical Specifications of the with Arduino via Serial Communication (USART). The
Bluetooth module can only respond to incoming
Robotic Car connection requests, so it can not send a connection
request to another Bluetooth module. The Bluetooth
4.1. Arduino Uno module has a total of 4 pins. These are VCC, GND, Rx,
Arduino Uno is the robot's brain. Arduino Uno uses the and Tx.
ATmega328 microprocessor. Arduino has 14 pins. The
most popular Arduino card is the Arduino UNO model
shown in Figure 2. It can be easily programmed with
Arduino libraries [7]. Easily programmable is the biggest
advantage of other microprocessors. Programming in the
Arduino Uno is carried out specifically in the integrated
development environment (IDE). The programming
language is selected as Embedded C language. Using
signals from sensors, it helps to design robots and systems
that affect the environment. So actions happen such as
sound and light specific to the output of the project. Figure 3. HC-06 Bluetooth Module
4.2. Hc-06 Bluetooth Module The buzzer is a device which enables to produce various
sound waves according to the voltage that is switched off.
The HC-06 Bluetooth module shown in Figure 3 According to the market, it is cheap, easy to produce, and
provides communication between the devices at a short very lightweight. Therefore, the usage area is very large.
distance of approximately 10 to 20 meters. Communicates The main purpose of the buzzer is to warn the authorities in
4 Remote and Autonomous Controlled Robotic Car based on
Arduino with Real Time Obstacle Detection and Avoidance
relation to the identified situation. Thus, it takes various rotated using direct current so that mechanical force is
inputs and emits sound according to the inputs. First, the generated.
buzzer converts the dc voltage coming from the input port
into the oscillation signal. The signal is amplified. When a
piezo-discrete high voltage is applied, it causes mechanical
expansion and contraction. This causes the inner metal
plate to bend in the opposite direction. The metal plate is
constantly twisted in the opposite direction (Figure 4), and
the shrunk iceberg produces sound waves in the air.
Figure 6. DC Motor
4.5. DC Motor
4.7. Ultrasonic Sensor Hc-Sr04
Direct current (DC) motor converts electrical energy
into mechanical energy using direct current [9]. DC motor The HC-SR04 ultrasonic sensor uses Sonar (Sound
is an electric machine that works with the principle of "A Navigation and Variable) to calculate the distance to the
current carrying conductor is exposed to humid when it object. Using sonar, the distance between robot and
enters a magnetic field". The formula of the applied force is obstacle are measured. It makes the best measurement
F = BIL [10]. between 2- 400 cm.
The main components of DC motors are consist of 6 Ultrasonic sound waves have frequencies between 20
pieces. These are coils, magnets, rotors, brush, stator and kHz and 500 kHz. Ultrasonic sensors are sensors that emit
direct current source (Figure 6). In this study, the DC ultrasonic sound waves and can determine the distance
motor's purpose is to turn the wheels. The armature is between them by calculating the time it takes for them to
placed in the magnetic field generated by the coils and strike the obstacles (Figure 8).
Universal Journal of Engineering Science 7(1): 1-7, 2019 5
REFERENCES
[1] S. S. Pujari, M. S. Patil, and S. S. Ingleshwar, “Remotely
controlled autonomous robot using Android application”,
2017 IEEE International Conference on I-SMAC (IoT in
Social, Mobile, Analytics, and Cloud) (I-SMAC), 2017.
[2] M. R. Mishi, R. Bibi, and T. Ahsan, “Multiple motion
control systems of the robotic car based on IoT to produce
cloud service,” 2017 IEEE International Conference on
Electrical, Computer and Communication Engineering
(ECCE), 2017.
[3] D. Chakraborty, K. Sharma, R. K. Roy, H. Singh, and T.
Bezboruah, “Android application based monitoring and
controlling of movement of a remotely controlled robotic car
mounted with various sensors via Bluetooth,” 2016 IEEE
International Conference on Advances in Electrical,
Electronic and Systems Engineering (ICAEES), 2016.
[4] S. J. Lee, J. Lim, G. Tewolde, and J. Kwon, “Autonomous
tour guide robot by using ultrasonic range sensors and QR
code recognition in an indoor environment,” IEEE
International Conference on Electro/Information
Technology, 2014.
[5] E. Amareswar, G. S. S. K. Goud, K. R. Maheshwari, E.