Professional Documents
Culture Documents
Submitted by
ABSTRACT
In this project, the robot is controlled by a mobile phone that makes a call to the
mobile phone attached to the robot micro-controller.
In the course of a call, if any key is pressed, a tone corresponding to that key
pressed is heard at the other end of the call.
This tone is called DUAL TONE MULTIPLE-FREQUENCY (DTMF) tone.
The robot perceives this DTMF tone with the help of the phone stacked on the
robot.
The received tone is processed by the microcontroller with the help of decoder
circuit.
Microcontroller then sends signals to the motor driver IC to operate the motors.
The metal detector circuit mounted on the robot detects any metal object around
it and transmits the signal wirelessly.
This robot is password protected.
INDEX
CHAPTER 1 : INTRODUCTION
.4
IC MT8870C
IC 89S51
IC L293D
ROBOT
DTMF
CHAPTER - 1
INTRODUCTION
This project is designed using DTMF( Dual Tone Multiple Frequency) decoder to come
over the problems with RF-ID.
Generally RF-ID has very limited frequency range, limited distance range & limited controls.
But mobile phone using DTMF has working range as the coverage area of the service provider.
Hence user can send our robot anywhere on the earth & control it being at our place.
We have used ATMEGA 16 as the micro-controller of the robot. The IC of DTMF decoder
is MT8870C. This IC receives the DTMF tone from phone through headset. Its inner decoder
circuit converts the tone into respective BCD code.
The BCD output of 8870 IC is given to 89S51. The software code is
burnt to microcontroller IC using ISP programmer. The code is written in C language using
WINAVR - Programmers Notepad. The Hex file of the code is burnt to AVR. AVR
drives 2 DC motors according to the code burnt to it. But the output current available
at the output of the micro-controller is not sufficient to drive motors. Hence we have
used motor driver IC L293D at the output of AVR. And output of driver IC drives
motors.
Power supply circuit is connected to the main circuit. 5V voltage regulator
IC 7805 is used to supply 5V to DTMF decoder and IC 7812 to supply 12 V to AVR & motor
driver L293D. As plugging to AC input does not allow to move the robot more than 3 m range
hence
This circuit requires 12V DC rechargeable battery.
The complete circuit layout is made by EAGLE software.
CHAPTER - 2
LITERATURE SURVEY
2.1 IC MT8870C
This IC is used in this project for following features:
2.2 IC 89S51
This IC is used in this project for following features:
2.3 IC L293D
This IC is used in this project for following features:
Enable facility.
2.4 ROBOT
This robot is manually operated robot by DTMF keypad and decoder circuit . It has ATMEGA
16 Microcontroller . It is password protected . It moves forward, reversed, left ,right and stops
according to programming.
It detects metal objects .
2.5 DTMF
Dual-tone multi frequency signalling (DTMF) is used for telecommunication signalling over
analog telephone lines in the voice frequency band between telephone handsets and other
communications devices and the switching centre.
CHAPTER - 3
SYSTEM DEVELOPMENT
3.1
SYSTEM SPECIFICATIONS :
Mechanical specifications :
ROBOT Dimensions
Length
30cm
Breadth
20 cm
Weight
475 gm
Height
8cm
Maximum speed
200rpm
Material used
Bakelite
Motors used
Electronical specifications :
Input current
Input voltage
output current
output voltage
AVR output
12.06 v
12 V Battery
DC Motor 1
DTMF
Decoder
Mobile
Motor
Driver
89s51
DC Motor 2
DTMF DECODER :
This system uses DTMF IC MT8870C. This IC provides full DTMF receiver capability by
integrating both the band split filter & digital decoder functions into a single 18 pin IC.Inbuilt
decoder circuit converts the DTMF tone into 4 bit BCD output.
89S51 :
This system uses AVR ATMEGA 16.Output of DTMF decoder is parallaly given to the
microcontroller at the lower nibble of port B. The AVR controller then passes the command to
the motor driver ICs for motion.
The output is given to the motor driver IC from upper nibble of port B.
POWER SUPPLY :
This system requires 12V & 5V supply. So battery of 12 volts & 500 mA is used.
LM7812 & LM7805 regulator ICs are used.
MOTOR DRIVER IC :
The output of microcontroller is given to the motor driver IC L293D. As output current of
microcontroller is insufficient to drive the motors; motor driver IC is required. Also it protects
microcontroller IC from large reverse voltage spikes produced by motors.
DC MOTORS :
DC motors are connected to motor driver IC. 12 volts, 100 rpm DC motors are used which
move the wheels.
METAL DETECTOR CIRCUIT :
The metal detector when detects a metal passes a signal turns the buzzer on. So we can use this
robot for detecting the metal.
FORWARD
LEFT
RIGHT
STOP
REVERSE
10
11
12
13
It is the major part of the system which controls all the operation of the circuit such as
motor interfacing. It also decides the control signal to be given to DC motors along with the time
duration for which they should be given.
Pin no.
PA.0
PA.1
PA.2
PA.3
PA.4
PA.5
PA.6
PA.7
Description
Not Connected
Not Connected
Not Connected
Not Connected
Not Connected
Not Connected
Not Connected
Not Connected
Pin no.
PC.0
PC.1
PC.2
PC.3
PC.4
PC.5
PC.6
PC.7
description
Not Connected
Not Connected
Not Connected
Not Connected
Not Connected
Not Connected
Not Connected
Not Connected
PB.0
PB.1
PB.2
PB.3
PB.4
PB.5
PB.6
PB.7
DTMF Decoder
DTMF Decoder
DTMF Decoder
DTMF Decoder
MOTOR DRIVER
MOTOR DRIVER
MOTOR DRIVER
MOTOR DRIVER
PD.0
PD.1
PD.2
PD.3
PD.4
PD.5
PD.6
PD.7
Not Connected
Not Connected
Not Connected
Not Connected
Not Connected
Not Connected
Not Connected
Not Connected
3) VOLTAGE REGULATOR:
14
Two separate voltage regulators are used after the filter capacitor so as to generate constant
DC voltage supply of 5 volts and 12 volts. We have used 7805 and 7812 as a voltage regulator.
Both of them are three pin IC which are namely input, ground and output. We have to give out put
of filter capacitor to the input of regulator, and we get 5 volts and 12 volts supply at the output pin
of the respective regulator.
CRYSTAL CIRCUIT: Diagram: -
Working: - The circuit consists of one crystal and two capacitors. The crystal is used to give the
microcontroller the required periodic pulses to make it function properly. The crystal used in the
project is of 12 MHz. The two capacitors are connected to two pins of the crystal and are grounded
at the other ends
RESET CIRCUIT: Diagram: -
Working: - The circuit gives the required starting pulse to the microcontroller to start the
operation from the very beginning. The 89s51 microcontroller requires the active high reset pulse.
So the capacitor is connected to positive supply and the resistor is grounded.
Pull Up Resistors:
Diagram: -
15
Working: - The microcontroller pins cannot be connected to the MOTOR DRIVER directly
because the microcontroller cannot supply all the required current. So the required remaining
current is provided through the pull-up resistors. They are designed to supply just the enough
current to the motor driver circuit.
DTMF DECODER
16
17
1209 Hz
1336 Hz
1477 Hz
1633 Hz
697 Hz
770 Hz
852 Hz
941 Hz
18
3.7
SYSTEM FLOWCHART:
START
INITIALIZATION
CLEAR ALL BITS
OF MOTOR PINS
INITILIZE DTMF
CODE
READ THE DTMF
PORT
PA0 =
PA1 =
PA2 =
PA3 =
0
1
0
1
PA0 =
PA1 =
PA2 =
PA3 =
1
0
1
0
DTM
F = 2
DT
MF=
8
DT
MF
=4
PA0 =
PA1 =
PA2 =
PA3 =
0
1
0
0
DT
MF
= 6
PA0 =
PA1 =
PA2 =
PA3 =
0
0
0
1
PA0 =
PA1 =
PA2 =
PA3 =
0
0
0
0
DT
MF LAYOUT
3.8 ARTWORK
= 5
PCB Layout
STOP
19
20
CHAPTER - 4
This design can be implemented further in border security & on mine field. It can send CCTV
signals to security system if camera is installed in it. Hence it can be used as real time servellience
system also.
INPUT
INPUT
DIRECTION
MOTOR INPUT
KEYS
FREQUENCY TO
OF MOTION
RECEIVER
( in Hz)
R2
R1
L2
L1
697 - 1336
FORWARD
770 - 1209
LEFT
770 - 1477
RIGHT
852 - 1336
BACKWARD
770 - 1336
STOP
APPLICATIONS: This robot can be used in the borders for disposing hidden land mines.
The robot can be used for reconnaissance or surveillance.
The robot can be used anywhere there is the service provider tower of the connection provided
that is mounted on the robot.
21
CHAPTER - 5
CONCLUSION
Moves in forward direction ,reverse direction. It can turn left or right while moving forward or
in reverse direction.
Instant reverse or forward running without stopping on the spot left or right turn to pass
through the narrow space
On the way it detects metal & buzzes. It starts movement only after checking the password.
22
CHAPTER 6
APPENDIX
Datasheet of
Datasheet of
Datasheet of
Datasheet of
Datasheet of
IC MT8870C
IC 89S51
IC L293D
IC 7805
IC 7812
COMPONENT LIST
Sr.no
1.
2.
3.
Components
Specifications
Price
Quantity
1000microF
100microF
10microF
104picoF
33picoF
22picoF
8
4
2
1
1
1
1
2
1
2
2
2
89s51
L293D
CM8870
7805
7812
125
70
60
10
10
1
1
1
1
1
10k ohm
0.5
Capacitor
ICs
Resistor
23
330k ohm
100k ohm
4.
6.
7.
8.
9.
10.
11.
12.
2
2
8
9
1
1
175
50
80
475
150
200
3
2
2
1
1
1
1
4
Crystal oscillator
11.0592MHz
3.579545 MHz
5.
0.5
0.5
LED
Motor
Wheels
Castro wheel
Battery
Mobile headphone
Robot Chassis
2 Pin connectors
12 volts,100 rpm
(Freewheeling)
12v
TOTAL COST
1679
24
CHAPTER -7
REFERENCES
25