Instructables

Cellphone operated Robot

Picture of Cellphone operated Robot
Conventionally, Wireless-controlled robots use rf circuits, which have the drawbacks of limited working range, limited frequency range and the limited control. Use of a mobile phone for robotic control can overcome these limitations. It provides the advantage of robust control, working range as large as the coverage area of the service provider, no interference with other controllers and up to twelve controlles.
Although the appearance and the capabilities of robots vary vastly, all robots share the feature of a mechanical, movable structure under some form of control. The Control of robot involves three distinct phases: perception, 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 is perfomed using motors or with some other actuators.

i want to make it clear, if you face any problem i am dere for you
, you can write comments or you can mail me at nitin_spd@yahoo.co.in
 
Remove these adsRemove these ads by Signing Up

Step 1: PROJECT OVERVIEW

Picture of PROJECT OVERVIEW
dtmf.jpg
In this project the robot, is controlled by a mobile phone that makes call to the mobile phone attached to the robot in the course of the call, if any button is pressed control corresponding to the button pressed is heard at the other end of the call. This tone is called  dual tone multi frequency tome (DTMF) robot receives this DTMF tone with the help of 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 in to its equivalent binary digit and this binary number is send to the microcontroller, the microcontroller is preprogrammed to take a decision for any give 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 ofreceiver and transmitter units.
DTMF signaling is used for telephone signaling over the line in the voice  frequency band to the call switching center. The version of DTMF used for telephone dialing is known as touch tone.
DTMF assigns a specific frequency (consisting of two separate tones) to each key s that it can easily be identified by the electronic circuit. The signal generated by the DTMF encoder is the direct al-gebric submission, 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 1336hz and 770hz to the other end of the mobile. The tones and assignments in a dtmf system shown below

Step 2: Circuit Description

Picture of Circuit Description
blockdiagram.jpg
Figures shows the block diagram and cicuit diagram of the microcontroller- based robot. The important components of this robot are 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 decodeall the sixteen DTMF tone pairs in to a four bit code output. The built -in dila tone regection circuit eliminated the need for pre- filtering. When the input signal given at pin2 (IN-) single ended input configuration is recognized to be effective, the correct four bit decode signal of the DTMF tone is transferred to Q1 (pin11) through Q4(pin14) outputs.
The atmega 16 is a low power, 8 bit, cmos microcontroller based on the AVR enhanced RISC architecture. It provides the following feature: 16kb of in  system programmable flash memory with read write capabilities, 512bytes of EEPROM, 1KB SRAM, 32 general purpose input/output lines. 32 general purpose working registers. All the 32 registers are directly connected to the arithmetic logic unit, allowing two independent registers to be accessed in one signal 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 respectively, to drive geared motors. Switch S1 is used for manual reset.

the notations are :
ic1 - mt8870
ic2 - atmega16
ic3 - l293d
ic4 - cd7004
r1,r2 - 100k resistances
r3 - 330k resistances
r4-r8 - 10k resistances
c1- 0.47 micro farat capacitor
c2,c3,c5,c6 - 22pfarat capacitor
c4 - 0.1micro farat capacitor
xtal1 - 3.57 mhz crytal
xtal2 - 12mhz crystal
s1 - push to on switch
m1,m2 - 6v 50rpm motor
batt- 6v

Step 3: Software description (the hex code)

the Avr microcontroller is programmed using WIN AVR
for beginners have a look at this instructable first

http://www.instructables.com/id/Ghetto-Programming%3a-Getting-started-with-AVR-micro/

this is the way to pogram the avratmega 16
look at the pin diagram of atmega16 and then connect the pins acordingly (if u have any problem then feel free to write me)
i have attached the full code. The header file will be included automatically if u have installed the winavr in default location

Step 4: Working

In order to control the robot, you have to make a call to the cellphone attached to the robot from any phone.
now the phone is picked by the phone on the robot through autoanswer mode(which is in the phn, just enable it).
now when you press 2 the robot will move forward
when you press 4 the robot will move left
when you press 8 the robot will move backwards
when you press 6 the robot will move right
when you press 5 the robot will stop.



Step 5: Construction

for constructing this robot, you require these components
Components used:-
" MT8870 DTMF DECODER - 1
" Atmega 16 microcontroller - 1
" L293d motor driver ic - 1
" Cd7004 not gate ic - 1
" 1n4007 diode - 1
" 100k resistances - 2
" 10 k resistances - 5
" 330 k resistances - 1
" 0.47mf capacitors - 1
" 0.1mf capacitors - 1
" 22pf capacitors - 4
" 3.57mhz crystal - 1
" 12mhz crystal - 1
" Push to on switch - 1
" 2 geared motors (6v, 50 rpm) - 2 (4 for four wheel drive)
" Battery 6v - 1
  • wheels - 4
  • cellphone - 2 (one urs and one can be ur frnds)
  • handsfree - 1 (for the phn on the rover)

you have to place a cellphone on the rover. The cellphone is connected to the rover through a handsfree. construct the rover in the shape which is given below.

You can get these parts from any electronic store with ease

Step 6: To connect the hands free with the circuit

there are always two connections which come out of the phone,
these connections are
1. Tip
2. Ring
i'll prefer to use handsfree which have a straight jack (similar to the ones which we use in our ipods, but a thinner one)


the tip of that jack is called the "tip"
and the rest part behind the tip after a black strip is the ring So connect these two connections with the circuit and you will be done

Step 7: THe ENd

