# DTMF Based Home Automation

Published  August 27, 2015   91
S
Author

We use many different types of communication in control applications to control home appliances, industrial appliances, and other type of automation. There are two types of communication that is we generally use - one is wired and other one is wireless. In wireless communication we transmits signal wirelessly, like using radio frequency (RF) and in wired communication in which we uses wires like copper wire. In this project “DTMF Based Home Automation System” we are going to control our home appliances wirelessly. Other important feature of this project is, that we are not going to use any microcontroller in it.

### Required Components

1. MT8870 DTMF Decoder                 -1
2. ULN2003                                              -1
3. Relay 5 volt                                         -3
4. Bulb with holder or LED                 -3
5. Connecting wires
6. Bread board                                       -2
7. Aux Wire                                             -1
8. 9 volt battery                                     -2
9. PVT or Terminal Block                      -4
10. 100K Resistor                                     -2
11. 330K resistor                                      -1
12. 0.1 uf Cap                                            -2
13. 22 pF cap                                             -2
14. 3.57 Mhz Crystal                               -1
15. Mobile phone
16. LEDs                                                       -3
17. 1K resistor                                           -6
18. 7805                                                       -1

### Circuit Concept and Working

DTMF controlled home appliances project works over mobile DTMF technology that exists in Dial tone. DTMF stands for Dual Tone Multiple Frequency. There are some frequencies that we used to create DTMF tone. In simple words by adding or mixing two or more frequencies generates DTMF tone (Also check: DTMF Based Robot using Arduino). These frequencies are given below:

In Given figure we can see two groups of different frequencies. When one upper and one lower frequencies mixed then a tone is created that tone we calls Dual Tone Multiple Frequency. In this project we control ac appliances by pressing dial pad keys like 1, 2, 3, 4, 5 and more.

Here we have connected a cell phone using aux wire to the DTMF decoder circuit. Before explaining the further working of project we need to know about the output of DTMF decoder for every key pressed.

Now understand working according to given table.

In circuit diagram at Q1 LIGHT is connected, at Q2 FAN is connected and at Q3 TV is connected through relay driver IC. We have left Q4. Now when we press key 1 at the dial pad of mobile phone DTMF decodes this tone and generates a digital output given in table. Now According to given output in table Q1 is HIGH and Q1 is connected with light so LIGHT turned ON. If we want turned OFF the LIGHT, we need to press key number 8. Because in the output of key8, Q1, Q2 and Q3 LOW and Q4 are HIGH and we have not used Q4. So it doesn’t matter that Q4 is HIGH or LOW. But our operation has been performed because Q1 is LOW in key 8’s output and rest of appliances not affected. Now is we want to turned on FAN so we need to press key2 because by pressing key2 only Q2 is activated and rest of output are remain same. Now if we to OFF the FAN then we need to press key8 again like before for as LIGHT. Now if we want to TV so we need to press key4 and for tuning it OFF we need to press 8 like before. Now suppose we want to turned ON all of the appliances so we need to press key7 (see table) and for turning OFF all key8 (see table).

Now if we need to ON LIGHT and FAN so we need to press key3 (see table). And now we want to ON TV so we need to press key 7 not key4. Because we should keep remain turn ON previous appliances. Now if we want to turn OFF only LIGHT so we need to press key6. Because we should again to keep remain turn ON the previous appliances except LIGHT.

So we can control each of the appliances according to table output.

### Circuit Diagram and Explanation

Circuit diagram for DTMF controlled home automation project is shown above. In this circuit we have used a DTMF decoder namely MT8890 IC which converts dial pad tone into the four bit digital output. LIGHT, FAN and TV are connected to Q1,Q2 and Q3 of DTMF decoder IC through a relay driver namely ULN2003. 5 volt SPDT 3 relays are used for controlling LIGHT, FAN and TV.

For demonstration of this project we have connected three LEDs at relay instead AC appliances. And we have also used 9 volt dc battery instead 220VAC for driving LEDs.

Video

Have any question realated to this Article?

## Comments

Submitted by Nikki Singh on Thu, 10/29/2015 - 15:01

Permalink

### Will this project work if I

Will this project work if I will make a call at the receiver and then during call,press the buttons from the transmitter side. Please help me by explaining the working of each and every component. I beg u plz help me

### Yes, it should work during

Yes, it should work during the call.

Submitted by Lyan Leon on Wed, 11/25/2015 - 17:15

Permalink

### i wanna do a project concerning about DTMF

very nice project .it helps me a lot

Submitted by saddam4201 on Fri, 12/18/2015 - 13:25

In reply to by Lyan Leon

Permalink

### Aux Cable

Aux Cable

Submitted by Lyan Leon on Sun, 12/20/2015 - 16:54

In reply to by saddam4201

Permalink

### how can i know the aux cable

how can i know the aux cable is worked or not, i juz cut my earphone to test it but it didn't work
plz suggest me

Submitted by Dharmesh yadav on Mon, 01/18/2016 - 14:36

Permalink

### project

nice.............

Submitted by Arpita on Tue, 02/09/2016 - 00:13

Permalink

### How have you connected the

How have you connected the aux cable to the dtmf decoder chip? please help me.

Submitted by Eshita on Wed, 02/24/2016 - 02:39

Permalink

### Simulation

For simulation of this circuit which software is more efficient?

### by using four 4 or 5 push

by using four 4 or 5 push buttons you can simulate it at proteus.

Submitted by Ganesh Kothavale on Wed, 03/02/2016 - 11:19

Permalink

### can we drive a electric fan

can we drive a electric fan working on ac power supply at home using this circuit?how can we do this?please help us.

Submitted by manikanta on Wed, 03/09/2016 - 16:18

Permalink

### can we use ht9170 decoder

can we use ht9170 decoder instead of mt8870?

### why uln2003 used

hey saddam here u use uln2003 but why u use that if u connect that directly than also it work
and i want that from pressing 1 like tv on again pressing 1 it off the tv how will i do this

Submitted by snehal thamke on Thu, 03/24/2016 - 21:28

Permalink

### pvt

here in dis components list they have mentioned about PVT, I just wanted to know what is PVT and what are its uses and application.

Submitted by Shivam Kumar on Wed, 03/30/2016 - 09:01

Permalink

### Sir, what is the use of the

Sir, what is the use of the other 4 led(3 red and 1 yellow), would u plz explain?

### These are indication LEDs,

These are indication LEDs, when we connect the actual AC appliances in places of 3 LEDs at the Right side, then these LEDs work as indicators.

Submitted by Shivam Kumar on Thu, 04/14/2016 - 21:46

Permalink

### All the led's are not going

All the led's are not going off after pressing 8,( my circuit is correct)??

Submitted by Amitesh Singh on Sun, 04/24/2016 - 11:01

Permalink

### Engineering

Can we control home appliances using dtmf tone, through wifi lan connection...if yes then please send me a solution, that how it will work..

Submitted by raviraj on Sun, 05/22/2016 - 19:57

Permalink

### dtmf

sir can i use cd 8870 ic for this ckt ?? is their any change in ckt diagram

Submitted by Naresh Jeevaalaggan on Sun, 05/22/2016 - 21:06

Permalink

### please let me know the use of

please let me know the use of ULN2003 driver in this project?

Submitted by nosd1 on Tue, 06/21/2016 - 08:13

Permalink

### Can you please help me

Can you please help me understand how this is a wireless solution?? The mobile is connected to the circuit through the AUX cable as I see it. I would really like a wireless version of this. Thank You

Submitted by Rajeshwari on Tue, 06/28/2016 - 14:53

Permalink

### Can u plz tel me how to

Can u plz tel me how to connect this on pcb

Submitted by Rajeshwari on Thu, 06/30/2016 - 08:05

Permalink

### Can v operate this from any

Can v operate this from any place???

Submitted by Odin Olaya on Thu, 06/30/2016 - 15:27

Permalink

### PVT

What PVT stands for and how it is used. in the diagram it is not shown though. thanks

Submitted by Raghav on Wed, 07/06/2016 - 08:42

Permalink

### Pvt

What is Pvt and it's use

Submitted by Sicelo on Wed, 07/27/2016 - 03:28

Permalink

### DTMF based home automation

Just interested in this project and wanna know like how much does it cost, like the entire project

Submitted by Avinash on Tue, 08/16/2016 - 15:00

Permalink

### about

what is PVT in the components given...?

### PVT is Terminal Block, Green

PVT is Terminal Block, Green color block adjacent to each Relay (see picture), to secure wires with screws.

Submitted by Venkat on Sun, 09/04/2016 - 16:03

Permalink

### Can we make circuit in pcb

Can we make circuit in pcb board? And can we use tv on output side instead of led

Submitted by Avinash on Tue, 09/20/2016 - 22:31

Permalink

### doubt

What is the PVT mentioned in the list of apparatus..?

Submitted by Avinash on Tue, 09/20/2016 - 22:35

Permalink

### doubts

Is this requires programming

### No, it not requires

No, it not requires programming.

Submitted by ramraj on Fri, 09/30/2016 - 10:48

Permalink

### help

Hi sir can I use it for 440 volts ac supply or if not please tell me that what can I use for 440 volts ac motor start with push button please help me

### You can use the same circuit

You can use the same circuit but you have to replace the Relay for handling 440 v, the relay used in this circuit can handle upto 250v.

Submitted by Aadesh saini on Sat, 10/01/2016 - 13:47

Permalink

### sir,

sir,
I need full circuit diagram, what are component is used full details .plz replay soon as possible. I want urgent

Submitted by Aadesh saini on Thu, 10/06/2016 - 22:53

Permalink

### sir........

sir........
what are the function of pin number 5&6 of IC MT8870?

Submitted by ALOYSIUS on Fri, 10/07/2016 - 08:24

Permalink

### sir; wat happen

sir; wat happen
to the cct wen i dropped d cal.. will the cct stil b active

### Yes, It will remain in the

Yes, It will remain in the same state.

Submitted by Sravan on Thu, 10/13/2016 - 22:48

Permalink

### ECE

Can we use TRIAC instead of 5v relay in this circuit?

Submitted by suman on Thu, 10/13/2016 - 22:50

Permalink

### what is pvt in the component list

Many people keep asking whats pvt .no one answered that. Someone please tell what does pvt stand for atleast??!

### PVT is Terminal Block, Green

PVT is Terminal Block, Green color block adjacent to each Relay (see picture), to secure wires with screws.

Submitted by AVINASH on Fri, 10/21/2016 - 23:47

Permalink

### feedback

thank you ..this project really worked well.....

Submitted by M Prashanth on Wed, 10/26/2016 - 19:00

Permalink

### I know its a lot to ask but

I know its a lot to ask but Can you send me the final project Report of this it'll be really helpful and Thank you very much the project is really Great and its working Perfectly.

Submitted by trinity on Sat, 10/29/2016 - 23:58

Permalink

### I want to control the

I want to control the appliances wirelessly (using another phone to control the whole circuit). can any one help me out with the necessary things to add?

Submitted by Abhimanyu on Mon, 11/07/2016 - 20:32

Permalink

### Can I use 3.579mhz Crystal

Can I use 3.579mhz Crystal .plz help me immediately

Submitted by Rahul on Fri, 11/11/2016 - 11:55

Permalink

### circuit doesnot working

I made this circuit on pcb as per diagram but it's not working.
led 1,2,3 is continuously on and IC MT8870 is heating more.
please let me know what should I do?
I am waiting your response.

Submitted by shubham deore on Fri, 11/11/2016 - 17:50

Permalink

### can I connect DTMF IC

can I connect DTMF IC directly to relay?

what is a roll of driver ic?

### Relay should be used with a

Relay should be used with a driver circuit of Transistor and diode to make it work properly, check here for more detail. And ULN2003 IC has inbuilt darlington transistor pairs and other circuitry to drive relay.

Submitted by shubham on Tue, 11/15/2016 - 21:22

Permalink

### question

why another 9v battery is used at relay? is it must to connect ?

### You can use only one battery

You can use only one battery as per circuit diagram.

Submitted by shubham deore on Wed, 11/16/2016 - 17:38

Permalink

### circuit is working but when I

circuit is working but when I press 2 or 3 it will turn on one relay ,then if I press 4 or 5 button it will on 2nd relay, at a time all 3 relay r not conducting plz help me fast

plz reply......

Submitted by nandhu on Sat, 12/24/2016 - 21:28

Permalink

### Can i use cd8870 instead of

Can i use cd8870 instead of mt8870

Submitted by MOHIT on Fri, 03/03/2017 - 13:39

Permalink

### DTMF controlled home automation

How to prevent calls from other mobile and mall functioning of DTMF decoder as any one can dial mobile connected to circuit. I want exclusive control with only specific mobile.
Thanks

### Easiest way is to use

Easiest way is to use exclusive sim card for that mobile, otherwise you need use some microcontroller and GSM module to filter the incoming mobile number.

Submitted by md riyadh on Thu, 03/16/2017 - 23:14

Permalink

### I can control it from

