Introduction: Phone Calling Arduino Robot Using Dtmf Decoder

hello guys..

our new and one of the best project phone calling arduino robot

using dtmf decoder module based on arduino...

What is DTMF?
DTMF is a Dual Tone Multiple Frequency decoder module which has a MT8870 DTMF decoder IC which decodes DTMF tone signal to digital signal that are acceptable for arduino digitally. Here an aux wire is needed for connecting DTMF module to phone.

Step 1: Components

Picture of Components

Step 2: Block Diagram for DTMF Robot

Picture of Block Diagram for DTMF  Robot

Remote section:- This section’s main component is DTMF. Here we get a tone from our cellphone by using aux wire to DTMF Decoder IC namely MT8870 which decodes the tone into digital signal of 4bit.

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 arduino sends respective command to driver section.

Driver section:-driver section consists 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 we add a motor driver circuit to get enough voltage and current for motor. By collecting commands from arduino motor driver drive motor according to commands.

Step 3: Circuit Diagram

Picture of Circuit Diagram

arduino and motor driver connection:-

motor driver l293d have 16pin.....

1,8,9and 16pin is connect to +5v

and 5,6,12 and 13 pin is connect to gnd...

2pin of l293d is connect to 3pin of arduino

7pin of l293d is connect to 4pin of arduino

10 pin of l293d is connect to 5pin of arduino

15pin of l293d is connect to 6pin of arduino

arduino and dtmf connection:-

d0 pin of dtmf connect to a5 analog pin arduino

d1 pin of dtmf connect to a4 analog pin of arduino

d2 pin of dtmf connect to a3 analog pin of arduino

d3 pin of dtmf connect to a2 analog pin of arduino

aux wire connection:-

black and red wire of aux cable is connect to dtmf ...

Step 4: Working Principle

Picture of Working Principle

DTMF controlled robot run by some commands that are send via mobile phone......at 1st we will call from user mobile then..and that receiver phone is connect to robot...this phone is connected by aux wire to dtmf module for receive commands from user mobile..

First we make a call by using remote user phone to receiver phone and then attend the call by manually answer mode. Now here is how this DTMF controlled robot is controlled by cell phone:-

When we presses ‘2’ by remote phone, robot start to moving forward and moving continues forward until next command comes.

then.. we presses ‘4’ by remote phone, robot change his state and start moving in backward direction until other command comes.

When we press ‘0’, Robot get turn left and When we press ‘8’, robot turned to right...

And to stop robot we press‘5’..........

Step 5: Uploading Code

plz copy the code below..and paste to arduino..

at 1st compile and then upload...

#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); digitalWrite(m12, HIGH); digitalWrite(m21, LOW); digitalWrite(m22, HIGH); } void left(){ digitalWrite(m11, HIGH); digitalWrite(m12, LOW); digitalWrite(m21, LOW); digitalWrite(m22, LOW);} void right(){ digitalWrite(m11, LOW); digitalWrite(m12, LOW); digitalWrite(m21, HIGH); digitalWrite(m22, LOW);} void Stop(){ digitalWrite(m11, LOW); digitalWrite(m12, LOW); digitalWrite(m21, LOW); digitalWrite(m22, LOW);} void setup() { pinMode(D0, INPUT); pinMode(D1, INPUT); pinMode(D2, INPUT); pinMode(D3, INPUT); pinMode(m11, OUTPUT); pinMode(m12, OUTPUT); pinMode(m21, OUTPUT); pinMode(m22, OUTPUT);} void loop() { int temp1=digitalRead(D0); int temp2=digitalRead(D1); int temp3=digitalRead(D2); int temp4=digitalRead(D3); if(temp1==0 && temp2==1 && temp3==0 && temp4==0) forward(); else if(temp1==0 && temp2==0 && temp3==1 && temp4==0) left(); else if(temp1==0 && temp2==1 && temp3==1 && temp4==0) right(); else if(temp1==0 && temp2==0 && temp3==0 && temp4==1) backward(); else if(temp1==1 && temp2==0 && temp3==1 && temp4==0) Stop();}

Step 6: Result

hello guys...plz watch this projects on you tube how to make this project easily step by step...

of our channel s_r tronics...

plz keep supporting us....also dont forget to subscribe and do comment and likes..

Comments

About This Instructable

597views

15favorites

License:

Bio: GUYS FOLLOW US AT OUR FB PAGE ..DO LIKE ND SHARE ..OUR YOUTUBE CHANNEL IS S_R TRONICS...WATCH..TRY..INNOVATE..TASTE THE SUCCESS..THANK U..
More by Sukanta bera:Phone Calling Arduino Robot Using Dtmf DecoderGesture Controlled Robot Using MATLABMultifunction Biped Arduino Robot
Add instructable to: