Project tutorial
Automation basics using arduino and DTMF decoder

Automation basics using arduino and DTMF decoder © GPL3+

This projects explains the basic set up of automation using DTMF technology.It can be applicable in any automation field.

  • 3,133 views
  • 2 comments
  • 5 respects

Components and supplies

About this project

The project uses the DTMF technology. The tone generated from cell phone is converted into binary numbers.This particular number is used for driving LEDs or relays.

Code

Arduino codeArduino
upload this sketch into your arduino
int x,y,z,t;

int a=3;

int b=4;

int c=5;

int d=6;

int e=7;

int f=8;

int g=9;

int h=10;

void setup() {



pinMode(a,INPUT);

pinMode(b,INPUT);

pinMode(c,INPUT);

pinMode(d,INPUT);

pinMode(e, OUTPUT);

pinMode(f,OUTPUT);

pinMode(g,OUTPUT);

pinMode(h,OUTPUT);

Serial.begin (9600);

}

void loop() {



x=digitalRead(a);

y=digitalRead(b);

z=digitalRead(c);

t=digitalRead(d);

Serial.print(x);

Serial.print(y);

Serial.print(z);

Serial.println(t);

delay(1000);

if (x==1 && y==0 && z==1 && t==1)

{digitalWrite(e,HIGH);

digitalWrite(f,LOW);

digitalWrite(g,HIGH);

digitalWrite(h,LOW);}

if (x==1 && y==1 && z==1 && t==0)

{digitalWrite(e,LOW);

digitalWrite(f,HIGH);

digitalWrite(g,LOW);

digitalWrite(h,HIGH);}

if (x==1 && y==1 && z==0 && t==1)

{digitalWrite(e,LOW);

digitalWrite(f,LOW);

digitalWrite(g,HIGH);

digitalWrite(h,LOW);}

if (x==1 && y==0 && z==0 && t==1)

{digitalWrite(e,HIGH);

digitalWrite(f,LOW);

digitalWrite(g,LOW);

digitalWrite(h,LOW);}

if (x==0 && y==0 && z==1 && t==1)

{digitalWrite(e,LOW);

digitalWrite(f,LOW);

digitalWrite(g,LOW);

digitalWrite(h,LOW);}}

Schematics

Pin connections
connect the pins as shown in the figure
Img 20171030 213359 tlbwxozsjn

Comments

TEAM DIY

Vaisakh1997
Vaisakh1997
  • 7 projects
  • 8 followers
Default
shafeeque
  • 6 projects
  • 1 follower
Default
Boniface
  • 5 projects
  • 1 follower
Safvanokp
SAFVANOKP
  • 3 projects
  • 1 follower

Published on

October 30, 2017

Members who respect this project

6e549836 e4b3 414f b0f7 a7be4cba9f68 xrwrkpxxpw10354686 10150004552801856 220367501106153455 n

and 3 others

See similar projects
you might like

Similar projects you might like

Android App-Based Home Automation System Using IOT

Project tutorial by Team Autoshack

  • 24,853 views
  • 17 comments
  • 75 respects

Talkative Automation || Audio from Arduino || HC-05 || Voice

Project tutorial by Vishalsoniindia

  • 2,833 views
  • 0 comments
  • 5 respects

Sliding Gate Automation

Project tutorial by Lasith Ishan Premaratne

  • 18,531 views
  • 12 comments
  • 34 respects

Bluetooth Based Home Automation

Project tutorial by Brink.IO

  • 11,661 views
  • 14 comments
  • 40 respects

Email Home Automation

Project tutorial by Chirila Radu

  • 4,233 views
  • 0 comments
  • 15 respects

Home Automation Using Zone Beacon via Android App

Project tutorial by Team SomeRandomTeam

  • 1,655 views
  • 2 comments
  • 14 respects
Add projectSign up / Login