I can control it from anywhere. Another mobile calls.?

Submitted by harshal ghatole on Mon, 03/20/2017 - 01:43

Permalink

### switch off the load by mobile ,if already on from starting.

Sir,it says,that whenever we forget to switch off the appliances,that time this circuit is used.But sir,in video,we have to keep on our appliances and off,when phone call is dialled.but when switch is already on,and if we want to switch off the appliance,then how we do that?.because,if we off the switch during phone call,after phone call ends,the appliances will remain on.so,the purpose is not achieved.please please tell me.

Submitted by Harsh Patel on Thu, 04/06/2017 - 22:53

Permalink

### It's Not Working

Hey,
I made this circuit on PCB it can not working. At the time of starting when i connect the supply directly 12 and 13 pin LED is start to glow without any given input. please help sir.

Submitted by rupak on Wed, 04/26/2017 - 21:52

Permalink

### we can get out put with out relays

We can get out put with out relays

Submitted by saloni on Wed, 05/03/2017 - 16:36

Permalink

### how to implement this project

how to implement this project on software, please help me

Submitted by Mar10 on Tue, 05/09/2017 - 19:46

Permalink

### Simulation program

What is the name of the simulation program please ?

### Please read the above

Please read the above comments before posting, your question might have already answered.

Submitted by shweta on Mon, 05/22/2017 - 16:29

Permalink

### What if I use headphone jack

What if I use headphone jack instead of aux cable?

Submitted by shweta on Wed, 05/24/2017 - 15:51

Permalink

### can i use any smartphone or

can i use any smartphone or is it necessary to use any specific phone to interface?

Submitted by kajiru on Thu, 06/01/2017 - 04:02

Permalink

### sir

sir is it a must to have relays between the leds and the ic mt8870?

### No, you can use Transistors

No, you can use Transistors to trigger LEDs. Relays are for the purpose of switching AC appliances.

Submitted by Indraj kumar on Tue, 06/27/2017 - 07:07

Permalink

### dtmf

Hello guys
I complete made this circuit but auxaux wir how to connect??????

Submitted by TEAM CHATRAPATI on Wed, 07/19/2017 - 09:34

Permalink

### We've been trying really hard

We've been trying really hard to run this project. Can anyone please help me out in any which way? If yes, then kindly contact us on teamchatrapati@gmail.com

Submitted by Savani on Wed, 07/19/2017 - 11:27

Permalink

### DTMF home appliances

What is the use of crysal oscillator. In the circuit ??

Submitted by kiran chavan on Tue, 08/01/2017 - 00:14

Permalink

### Sir,i want to control the

Sir,i want to control the tubelight & fan which is operates on 230v-50hz power supply.can i use this ckt fr this .if yes ,what modefication is needed to do in ckt .plz reply

Submitted by AARADHYA on Thu, 08/17/2017 - 14:43

Permalink

### is that ic pre programmed

is that ic pre programmed

Submitted by Asha on Sun, 09/10/2017 - 10:20

Permalink

### Sir

Sir
Is we need to store program in mt8870 or it is already pre program ....how we can store .....plz explain every step

Submitted by Mintoo on Fri, 09/22/2017 - 09:14

Permalink

### We implemented the circuit

We implemented the circuit but the leds remain on once we connect the battery..plzz help

Submitted by Jmass King on Sun, 10/29/2017 - 04:58

Permalink

### Request For Help

Hello Sir.
I want to implement this project by using At328 microcontroller, can you help me how the circuit diagram will look like?,
Please,help me.

Submitted by saqib zaman on Sun, 12/10/2017 - 14:18

Permalink

### System Engineer

hello,
1. Is this all the circuit you got ??
2. Does it has any coding or not?
3. Did anyone has tried that?

### There is no coding required,

There is no coding required, it should work as demonstarted

Submitted by anna twinkle on Fri, 01/12/2018 - 14:51

Permalink

### hello

hello
plz help mee
i cannot get the output when we dial the number on the phone
its not working

Submitted by sharankumar v on Mon, 04/30/2018 - 08:08

Permalink

### DTMF based home automation

What is the cost of the project....???

Submitted by Silver Jack on Mon, 05/07/2018 - 19:19

Permalink

### Dtmf

Please how do I make the phone answer when called if I'm not around to pick it?

Submitted by Raju on Sat, 06/23/2018 - 14:10

Permalink

### How much will be the cost for

How much will be the cost for the project