1. PROJECT PRINCIPLE In this project, the robot is controlled by a mobile phone that makes a call to the mobile phone attached to the robot and robot will traverse according to the command given through the keys of mobile phone, also robot will detect the obstacle with the help of analog LDR sensors used which will response to a particular color of particular range of frequency. The detection of the obstacle will be in such a way that after detecting the obstacle it will not traverse further but will stop at that point and no further command will execute. The obstacle may be in the form of a dig, wall, or any object which is in the path of the robot. If any button is pressed, a tone corresponding to the button pressed is heard at the other end of the call. This tone is called DTMF (dual-tone- multiple-frequency). The robot receives this DTMF tone with the help of the phone attached to the robot using DTMF decoder. The received tone is processed by the (ATmega16) microcontroller with 1
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
1. PROJECT PRINCIPLE
In this project, the robot is controlled by a mobile phone that makes a call
to the mobile phone attached to the robot and robot will traverse
according to the command given through the keys of mobile phone, also
robot will detect the obstacle with the help of analog LDR sensors used
which will response to a particular color of particular range of frequency.
The detection of the obstacle will be in such a way that after detecting the
obstacle it will not traverse further but will stop at that point and no
further command will execute. The obstacle may be in the form of a dig,
wall, or any object which is in the path of the robot.
If any button is pressed, a tone corresponding to the button pressed is
heard at the other end of the call. This tone is called DTMF (dual-tone-
multiple-frequency). The robot receives this DTMF tone with the help of
the phone attached to the robot using DTMF decoder. The received tone
is processed by the (ATmega16) microcontroller with the help of DTMF
decoderMT8870. The decoder decodes the DTMF tone into its equivalent
binary digit and this binary number is sent to the microcontroller. The
microcontroller is programmed to take a decision for any given input and
outputs its decision to the motor drivers in order to drive the motors in
forward direction or backward direction or turn left or right. The mobile
phone that makes a call to mobile phone attached to the robot act as a
remote and the LDR sensors placed on the front end of the robot will be
used for the detection of the obstacle. So this robotic project does not
require the construction of receiver and transmitter units.
1
2. BLOCK DIAGRAM
As shown in above block diagram the main part of the robot is the
ATMEGA 16 microcontroller. Other supporting components required in
the project are connected to the microcontroller. Here we have a GSM
mobile phone attached to the microcontroller, So it acts as a DTMF
generator with tone depending upon key pressed. DTMF decoder, i.e., IC
CM8870 decodes the received tone and gives binary equivalent of it to
the micro-controller.the controller is programmed such that appropriate
output is given to motor driver IC L293D which will drive the 2 dc
motors connected to it. The concept used for driving is DIFFERENTIAL
DRIVE. So ultimately the 2 motors rotate according to the key pressed on
keypad of the cell phone.
2
DTMF DECODER
DTMF DECODER
GSMMOBILE PHONE
GSMMOBILE PHONE
A/D CONVERTOR
ATMEGA
16 µC
ATMEGA
16 µCREGULATED POWER SUPPLY
REGULATED POWER SUPPLY
LDRSENSORS
MOTORS CONNECTED via IC-L298
16*2 LCD
3. PROBLEMS RELATED TO PROJECT
IMPLEMENTATION
1. Sub problem 1
The first sub problem is to establish (produce) a conceptual design based
on the original idea and then develop a detailed design of each of the
different constituents of the system.
2. Sub problem 2
The second sub problem is to develop and build all the components of the
robot and finally integrate them so as to produce the final prototype.
3. Sub problem 3
The third sub problem is to write a code for the functioning of the the
robot in the basic C language with the supporting software
4. Sub problem 4
The fourth sub problem is to test the operation of the built prototype and
assess its performance and limitations.
3
4. GSM CONTROLLED ROBOT
4.1 WORKING
Main function of project is to detect the obstacles like walls , any
unwanted object placed in the path of robot, and controlled using a GSM
mobile phone connected via DTMF(dual tone multiple frequency)
decoder. The mobile phone gives the instruction by pressing the key of
phone .the pressed key will generate a frequency tone which is
transmitted to the microcontroller through DTMF decoder.
When the power is given to the microcontroller, LCD, sensors, motors,
DTMF decoder, are initializes, The robot will traverse in forward,
backward, left, and right direction. The forward command is given by
pressing the ‘2’ key of mobile. Backward command is given by pressing
the ‘8’ key of mobile . Left command is given by pressing the ‘4’ key of
mobile. Right command is given by pressing the ‘6’ key of mobile. The
robot will stop whenever there is an obstacle in the path of robot.
Microcontroller is the central component which controls all the activities
like GSM communication, MOTORS control using pwm techniques,
working of sensors via analog to digital convertors.
In order to do these activities a program (sequence of instructions) must
be written for the microcontroller. This program is called firmware. In
order to execute the program, Microcontroller requires basic
configuration like 5V regulated power supply, clock, and reset circuit.
Microcontroller and IC’s requires 5V regulated power supply, which is
obtained from 230V AC by using step down transformer.
According to the program in the microcontroller, the robot starts moving.
When we press the key '2' (binary equivalent 00000010) on the mobile
4
phone, the microcontroller outputs '10001001' binary equivalent. Port
pins PD0, PD3 and PD7 are high. The high output at PD7 of the
microcontroller drives the motor driver (L293D). port pins PD0 and PD3
drive motors M1 and M2 in forward direction. Similarly, motors M1 and
M2 can move for left turn, right turn, backward motion and stop
conditions.
5
5. COMPONENTS DESCRIPTION
5.1. HT9710 DTMF DECODER IC
The M-8870 is a full DTMF Receiver that integrates both bandsplit filter
and decoder functions into a single18-pin DIP or SOIC package.
Manufactured using CMOS process technology, the M-8870 offers low
power consumption (35 mW max) and precise data handling. Its filter
section uses switched capacitor technology for both the high and low
group filters and for dial tone rejection. Its decoder uses digital counting
techniques to detect and decode all 16 DTMF tone pairs into a 4-bit code.
External component count is minimized by provision of an on-chip
differential input amplifier, clock generator, and latched tri-state interface
bus. Minimal external components required include a low-cost 3.579545
MHz color burst crystal, a timing resistor, and a timing capacitor. The M-
8870-02 provides a “power-down” option which, when enabled, drops
consumption to less than 0.5mW. The M-8870-02 can also inhibit the