Follow tese steps and you are done. but if you face any problem feel free to write comments or mail me at nitin_spd@yahoo.co.in
1-40 of 251Next »
deversh2 months ago

hi , i m using an atmega16 microcontroller for my dtmf operated car. i have used 4 motors. i cannot get my code right . please help me with the code if possible

20140425_213619.jpg
Darwesh Murad3 months ago

Can't understand anything

Can you make it more simple for me to understand!!!!!!!!

234asdf4 months ago

sir ,pls email me source code at manish.kumar7876@yahoo.com

pls email me source code at pranshu.aggarwal53@gmail.com
Ayush271 year ago
it has provided with a sleek idea for my bot...
mamzar1 year ago
hye..
im very interested in GMS or DTMF projects
i want to learn it
could u please mail me a soft copy of your project along with circuits and datasheet ?
thankyou so much in advance and im waiting for your reply
rani19931 year ago
hiiiii.....

i am working on this same project......

i use ATMEGA16 controller ic.

my problem is that the controller's port-D is connected to motor driver ic-L293D. But i don't get the output from port-D thus i don't give the output signal to both DC motors. So what is problem in my circuit??????



please give me some answer as possible........
aaaooo601 year ago
can you tell in depth that why you use ic4 cd7004 in this robot.
PICHIRS1 year ago
sir, when i connect the circuit to power supply the robot moves forward although the tip and ring is not connected to mobile phone.can u suggest me where the problem is???????????
mendojoel1 year ago
There is a thyristor seen in your circuit, why is it not mentioned in your circuit diagram? I also would like to know which file should i burn in my ATMEGA16 and the best possible way....Thanks :)
papo21101 year ago
can i purchas the board already made from you and how mych
jay8son1 year ago
Can I use Programmable IC in this project? and can I use a 3g cellphone and I will use 3G video calling so that it will have a camera integrated the landrover it? reply soon. I need your help. thanks.
jay8son1 year ago
Can I use Programmable IC in this project? and can I use a 3g cellphone and I will use 3G video calling so that it will have a camera integrated the landrover it?
vikas2043 years ago
hey can u tell what type this hansfree is this. i have asked about this in market but no one knows about this. can u suggest me some way. rplyy soon
jus call the mobile which is connected to project and then control wirelessly.
note: mobile should be on self answering mode
hiii can u send me da abstract of this project plz
its a mobile controllable wired or wireless robot. generally it works on the frequency variation concept.
psingh371 year ago
sir, can u pls send me the report on DTMF based robot control . my email id is
paurushsingh755@gmail.com
psingh371 year ago
sir, can u pls send me the report on DTMF BASED ROBOT CONTROL .
king20112 years ago
very good great job i have more than idea about this
dakudiv2 years ago
Very nicely compiled explanation. People looking for Code for decoding DTMF using Arduino ,can refer to this link here
Our team used Microcontroller Project board from Embedded For You magazine @ AET Design Lab.
satishsaka2 years ago
plz send the soft copy to satishbabusaka06@gmail.com
satishsaka2 years ago
SATISHSAKA
sir can u send a softy copy to this mail : satishbabusaka06@gmail.com
yclim902 years ago
sir,
i am interested in making mobile controlled robot, can u please send
me the steps and the things to use in making robot...
my email is (y.c.lim_chaw823@hotmail.com)..

Hope to get your reply soon...Thank you..
pls help... i have made this cicuit the problem i am facing is i am not getting o\p from dtmf decoder IC i m stuck in this thing from past 1month previously it was working absolutely fine..pls help any1
thankyou for the detailed description. i'm obliged. thanks again
asif592 years ago
...I am very interested to launch this project.....I work with PIC 18f452....can I build it using this ? Plz help me with ur advice....mail me : saurov1159@yahoo.com
finalpro21b2 years ago
Can u provide .hex file for Atmega32A & program That can buid in Avrstudio4 our emai is finalpro21b@gmail.com
can u provide ur email?
sir can u send me a soft copy to this mail
thejeswarareddy789@gmail.com
yadav3663662 years ago
if i will use microcontroller 8051, instead of using ATMEGA16.is there any problem in programme or circuit?
hans lal2 years ago
if i will use microcontroller 8051, instead of using ATMEGA16.is there any problem because i have made the circuit using 8051 microcontroller of land rover project.?
sir,
iam interested in making mobile controled robot,so can u please send
me the steps and the things to use in making robo.please se ti to my
email (manikantak136@gmail.com)
thankyou.....!
longjasp2 years ago
HEllo sir.., thnx for this idea.. Can i use microcontroller P16f84a or any 16f with the same dtmf decoder? then can i use pic basic language for the programming the microcontrller?

Need ur reply.. thnx
spratap2 years ago
Hello sir,
Could u provide the full circuit description this circuit so i can work on it.My email id is surved18sep@yahoo.co.in .
ejimenez62 years ago
sir my decoder ic is CM8870PI .. .can you give me the proper circuit diagram for this ic? thx
kyagendra2 years ago
sir!
i have an IC of ATMEGA32
can i use your hex code of atmega16 to burn into atmega32????
shoud it work properly???
or would we have to change something in hex program
plz...... tell me sir???
ashishggct2 years ago
thanks instructables...for this awesome project discription.
Hii sir,
can u give me All the document of this projects
my mail id is dvndra.b87@gmail.com
mnadeem2 years ago
can you please forward all the documentation available related to the project
Aflaatoon_Masti@hotmail.com
Sawan302 years ago
please send all data to sawan.maheshwari30@gmail.com
1-40 of 251Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!