Professional Documents
Culture Documents
Sensor Based Motion Control of Mobile Car Robot
Sensor Based Motion Control of Mobile Car Robot
Sensor Based Motion Control of Mobile Car Robot
1
ABSTRACT
The paper deals with the wireless sensor-based remote control of mobile robots
motion in an unknown environment with obstacles using the Bluetooth wireless
transmission and Sun SPOT technology. The Sun SPOT is designed to be a
flexible development platform, capable of hosting widely differing application
modules. Web technologies are changing the education in robotics. A feature of
remote control laboratories is that users can interact with real mobile robot
motion processes through the Internet. Motion control of mobile robots is very
important research field today, because mobile robots are a interesting subject
both in scientific research and practical applications. In this paper the object of
the remote control is the Boe-Bot mobile robot from Parallax. This Boe-Bot
mobile robot is the simplest, low-cost platform and the most suitable for the
small-sized, light, battery-driven autonomous vehicle. The vehicle has two
driving wheels and the angular velocities of the two wheels are independently
controlled. When the vehicle is moving towards the target in an unknown
environment with obstacles, an avoiding strategy is necessary. A remote control
program has been implemented.
2
CHAPTER-1
INTRODUCTION
3
CHAPTER-1
1.1 INTRODUCTION
Only one fourth (nearly 27%) is the total land mass on the planet earth rest
beingwater (nearly 73%). Out of this land mass, only three fourth is productive
rest beinghigh mountains, cold and hot deserts, etc. Over the year’s mankind
has been ableto convert nearly 57% of productive land for cultivation of various
crops for food, oftenon expense of forest and grasslands (43%). With rising
urbanization, a worldwide phenomenon, it has been estimated that most of the
world’s population (>60%) by 2030will shift to cities for urban dwelling.
Interestingly in the same period (by 2030), the humanpopulation is expected to
reach 8.6 billion from the current 7.6 billion, and expectedto rise further
exponentially to 9.8 billion by 2050 and explode to 11.2 billion by 2100.The
rapid urbanization on the other hand is putting pressure on the meagre
availableland resources that is witnessing gradual but continuous decline in the
cultivated landworldwide (Ali and Srivastava, 2017).
4
Cultivable land has become a limiting factor and land prices are
skyrocketingin recent years. The transportation of food to cities from rural
production sites will addto the problem, compounded further in perishable and
semi-perishable food especiallyfrom horticultural crops having shorter shelf
life. One innovation that has potential to partlymanage the above problem is by
production of food items in cities itself in residentialbuildings, roof tops, public
spaces, etc. Whereas the present improved agriculture practicesput immense
pressure on finite resources with diminishing returns on land, water, energy,etc.,
the innovative technology of vertical farming is expected to relieve this pressure
to alarge extent.
5
CHAPTER-2
BLOCK DIAGRAM
6
CHAPTER-2
BLOCK DIAGRAM
POWER UNIT
IR SENSOR
MCU
IR SENSOR
DRIVE
ULTRASONIC
SENSOR MOTOR
LCD DISPLAY
7
CHAPTER-3
EMBEDDED SYSTEM
8
CHAPTER-3
9
3.4 MICROPROCESSOR Vs MICROCONTROLLER
For transfer of data from external memory to the CPU, microprocessor needs
many operational codes. But in Microcontroller, one or two codes are
enough.
10
CHAPTER-4
LITERATURE REVIEW
11
CHAPTER-4
REVIEW OF LITERATURE
A Bluetooth-enabled mechanical car is proposed, and it then delivers a
point-by-point comparison of various sensors used in autonomous driving. In
addition to a Bluetooth module, a mechanical knock sensor is attached to the
car's facade to detect if the vehicle has been hit and, if so, the exact time of the
collision.
Following a black line path while incorporating other characteristics such
as collision detection and avoidance or the capacity to fall from a particular
height with great stability and control is the goal of this research. A central
Arduino UNO microcontroller interfaces with IR sensors, Bluetooth, and Wi-Fi
components in the design. Connected to the used end through long-range Wi-Fi,
a user can adjust a robot car's direction by altering its position.
Consequences including local trap situations, erratic and oscillating
movements, or the inability to drive towards locations with a high obstacle
density or far from their intended direction were identified by Minguez and
Montano (2004).
These characteristics become increasingly important in the creation of
robust apps that can be used in any setting, regardless of how challenging the
terrain is. As a result, the usage of reactive navigation systems in real-world
applications is limited. In this study, various sensors are used to construct a
mine detection robot. An ultrasonic sensor, gas sensor, temperature sensor, and
humidity sensor are all employed in the detecting process. The device is
designed to aid the military in areas where detection of mines is very likely. In
addition, when a mine is detected, an alert is delivered to a smartphone via IOT
and a camera is attached to the intended car for video surveillance. Thus, the
robot saves the lives of soldiers on the front lines by substituting for them
wherever possible.
12
OBJECTIVES
Define sensor based mobile robots.
To explain the evolution from automated guided vehicles to
autonomous mobile robots.
Identify the technological advances affecting the planning and
control decisions.
To provide guidance and methods to plan and control autonomous
mobile robots.
To Study different types of robot sense
To overview of SPOT
RESEARCH METHODOLOGY
There are several reports that are reviewed and analyzed in this study
regarding the issues. The journals were sourced from online databases, with a
particular focus on journals. On the subject of identification, the attention was
on the study's material, participants, and learning methods. Classification
accuracy and items, methods, and results were the primary criteria for
identifying research publications. This data was then used to compile an
exhaustive overview of previous studies and research on the subject matter.
13
CHAPTER-5
HARDWARE REQUIREMENT
14
CHAPTER-5
5.HARDWARE REQUIREMENT
A block diagram containing the parts of a typical power supply and the
voltage at various points in the unit is shown in fig 19.1. The ac voltage, typically
120 V rms, is connected to a transformer, which steps that ac voltage down to the
level for the desired dc output. A diode rectifier then provides a full-wave rectified
voltage that is initially filtered by a simple capacitor filter to produce a dc voltage.
This resulting dc voltage usually has some ripple or ac voltage variation. A
regulator circuit can use this dc input to provide a dc voltage that not only has
much less ripple voltage but also remains the same dc value even if the input dc
voltage varies somewhat, or the load connected to the output dc voltage changes.
This voltage regulation is usually obtained using one of a number of popular
voltage regulator IC units.
15
5.2 IC VOLTAGE REGULATORS:
IN OUT
UNREGULATE 7805
D DC
VOLTAGE
GND
16
The series 78 regulators provide fixed regulated voltages from 5 to 24 V.
Figure 19.26 shows how one such IC, a 7812, is connected to provide voltage
regulation with output from this unit of +12V dc. An unregulated input voltage
Vi is filtered by capacitor C1 and connected to the IC’s IN terminal. The IC’s
OUT terminal provides a regulated + 12V which is filtered by capacitor C2
(mostly for any high-frequency noise). The third IC terminal is connected to
ground (GND). While the input voltage may vary over some permissible
voltage range, and the output load may vary over some acceptable range, the
output voltage remains constant within specified voltage variation limits. These
limitations are spelled out in the manufacturer’s specification sheets. A table of
positive voltage regulated ICs is provided in table
17
5.4 LCD DISPLAY
The most commonly used Character based LCDs are based on Hitachi's
HD44780 controller or other which are compatible with HD44580. In this
project document, we will discuss about character based LCDs, their interfacing
with various microcontrollers, various interfaces (8-bit/4-bit), programming,
special stuff and tricks you can do with these simple looking LCDs which can
give a new look to your application.
Usually these days single controller LCD modules are used more in the
market. So in the project document we will discuss more about the single
controller LCD, the operation and everything else is same for the double
controller too.
18
5.5 MICROCONTROLLERS
FEATURES:
Internal oscillator and the ability to use an external crystal for clocking.
DEVELOPMENT TOOLS:
You can use various hardware platforms for programming and development,
such as the Arduino Uno, Arduino Nano, or custom-made development boards.
19
PROGRAMMING:
Write your code in C/C++ or assembly language using the chosen development
environment.
Program the ATmega328P using an ICSP programmer or upload the hex file
using a bootloader and a USB-to-serial adapter.
You can also program the ATmega328P using the Arduino IDE by selecting the
appropriate board (e.g., Arduino Uno) and uploading your sketch via USB.
PERIPHERAL INTERFACING:
Utilize the GPIO pins for interfacing with external components such as sensors,
actuators, displays, and communication modules.
POWER MANAGEMENT:
APPLICATION EXAMPLES:
RESOURCES:
Online communities and forums, such as the Arduino forums and AVR Freaks,
offer support, tutorials, and code examples for working with the ATmega328P.
20
Overall, the ATmega328P is a versatile microcontroller suitable for a wide
range of embedded applications, from simple hobby projects to more complex
commercial products. Its popularity in the maker community is largely due to its
ease of use, extensive documentation, and robust ecosystem of development
tools and resources.
5.6 L293D
21
5.7 DC MOTOR
22
5.8 IR SENSOR
23
Break Beam: In motion detection systems, the receiver detects interruptions in
a continuous beam of IR radiation emitted by the emitter.
Thermal Sensing: In temperature measurement applications, the receiver
detects the thermal radiation emitted by objects, which correlates with their
temperature.
Output Signal: The output signal of an IR sensor varies depending on the
specific application and design. It could be a simple binary signal indicating the
presence or absence of an object, an analog voltage or current proportional to
the detected IR radiation intensity, or a digital signal indicating temperature or
distance measurements.
Applications: IR sensors find applications in various fields, including:
Proximity sensors for detecting the presence of objects.
Motion detectors for security systems and automatic lighting.
Temperature measurement in industrial processes and medical devices.
Remote controls for consumer electronics.
Object detection and tracking in robotics and automation.
Overall, IR sensors play a crucial role in enabling various technologies by
providing a means to detect, measure, and interact with objects based on their
thermal characteristics and interactions with infrared radiation.
5.9 RELAY
The first step involves selecting the appropriate relay based on factors
such as voltage and current ratings, switching speed, and the type of load to be
controlled, whether it's AC or DC. Once the relay is chosen, it needs to be wired
to the microcontroller and the device you want to control. This typically
24
involves connecting the relay coil to a digital output pin of the microcontroller
and wiring the relay's switch contacts to the load.
The ultrasonic sensor is a device you can use with the microcontroller to
measure how far away an object is. With a range of 3 centimeters to 3.3 meters,
it's a shoe-in for any number of Robots and automation projects. It's also
remarkably accurate, easily detecting an object's distance down to the half
centimeter.
Figure shows how the sensor sends a brief chirp with its ultrasonic
speaker and makes it possible for the microcontroller to measure the time it
takes the echo to return to its ultrasonic microphone. The microcontroller starts
by sending the ultrasonic sensor a pulse to start the measurement. Then, the
ultrasonic sensor waits long enough for the embedded c program to start logic
1command. At the same time the ultrasonic sensor chirps its 40 kHz tone, it
sends a high signal to the microcontroller. When the ultrasonic sensor detects
the echo with its ultrasonic microphone, it changes that high signal back to low.
25
The embedded c logic high command stores how long the high signal from the
sensor lasted in a variable. The time measurement is how long it took sound to
travel to the object and back. With this measurement, you can then use the
speed of sound in air to make your program calculate the object's distance in
centimeters, inches, feet, etc...
The sensor's chirps are not audible because 40 kHz is ultrasonic. What we
consider sound is our inner ear's ability to detect the variations in air pressure
caused by vibration. The rate of these variations determines the pitch of the
tone. Higher frequency tones result in higher pitch sounds and lower frequency
tones result in lower pitch tones. Most people can hear tones that range from 20
Hz, which is very low pitch, to 20 kHz, which is very high pitch. Subsonic is
sound with frequencies below 20 Hz, and ultrasonic is sound with frequencies
above 20 kHz. Since the sensor's chirps are at 40 kHz, they are definitely
ultrasonic, and not audible.
26
CHAPTER-6
PROGRAMMING
CHAPTER-6
27
6.PROGRAMMING
6.2 POWER
The Arduino Uno board can be powered via the USB connection or with
an external power supply. The power source is selected automatically.
6.3 MEMORY
28
The Arduino integrated development environment (IDE) is a cross-
platform application written in Java, and is derived from the IDE for the
Processing programming language and the Wiring projects. It is designed to
introduce programming to artists and other newcomers unfamiliar with software
development. It includes a code editor with features such as syntax highlighting,
brace matching, and automatic indentation, and is also capable of compiling and
uploading programs to the board with a single click. There is typically no need
to edit make files or run programs on a command-line interface
Website arduino.cc
29
Arduino programs are written in C or C++ The Arduino IDE comes with
a software library called "Wiring" from the original Wiring project, which
makes many common input/outputs.
Setup (): a function run once at the start of a program that can initialize
settings.
Loop (): a function called repeatedly until the board powers off
30
CHAPTER-7
CONCLUSION
31
CHAPTER-7
CONCLUSION
The paper deals with the wireless sensor-based remote control of mobile
robots’ motion in an unknown environment with obstacles using the Bluetooth
wireless transmission and Sun SPOT technology. Web technologies are
changing the education in robotics. A feature of remote-control laboratories is
that users can interact with real mobile robot motion processes through the
Internet. In this paper the object of the remote control is the Boe- Bot mobile
robot from Parallax. The vehicle has two driving wheels and the angular
velocities of the two wheels are independently controlled. When the vehicle is
moving towards the target and the sensors detect an obstacle, an avoiding
strategy is necessary. A remote control program has been implemented. The
Sun SPOT is designed to be a flexible development platform, capable of hosting
widely differing application modules. We used the SunSPOT base station to
read a file from the controlling computer and send its contents to the second free
range SPOT. The second SunSPOT when receiving the data in turn opens up its
outputs depending on what it received. These outputs control the speed of the
wheels individually. The Hardware basically centers around Sun SPOTs and
DC Motors controlled by Basic Stamp. The Sun SPOT base station will send
data to Sun SPOT on mobile robot which will drive the Basic Stamp controller
to DC IO pins. The microcontroller will drive the Motors which will run the
Boe-Bot mobile robot.
32
7.2 FUTURE WORK
Using this system as framework, the system can be expanded to include
various other options which could include mobile application control of motor
and Wi-Fi controlled monitoring. These will expand the working capability and
efficiency of this prototype. It can be implemented not in agriculture but in
gardens in any places using the sprinkler concept. It has a vast scope when it is
mixed with IOT. Automation will get a new dimension through this.
33
CHAPTER-8
REFERENCES
34
CHAPTER-8
REFERENCES
REFERENCES
36