1$ Wireless Device to Control Arduino From Anywhere

by AXR AMAR in Circuits > Arduino

7486 Views, 52 Favorites, 0 Comments

1$ Wireless Device to Control Arduino From Anywhere

temp_-598676151.jpg
#DTMF stands for DUAL TONE MULTIPLE FREQUENCY , in which we are going to use Mobile phone to make its as a wireless device, it works on the frequency which we generate on keypad of caller phone.

How It Works?

temp_901065143.jpg
temp_-78565525.jpg
There are two frequency groups in keypad of mobile phone ,combination of these two will form Dual tone multiple frequency ,in simple
words by adding or mixing two or more frequencies
generates DTMF tone.

Output of DTMF Module !

temp_-830737376.jpg
temp_-519974214.jpg
temp_-1865202572.jpg
temp_1193731005.jpg
temp_1316387139.jpg
temp_-974119913.jpg
Observe the pics ,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.

whenever we press any key on keypad of mobile we get different output which is indicated by using LEDs on module , if you look at the images carefully you can find different output for different keys

Interfacing It to Arduino

temp_-1553985805.jpg
temp_-1731584991.jpg
Arduino UNO is used for controlling whole process ,Arduino reads commands sent by
DTMF Decoder and compare with define code or pattern.
here we connect Digital io pins of Arduino to the Output pins of DTMF module .

Circuit and Code

temp_2043056950.jpg
#define D0 5
#define D1 2
#define D2 3
#define D3 4

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)
{

// your statements
}

else if(temp1==0 && temp2==0 && temp3==1 &&
temp4==0)

{
// your statements
}

else if(temp1==0 && temp2==1 && temp3==1 &&
temp4==0)

{
// your statements

}
else if(temp1==0 && temp2==0 && temp3==0 &&
temp4==1)

{

// your statements

}
else if(temp1==1 && temp2==0 && temp3==1 &&
temp4==0)
{

// your statements

}
}

Applications

#motor control
# home automation
#pet feeder
#customer care service
#industrial automation
#security applications
#bomb triggering etc

Please Vote and Follow ! Thank You