Professional Documents
Culture Documents
CHAPTER -1
INTRODUCTION
These technologies are used to develop machines that can substitute for
humans and replicate human actions. Robots can be used in many situations
and for lots of purposes, but today many are used in dangerous environments
(including bomb detection and deactivation), manufacturing processes, or where
humans cannot survive (e.g. in space). Robots can take on any form but some
are made to resemble humans in appearance. This is said to help in the
acceptance of a robot in certain replicative behaviors usually performed by
people. Such robots attempt to replicate walking, lifting, speech, cognition, and
basically anything a human can do. Many of today's robots are inspired by
nature, contributing to the field of bio- inspired robotics.
Many robots are built to do jobs that are hazardous to people such as
defusing bombs, finding survivors in unstable ruins, and exploring mines and
shipwrecks. Robotics is also used in STEM (science, technology, engineering, and
mathematics) as a teaching aid. Now presently we are using most powerful
technology i.e, DTMF in the robot design.
We can control the Robot using Dual Tone Multi Frequency (DTMF)
technology. DTMF technology is most useful technique at present days. It is
worked on to methods digital signal processing (DSP). Wireless-control of robots
uses RF circuit that has the drawbacks of limited working range and limited
control. This DTMF is gives advantage over the RF; it increases the range of
working and also gives good results in case of motion and direction of robot
using mobile phone through micro controller. This type of wireless
communication gives the remote handling operation of Robot using DTMF.
CHAPTER -2
ADOPTED METHODOLOGY
2.1 Block Diagram:
2.3 Explanation:
Motor driver’s input pins 2,7,10,15 are connected at Arduino digital pins
6,5,4,3 respectively. Here we used two dc motors to drive robot in which one
motor is connected at output pin of motor driver 3 and 6 and another at 11 and
14 pin . A 9V battery is to power the motor driver for driving motors. DTMF
decoder is plugged into a mobile using a aux wire for receiving DTMF tone. DTMF
decoder pin DO-D3 are directly to Arduino pins 19,18,17,16. In this we use two
9v batteries one is connected to motor driver IC pin 8 and other for remaining
circuit.
2.4 Required Components:
Arduino UNO
DC motor
Mobile phone
DTMF decoder(HT9170B)
Motor driver (L239D)
9V battery
Robot chassis with wheels
Connecting wires
Jumpers
The Arduino Uno can be powered via the USB connection or with an
external power supply. The power source is selected automatically. External
(non-USB) power can come either from an AC-to-DC adapter (wall-wart) or
battery. The adapter can be connected by plugging a 2.1mm center-positive plug
into the board's power jack. Leads from a battery can be inserted in the Gnd and
Vin pin header of the POWER connector. The board can operate on an external
supply of 6 to 20 volts. If supplied with less than 7V, however, the 5V pin may
supply less than five volts and the board may be unstable. If using more than
12V, the voltage regulator may overheat and damage the board. The
recommended range is 7 to 12 volts.
Department of ECE Page 5
DTMF BASED ROBOT USING ARDUINO
Power USB:
Arduino board can be powered by using the USB cable from your
computer. All you need to do is connect the USB cable to the USB
connection (1).
Voltage Regulator:
The function of the voltage regulator is to control the voltage given to
the Arduino board and stabilize the DC voltages used by the processor and
other elements.
Crystal Oscillator:
The crystal oscillator helps Arduino in dealing with time issues. How
does Arduino calculate time? The answer is, by using the crystal oscillator.
The number printed on top of the Arduino crystal is 16.000H9H. It tells us
that the frequency is 16,000,000 Hertz or 16 MHz
Arduino Reset:
You can reset your Arduino board, i.e., start your program from the
beginning. You can reset the UNO board in two ways. First, by using the
reset button (17) on the board. Second, you can connect an external reset
button to the Arduino pin labeled RESET (5).
ICSP pin:
Mostly, ICSP (12) is an AVR, a tiny programming header for the
Arduino consisting of MOSI, MISO, SCK, RESET, VCC, and GND. It is often
referred to as an SPI (Serial Peripheral Interface), which could be
considered as an "expansion" of the output. Actually, you are slaving the
output device to the master of the SPI bus.
TX and RX LEDs:
On your board, you will find two labels: TX (transmit) and RX
(receive). They appear in two places on the Arduino UNO board. First, at
the digital pins 0 and 1, to indicate the pins responsible for serial
communication. Second, the TX and RX led (13). The TX led flashes with
different speed while sending the serial data. The speed of flashing
depends on the baud rate used by the board. RX flashes during the
receiving process.
AREF:
AREF stands for Analog Reference. It is sometimes, used to set an
external reference voltage (between 0 and 5 Volts) as the upper limit for the
analog input pins.
Digital I/O:
The Arduino UNO board has 14 digital I/O pins (15) (of which 6
provide PWM (Pulse Width Modulation) output. These pins can be
configured to work as input digital pins to read logic values (0 or 1) or as
digital output pins to drive different modules like LEDs, relays, etc. The
pins labeled “~” can be used to generate PWM.
2.5.5 DC Motors:
DC motors are electric motors that are powered by direct current (DC),
such as from a battery or DC power supply. Their commutation can be brushed
or brushless. The speed of a brushed DC motor can be controlled by changing
the voltage alone. RPM is one of the most important specifications of a DC motor.
RPM, which stands for revolutions per minute, is the amount of times the shaft
of a DC motor completes a full spin cycle per minute. A full spin cycle is when
the shaft turns a full 360°. the motor will spin 2400 times per minute when fed 3
volts DC into it.
Jumper wires are simply wires that have connector pins at each end,
allowing them to be used to connect two points to each other without soldering.
Jumper wires are typically used with breadboards and other prototyping tools in
order to make it easy to change a circuit as needed.
Jumper wires typically come in three versions: male-to-male, maleto-
female and female-to-female. The difference between each is in the end point of
the wire. Male ends have a pin protruding and can plug into things, while female
ends do not and are used to plug things into. Male-to-male jumper wires are the
most common and what you likely will use most often. When connecting two
ports on a breadboard, a male-to- male wire is what you’ll need.
2.5.8 BATTERY:
Decoder decodes the DTMF tone into its equivalent binary digit and this
binary sent to Arduino.
CHAPTER -3
SOFTWARE DESCRIPTION
3.1 Software Development:
For the software development process, the group followed the following
procedures:
• The initial values are set and the I/O ports are initialized.
• Each sensor reading is set to the driest state to obtain uniform values for
calibration.
• After calibration, the program reads the value of the sensors one at a time,
populating each array index.
• On each array index, the program checks the value returned by the sensor
and analyzes the state of the soil.
• If the soil is dry, the driver circuit activates and the solenoid valve opens. If
the soil is not dry, the program proceeds to check the next array index,
and;
• The program also checks if the end of the array index is reached. The
program runs on a loop—checking the array indices one at a time.
• Connect the load (solenoid valves) to the 12V output of the power supply
and the relay switch to control the valve operation;
• Connect the corresponding pins of the microcontroller to control the
activation of the relays (see Figure 3.3 for the pin configurations);
• Connect the soil moisture sensor module to the microcontroller, and;
• Upload the program to the microcontroller using the Arduino IDE.
The open-source Arduino Software (IDE) makes it easy to write code and
upload it to the board. It runs on Windows, Mac OS X, and Linux. The
environment is written in Java and based on Processing and other open-source
software. This software can be used with any Arduino board. For latest software:
- https://www.arduino.cc/en/Main/Software
• Arduino was born at the Ivrea Interaction Design Institute as an easy tool
for fast prototyping, aimed at students with or without a background in
electronics and programming.
• Arduino is an open-source prototyping platform based on easy to use
hardware and software.
CHAPTER-4
PROJECT DESCRIPTION
4.1 Working of DTMF Robot Based Using Arduino:
DTMF controlled robot will run by some commands which are given
through mobile phone. In this project we use two mobile phones, one is
user mobile phone that is called as ‘remote phone’ and the other is
‘receiver phone’.
First we make a call from remote phone to receiver phone and attend the
call through automatic answer mode or by manually. Here we will show
how DTMF is controlled by mobile.
• Control section:
Arduino UNO is used for controlling whole the process of robot.
Arduino reads commands sent by DTMF decoder and compare with define
code or pattern. If commands are match sends respective command to
driver section.
• Driver section:
This section consists of motor driver and two Dc motors. Motor
driver is used for driving motors because Arduino does not supply enough
voltage and current to motor. So motor driver is added to get enough
voltage and current for motor.
4.5 Code:
#define m11 3
#define m12 4
#define m21 5
#define m22 6
#define D0 19
#define D1 18
#define D2 17
#define D3 16
Void forward()
{
digitalWrite(m11,HIGH);
digitalWrite(m12,LOW);
digitalWrite(m21,HIGH);
digitalWrite(m22,LOW);
}
Void backward()
{
digitalWrite(m11,LOW);
4.6 Advantages:
Wide range of operation i.e., It can operate throughout worldwide.
Analysis becomes very easy, because it uses simple digital
signal techniques.
Connections are easily made.
4.7 Limitations:
DTMF robot may not work properly if it is operated with another
mobile when there is no signal.
System stops working when any obstacle comes.
4.8 Precautions:
Be aware of bread board connections.
Be aware of positive and negative terminals
4.9 Applications:
This type of wireless communication gives the security of robots
when the owner is not present.
Operating robot from a remote place anywhere in the world with any
telecommunication device.
DTMF robot with human detector sensor can be used at the time of
disasters like earthquakes to detect humans under buildings.
Military and Enforcement.
Chapter - 5
5.1 Result:
Hence, The DTMF Based Controlled Robot using Arduino gives the
movements in forward, backward, left and right directions. When the buttons are
pressed in the remote phone. The movements are possible with DTMF Decoder IC
[HT9170 B].
Conclusion:
By developing this DTMF based robot, we achieved a long range of
operation, that is the main drawback of RF communication based robot and
very flexible movements are possible with this robot. It provides the advantages
of robust control, working range as large as the coverage area of the service
provider and it has the applications over military and law enforcement, search
and rescue, scientific and home appliance control. with these applications we
can say that this robot is very useful. and it is very faster compared to any
other robot with RF communication system.
Future Scope:
• IR Sensors
• Password Protection
• Alarm phone Dialer
• Adding a Camera
References:
https://youtu.be/0VmEEWaQ5Rw
www.wikipedia.org
www.engineerprojects.info
www.engineersgarage.com
www.elementzonline.com
Department of ECE Page 25