INTRODUCTION
Conventionally, wireless-controlled robots use RF circuits,which have the drawbacks of limited working range, limited frequency range and limited control. Use of a mobile phone for robotic control can overcome these limitations. It provides the advantages of robust control, working range as large as the coverage area of the service provider,no interference with other controllers and up to twelve controls.Although the appearance and capabilities of robots vary vastly, all robots share the features of a mechanical, movable structure under some form of control. The control of robot involves three distinct phases: reception, processing and action. Generally, the preceptors are sensors mounted on the robot, processing is done by the on-board microcontroller or processor, and the task (action) is performed using motors or with some other actuators.
PROJECT OVERVIEW
In this project, the robot is controlled by a mobile phone that makes a call to the mobile phone attached to the robot. In the course of a call, 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 ‘dual-tone multiple-frequency’ (DTMF) tone. The robot perceives this DTMF tone with the help of the phone stacked in the robot. The received tone is processed by the ATmega16 microcontroller with the help of DTMF decoder MT8870. The decoder decodes the DTMF tone into its equivalent binary digit and this binary number is sent to the microcontroller.The microcontroller is preprogrammed to take a decision for any given input and outputs its decision to motor drivers in order to drive the motors for forward or backward motion or a turn. The mobile that makes a call to the mobile phone stacked in the robot acts as a remote. So this simple robotic project does not require the construction of receiver and transmitter units. DTMF signaling is used fr telephone signaling over the line in the voice-frequency band to the call switching centre. The version of DTMF used for telephone tone dialing is known as ‘Touch-Tone.’DTMF assigns a specific frequency (consisting of two separatetones) to each key so that it can easily be identified by the electronic circuit. The signal generated by the DTMF encoder is a direct algebraic summation, in real time, of the amplitudes of two sine (cosine)waves of different frequencies, i.e., pressing ‘5’ will send a tone made by adding 1336 Hz and 770 Hz to the other end of the line. The tones and assignments in a DTMF system are shown in Table I.
SCEMATIC OF CELLPHONE OPERATED LANDROVER
CIRCUIT DESCRIPTION
Fig. 1 shows the block diagram of the microcontroller-based mobile phoneoperated land rover. The important components of this rover are a DTMF decoder, microcontroller and motor driver. An MT8870 series DTMF decoder is used here. All types of the MT8870 series use digital counting techniques to detect and decode all the 16 DTMF tone pairs into a 4-bit code output. The built-in dial tone rejection circuit eliminates the need for pre-filtering. When the input signal given at pin 2 (IN-) in single-ended input configuration is recognised to be effective, the correct 4-bit decode signal of the DTMF tone is transferred to Q1 (pin 11) through Q4 (pin 14) outputs. Table II shows the DTMF data output table of MT8870. Q1 through Q4 outputs of the DTMF decoder (IC1) are connected to port pins PA0 through PA3 of ATmega16 microcontroller (IC2) after inversion by N1 through N4,respectively. The ATmega16 is a low-power, 8-bit, CMOS microcontroller based on the AVR enhanced RISC architecture. It provides the following features: 16 kB of in-system programmable Flash program memory with read-while-write capabilities, 512 bytes of EEPROM, 1kB SRAM, 32 general-purpose input/output (I/O) lines and 32 general-purpose working registers. All the 32 registers re directly connected to the arithmetic logic unit, allowing two independent registers to be accessed in one single instruction executed in one clock cycle. The resulting architecture is more code-efficient. Outputs from port pins PD0 through PD3 and PD7 of the microcontroller are fed to inputs IN1 through IN4 and enable pins (EN1 and EN2) of motor driver L293D, espectively, to drive two geared DC motors. Switch S1 is used for manual reset. The microcontroller output is not sufficient to drive the DC motors, so current drivers are required for motor rotation. The L293D is a quad, high-current, half-H driver designed to provide bidirectional drive currents of up to 600 mA at voltages from 4.5V to 36V. It makes it easier to drive the DC motors. The L293D consists of four drivers. Pin IN1 through IN4 and OUT1 through OUT4 are input and output pins, respectively, of driver 1 through driver 4. Drivers 1 and 2, and drivers 3 and 4 are enabled by enable pin 1 (EN1) and pin 9 (EN2), respectively. When enable input EN1 (pin 1) is high, drivers 1 and 2 are enabled and the outputs corresponding to their inputs are active. Similarly, enable input EN2 (pin 9) enables drivers 3 and 4. An actual-size, single-side PCB for cellphone-operated land rover is shown in Fig. 4 and its component layout in Fig. 5.
PCB LAYOUT FOR CELLPHONE OPERATED LANDROVER
SOFTWARE DESCRIPTION
The software is written in ‘C’ language and compiled using CodeVision AVR ‘C’ compiler. The source program is ed into hex code by the compiler. Burn this hex code into ATmega16 AVR microcontroller.The source program is well commented and easy to understand. First include the register name defined specifically for ATmega16 and also declare the variable. Set port A as the input and port D as the output. The program
will run forever by using ‘while’ loop. Under ‘while’ loop, read port A and test the received input using ‘switch’ statement. The corresponding data will output at port D after testing of the received data.
WORKING
In order to control the robot, you need to make a call to the cell phone attached to the robot (through head phone) from any phone, which sends DTMF tunes on pressing the numeric buttons. The cell phone in the robot is kept in ‘auto answer’ mode. (If the mobile does not have the auto answering facility, receive the call by ‘OK’ key on the rover-connected mobile and then made it in hands-free mode.) So after a ring, the cellphone accepts the call. Now you may press any button on your mobile to perform actions as listed in Table III. The DTMF tones thus produced are received by the cellphone in the robot. These tones are fed to the circuit by the headset of the
cellphone. The MT8870 decodes the received tone and sends the equivalent binary number to the microcontroller. According to the program in the microcontroller, the robot starts moving.When you press key ‘2’ (binary equivalent 00000010) on your mobile 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 (as per Table III). Similarly, motors M1 and M2 move for left turn, right turn, backward motion and stop condition as per Table III.
CONSTRUCTION
When constructing any robot, one major mechanical constraint is the number there a two-wheel drive or a four-wheel ive. Though four-wheel drive is more complex than two-wheel drive, it provides more torque and good control. Two-wheel drive, on the other hand, is very easy to construct. Top view of a four-wheel-driven land rover is shown in Fig. 3. The chassis used in this model is a 10×18cm2 sheet made up of parax. Motors are fixed to the bottom of this sheet and the circuit is affixed firmly on top of the sheet. A cellphone is also mounted on the sheet as shown in the picture. In the four-wheel drive system, the two motors on a side are controlled in parallel. So a single L293D driver IC can drive the rover. For this robot, beads affixed with glue act as support wheels.
PROGRAM FOR CELLPHONE OPERATED LANDROVER
Source program:
Robit.c
#include
void main(void)
{
unsigned int k, h;
DDRA=0×00;
DDRD=0XFF;
while (1)
{
k =~PINA;
h=k & 0x0F;
switch (h)
{
case 0×02: //if I/P is 0×02
{
PORTD=0×89;//O/P 0×89 ie Forward
break;
}
case 0×08: //if I/P is 0×08
{
PORTD=0×86; //O/P 0×86 ie Backward
break;
}
case 0×04:
{
PORTD=0×85; // Left turn
break;
case 0×06:
{
PORTD=0x8A; // Right turn
break;
}
case 0×05:
{
PORTD=0×00; // Stop
break;
}
}
}
}
where is the table III plz tell me
ReplyDeletespecifications of dc motor for mobile controlled landrover
ReplyDeletewe want to change the mobile as a 3G for the purpose of viewing object. it is possible then how?pls tell me......
ReplyDeletewhich connector can be used for programming the microcontroller
ReplyDeletegandu log kuch aata hai ki nai
ReplyDeletewe r not getting the 6v 50rpm motors wat can v do alternate for this motor
ReplyDeletehow much distance can we control d vehicle?
ReplyDeleteWhat software you used to make the wiring????
ReplyDeletenice project which is presently taken up by my friends.
ReplyDeletehi.... plz give me more information about this project...
Deletei like the project and u have mentioned table 3 but were is the table three and also can i know more information about this,
ReplyDeleteGreat stuff as always!I am really impressed by the way of presenting your great experience and knowledge here with us...Keep it up..pcb design
ReplyDeleteit is now we can change a multi purpose idea,which can extended in to thevarious ideas think yourself extend ideas
DeleteIt's great that you are getting thoughts from this post as well as from our dialogue made at this time.
ReplyDeleteMy webpage - The web’s premiere DJ community
Appreciating the ԁeԁicatіon you put іnto уour blog and in dеpth information you offer.
ReplyDeleteIt's great to come across a blog every once in a while that isn't the samе out of date rеhаshed material.
Fantastiс rеad! I've saved your site and I'm іncluding your RSS feedѕ tο my Gοogle aссount.
Lοok into my blog; stealthgenie
Hey! This is kind of off topic but I need some help from an established blog.
ReplyDeleteIs it very difficult to set up your own blog? I'm not very techincal but I can figure things out pretty fast. I'm thinking about making my own but I'm not sure where to start. Do you have any tips or suggestions? Thanks
Also visit my site: The web’s premiere DJ community
Informative article, exactly what I was looking
ReplyDeletefor.
my blog post: solavei
Thanks for sharing your info. I really appreciate your efforts and I will be waiting
ReplyDeletefor your further post thanks once again.
My web-site solavei
Hi there to all, since I am in fact keen of reading this
ReplyDeletewebsite's post to be updated regularly. It carries fastidious information.
Also visit my web site ... http://www.Aaalpacas.Com/
Howdy! I understand this is sort of off-topic but I had to ask.
ReplyDeleteDoes managing a well-established website such as yours require
a large amount of work? I'm brand new to operating a blog but I do write in my diary every day. I'd like to start a blog so I will be able to share my own experience and thoughts online.
Please let me know if you have any recommendations or
tips for brand new aspiring bloggers. Thankyou!
my webpage: solavei
Wonderful blog! Do you have any tips for aspiring writers? I'm planning to start my own blog soon but I'm a little lost
ReplyDeleteon everything. Would you suggest starting with a free platform
like Wordpress or go for a paid option? There are so many
options out there that I'm completely confused .. Any tips? Thanks!
Stop by my site ... Singapore home loan
Hello just wanted to give you a brief heads up
ReplyDeleteand let you know a few of the images aren't loading correctly. I'm not sure why but I think its a linking issue.
I've tried it in two different browsers and both show the same results.
Feel free to surf to my web-site: Loans
Hey I know this is off topic but I was wondering if you knew of any
ReplyDeletewidgets I could add to my blog that automatically tweet my newest twitter updates.
I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.
Also visit my webpage: how can i get credit with bad credit
I WANT A MOBILE CONTROLLED SWITCH... CIRCUIT.
ReplyDeleteWHOULD ANY ONE HELP ME....