Generally, appliances used in our home are controlled with the help of switches. These days, you can see many technologies used in home automation projects. his article presents the controlling of home appliances using DTMF technology.

DTMF is an acronym for Dual Tone Multi Frequency. So, just think when you make a call for customer care, they will ask you to press 1, 2 or any other number. When you press a number from your mobile, one particular action is happening. All this is because of DTMF. When a button is pressed in your mobile keypad, it will generate a tone of two frequencies. These tones are called row and column frequencies.


Generally, row frequencies are low frequencies and column frequencies are high frequencies. These frequencies for DTMF are chosen in such a way that they don’t have harmonic relation with the others so that they will not produce the same tones. The column frequencies are slightly louder than the low frequencies to compensate for the high-frequency roll-off of voice audio systems.

We have learned that each button pressed in keypad will produce a tone which differs from others. Now we should use these tones for our appliances. So this DTMF encoder is present on mobile. The output from keypad can be converted into digital form using DTMF decoder IC HT9107B. Interfacing of this IC to MCU is shown below.

DTMF Controlled Home Appliances Circuit Principle:

The main principle of this circuit is to control appliances like light and fan using DTMF technology. DTMF encoder is present in your mobile and decoder is HT9107B IC. Mobile jack is connected at 1nf capacitor. Mobile jack consists of two wires (Red and black). The red wire is connected to the decoder IC and Black is grounded. When a button is pressed from mobile it generates a tone which is decoded by the decoder IC and it is sent to ATMEGA8 controller. The controller then checks for input and it produces the output according to the code written to it.

DTMF Controlled Home Automation System Circuit Diagram:

DTMF Based Home Automation System using Microcontroller Circuit Diagram

DTMF Based Home Automation System using Microcontroller Circuit Diagram

Circuit Components:

This circuit mainly consists of the following components.

  • ATmega8 microcontroller U1
  • HT9107B IC
  • Relay
  • AC Load
  • Resistors – R1, R2, and R3
  • Capacitors – C1, C2, C3, and C4
  • Crystal Oscillator X1

Circuit Design of DTMF Controlled Home Appliances:

The decoder IC consists of an inbuilt operational Amplifier. The output of the op-amp is given to the pre-filters to separate low and high frequencies. Then it is passed through frequency and code detector circuits, thus the 4-bit binary code is latched.

The tone from mobile is sent to op-amp through a series of the resistor (100 kilo-Ohm) and capacitor (1nf). Pin1 of DTMF IC i.e. noninverting pin is connected to pin4 i.e. Vref. Pin3 is the output of operational amplifier which is feedback to pin2 using 100 kilo-Ohm resistor. 7 and 8 pins are connected to crystal oscillator of frequency 3.579545 MHz. 15th pin is data valid pin it becomes high when DTMF tone is detected else remains low. The process of frequency detection to digitalization of the signal is done by steering circuit consisting of EST, RT/GT, and resistor (10k), capacitor. Pins 11 to 14 produce the decoded output.

The output pins of DTMF IC (i.e. 11 – 14) are connected to PB0-PB3 pins of the controller. Output pins of the controller i.e PD0 and PD1 are connected to relay. The relay output is connected to AC source i.e. light or fan.

The relay acts as a switch. It produces isolation from different parts of the circuit. In our project, it is used to switch AC load using 5v which is a maximum voltage from the controller. The relay used here is a magnetic relay.

How to Operate the Circuit?

When the circuit is powered, the controller continuously checks the inputs. When ‘1’ is pressed from the mobile keypad, decoder IC decodes the tone and produces 1(0001), it is given to microcontroller which in turn produces a high output at PD0 pin. PD0 is connected to relay. The relay is used for switching the circuit and thus fan is ON. Similarly, if the received input is 2 fans is switched off. If received input is 3 light is switched on and if it is 4, light is off.

DTMF Controlled Home Automation System Project Output Video:

Advantages of DTMF Controlled Home Automation System Circuit:

  1. One can control home appliances from anywhere.
  2. It reduces wastage of electricity when we forgot to switch off the lights & fans and gone outside.
  3. It is very low cost compared to other technologies like GSM.

Limitations of DTMF Controlled Home Appliances:

  1. No security. Anyone can control the appliances by calling the mobile connected to the module.
  2. The number of appliances is limited as our mobile can generate only 16 tones.


Please enter your comment!
Please enter your name here