Question

In: Electrical Engineering

DTMF Home Automation System This project is about controlling of home appliances using DTMF (Dual Tone...

DTMF Home Automation System

This project is about controlling of home appliances using DTMF (Dual Tone Multi Frequency) technology. These appliances includes lights, fans, central heating, etc. A control unit will be required to encode the 4bit binary code from the DTMF decoder to link with 16 appliances or operations. However anyone can control your appliances if they know the cell number of the phone connected to the module. Furthermore, the number of appliances is limited to 16, which is the number of DTMF tones. These problems can be solved by using a controller at both transmit and receive end, and introduce a digital code. Now it will be possible to use more than one tone per command. For example, using 2 tones will give 16x16 =256 commands. A duplex operation can now be possible.

I need help Designing the DTMF Home Automation System using an Arduino.

I need the source code and circuit

Set up and demonstrate the operation of the DTMF controlled automation system, using a designed control unit.

Solutions

Expert Solution

int x,y,z,t,r,s;

int a=3;
int b=4;
int c=5;
int d=6;

void setup() {
    pinMode(a,INPUT);  
    pinMode(b,INPUT);
    pinMode(c,INPUT);
    pinMode(d,INPUT);
    Serial.begin(9600);
}

void loop() {
char e[16];
String command;

x=digitalRead(a);

y=digitalRead(b);

z=digitalRead(c);

t=digitalRead(d);


if (x==0 && y==0 && z==0 && t==0)
      e[0]='1';
if (x==0 && y==0 && z==0 && t==1)
       e[1]='2';
if (x==0 && y==0 && z==1 && t==0)
       e[2]='3';
if (x==0 && y==0 && z==1 && t==1)
      e[3]='4';
if (x==0 && y==1 && z==0 && t==0)
      e[4]='5';
if (x==0 && y==1 && z==0 && t==1)
      e[5]='6';
if (x==0 && y==1 && z==1 && t==0)
      e[6]='7';
if (x==0 && y==1 && z==1 && t==1)
      e[7]='8';
if (x==1 && y==0 && z==0 && t==0)
      e[8]='9';
if (x==1 && y==0 && z==0 && t==1)
      e[9]="11";
if (x==1 && y==0 && z==1 && t==0)
      e[10]="12";
if (x==1 && y==0 && z==1 && t==1)
      e[11]="13";
if (x==1 && y==1 && z==0 && t==0)
      e[12]="14";
if (x==1 && y==1 && z==0 && t==1)
      e[13]="15";
if (x==1 && y==1 && z==1 && t==0)
      e[14]="16";
if (x==1 && y==1 && z==1 && t==1)
      e[15]='2';


for(r=0;r<16;r++)
{
    for(s=0;s<16;s++)
    {
      command=e[r]+e[s];
    }
}


   if(command="1")
   {
    Serial.print("First devices");
     
            // it can be continued to 256 devices
   }
}


}



Related Solutions

DTMF Home Automation System This project is about controlling of home appliances using DTMF (Dual Tone...
DTMF Home Automation System This project is about controlling of home appliances using DTMF (Dual Tone Multi Frequency) technology. These appliances includes lights, fans, central heating, etc. A control unit will be required to encode the 4bit binary code from the DTMF decoder to link with 16 appliances or operations. However anyone can control your appliances if they know the cell number of the phone connected to the module. Furthermore, the number of appliances is limited to 16, which is...
DTMF home automation system using ATMEGA8 i need the circuit and the code for the microcontroller
DTMF home automation system using ATMEGA8 i need the circuit and the code for the microcontroller
I am working on an IOT BASED HOME AUTOMATION PROJECT...I want to make use of a...
I am working on an IOT BASED HOME AUTOMATION PROJECT...I want to make use of a camera in this system to be able to capture movements or happenings in the house... Can this be accomplished by using NODEMCU,ARDUINO,RASPBERRY PIE.. if yes...I need detailed ways on how to do it using each of them.
Material Energy balance course. a. By using several examples related to your home appliances or any...
Material Energy balance course. a. By using several examples related to your home appliances or any real-life application out there, and aligning it to mass conservation law, justify why do you need to learn material balance. Support your answer with minimum 5 solid points.
Please create a presentation slide about five (5) vibration control examples for home appliances. The presentation...
Please create a presentation slide about five (5) vibration control examples for home appliances. The presentation slides must be in Microsoft PowerPoint (*.pptx) format.
Answer the following questions about cache coherency protocols in a dual-processor system. a) If each processor...
Answer the following questions about cache coherency protocols in a dual-processor system. a) If each processor has a separate cache, what is the main advantage of the 4-state MESI snoopy cache coherency protocol compared to a snoopy cache coherency protocol that uses only 3 states M, S and I (modified, shared and invalid)? b) Suppose that processor P1 (in a dual-processor system) writes to a memory block. A copy of this same memory block is already in a modified line...
Activity Cost Pools, Activity Rates, and Product Costs using Activity-Based Costing Caldwell Home Appliances Inc. is...
Activity Cost Pools, Activity Rates, and Product Costs using Activity-Based Costing Caldwell Home Appliances Inc. is estimating the activity cost associated with producing ovens and refrigerators. The indirect labor can be traced into four separate activity pools, based on time records provided by the employees. The budgeted activity cost and activity-base information are provided as follows: Activity Activity Pool Cost Activity Base Procurement $12,600 Number of purchase orders Scheduling 90,000 Number of production orders Materials handling 11,000 Number of moves...
project about automotive cruise control system
project about automotive cruise control system
Given the partially coded project: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace...
Given the partially coded project: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StaticHW {    class Program { static void Main(string[] args) { // will have 3 Dogs Dog[] allDogs = new Dog[3]; allDogs[0] = new Dog(20f, 10f, "Fido"); allDogs[1] = new Dog(40f, 20f, "Percy"); allDogs[2] = new Dog(70f, 30f, "Snoopy"); // comment out the next 3 lines until you have written the Dog class and the code runs ok // then put these 3 lines...
MHI Corp. is considering a capital budgeting project developing a new and improved home management system...
MHI Corp. is considering a capital budgeting project developing a new and improved home management system that will allow customers to easily inventory frequently purchased items for their home and to receive reminders when these items need to be repurchased. The firm’s WACC is 6.7%. The project is slightly more risky that the average project of the firm. You have been advised to add a 3.1% premium to the firm’s WACC for the discount rate for this project. The project...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT