SlideShare a Scribd company logo
www.researchdesignlab.com Page 1
DTMFDecoder Shield For Arduino
DTMF DECODER SHIELD FOR
ARDUINO
www.researchdesignlab.com Page 2
DTMFDecoder Shield For Arduino
Contents
INTRODUCTION ...................................................................................................................... 3
FEATURES ................................................................................................................................ 3
ARDUINO I/O CONNECTIONS............................................................................................... 4
ARDUINO CODE ...................................................................................................................... 5
www.researchdesignlab.com Page 3
DTMFDecoder Shield For Arduino
INTRODUCTION
This board decodes DTMF signal either from an audio source or phone line to 4 bit binary
TTL(5V) level output. It also indicates outputs with LED. Suitable for use with microcontroller
applications.
FEATURES
 Decodes DTMF as 4 bit binary
 TTL level output for direct connection to microcontrollers
 Low power 5V DC operation
 LED indication of outputs
 Simple to use.
 High quality PCB FR4 Grade with FPT Certified.
www.researchdesignlab.com Page 4
DTMFDecoder Shield For Arduino
ARDUINO I/O CONNECTIONS
www.researchdesignlab.com Page 5
DTMFDecoder Shield For Arduino
ARDUINO CODE
/*
* Project name:
DTMF Decoder shield
* Copyright
(c) Researchdesignlab.com
* Description:
* Test configuration:
MCU: ATMEGA328
Dev.Board: Arduino uno
Oscillator: 16 MHz
Software: Arduino
*/
const int analogInPin1 = A0; // Analog input pin that the potentiometer is attached to x axis Joystick
const int analogInPin2 = A1; // Analog input pin that the potentiometer is attached to y axis Joystick
const int buttonPin_A = 2; // the number of the D0 pin
const int buttonPin_B = 3; // the number of the D1 B pin
const int buttonPin_C = 4; // the number of the D2 C pin
const int buttonPin_D = 5; // the number of the D3 D pin
const int buttonPin_E = 6; // the number of the STD pin
int sensorValue = 0; // value read from the pot
int D0,D1,D2,D3,STD; // variable for reading the pushbutton status
void setup() {
// initialize serial communications at 9600 bps:
Serial.begin(9600);
Serial.println("DTMF Decoder shield ");
Serial.println(" " );
// initialize the pushbutton pin as an input:
pinMode(buttonPin_A, INPUT);
pinMode(buttonPin_B, INPUT);
pinMode(buttonPin_C, INPUT);
pinMode(buttonPin_D, INPUT);
pinMode(buttonPin_E, INPUT);
}
www.researchdesignlab.com Page 6
DTMFDecoder Shield For Arduino
void loop() {
// read the state of the pushbutton A,B,C,D,E value:
D0 = digitalRead(buttonPin_A);
D1 = digitalRead(buttonPin_B);
D2 = digitalRead(buttonPin_C);
D3 = digitalRead(buttonPin_D);
STD = digitalRead(buttonPin_E);
if (STD == HIGH) {
delay(400);
if((D0==1)&&(D1==0)&&(D2==0)&&(D3==0))
{
Serial.print('1');
}
if((D0==0)&&(D1==1)&&(D2==0)&&(D3==0))
{
Serial.print('2');
}
if((D0==1)&&(D1==1)&&(D2==0)&&(D3==0))
{
Serial.print('3');
}
if((D0==0)&&(D1==0)&&(D2==1)&&(D3==0))
{
Serial.print('4');
}
if((D0==1)&&(D1==0)&&(D2==1)&&(D3==0))
{
Serial.print('5');
}
www.researchdesignlab.com Page 7
DTMFDecoder Shield For Arduino
if((D0==0)&&(D1==1)&&(D2==1)&&(D3==0))
{
Serial.print('6');
}
if((D0==1)&&(D1==1)&&(D2==1)&&(D3==0))
{
Serial.print('7');
}
if((D0==0)&&(D1==0)&&(D2==0)&&(D3==1))
{
Serial.print('8');
}
if((D0==1)&&(D1==0)&&(D2==0)&&(D3==1))
{
Serial.print('9');
}
if((D0==0)&&(D1==1)&&(D2==0)&&(D3==1))
{
Serial.print('0');
}
if((D0==1)&&(D1==1)&&(D2==0)&&(D3==1))
{
Serial.print('*');
}
if((D0==0)&&(D1==0)&&(D2==1)&&(D3==1))
{
Serial.print('#');
}
while(STD!=LOW)
{
STD = digitalRead(buttonPin_E);
}
}

More Related Content

TXT
Ir remote kit_blink.pde
PDF
Compteur ARDUINO
DOCX
Call and message using arduino and gsm module
PPT
Multi Sensory Communication 2/2
PDF
برمجة الأردوينو - اليوم الأول
PDF
Preemptable ticket spinlocks: improving consolidated performance in the cloud
PPTX
Logic Design - Chapter 5: Part1 Combinattional Logic
DOCX
Cell phone based dtmf
Ir remote kit_blink.pde
Compteur ARDUINO
Call and message using arduino and gsm module
Multi Sensory Communication 2/2
برمجة الأردوينو - اليوم الأول
Preemptable ticket spinlocks: improving consolidated performance in the cloud
Logic Design - Chapter 5: Part1 Combinattional Logic
Cell phone based dtmf

Similar to DTMF Decoder Shield for Arduino (20)

PDF
Digital Dimmer Module
PPT
Unit 4 Part I.ppt this contains notes for
PDF
DIY UNO Play Breadboard ATMEGA328P with FT232 Breakout Board
PPTX
Introduction to Arduino
PPTX
Introduction to Arduino
PPTX
Arduino . .
PDF
Arduino projects & tutorials
PPTX
Presentation of online Internship Program on Arduino completed at INTERNSHALA
PDF
Analog Heart Beat Sensor
PDF
VVDI2 Commander Transponder Key programmer user manual-vobdii.com
PDF
P4 m80m4 0119c_b
PPTX
Arduino intro.pptx
PPT
arduino.ppt
PPTX
Arduino Programming
PDF
Arduino uno basic Experiments for beginner
PPTX
Monitoring temperature ruangan dengan display lcd
PPTX
Monitoring temperature rumah dengan display lcd dan recording
PPTX
INTRODUCTION TO ARDUINO and sensors for arduino.pptx
PDF
8928 a 8930a_usermanual_detailed
PPTX
Cell phone based dtmf controlled
Digital Dimmer Module
Unit 4 Part I.ppt this contains notes for
DIY UNO Play Breadboard ATMEGA328P with FT232 Breakout Board
Introduction to Arduino
Introduction to Arduino
Arduino . .
Arduino projects & tutorials
Presentation of online Internship Program on Arduino completed at INTERNSHALA
Analog Heart Beat Sensor
VVDI2 Commander Transponder Key programmer user manual-vobdii.com
P4 m80m4 0119c_b
Arduino intro.pptx
arduino.ppt
Arduino Programming
Arduino uno basic Experiments for beginner
Monitoring temperature ruangan dengan display lcd
Monitoring temperature rumah dengan display lcd dan recording
INTRODUCTION TO ARDUINO and sensors for arduino.pptx
8928 a 8930a_usermanual_detailed
Cell phone based dtmf controlled
Ad

More from Raghav Shetty (20)

PDF
8 Channel Relay Board-Bluetooth
PDF
4 Channel Relay Board 5V-Bluetooth Compatible for Arduino
PDF
4 Channel Relay Board 12V-Compatible for Arduino
PDF
8 Channel Relay Board-Rs485
PDF
Xbee X-CTU Software
PDF
Digitla Vibration Sensor
PDF
Thermal Printer
PDF
Digital Soil Moisture Sensor
PDF
Micro SD Memory Card Interface for 5V MCU
PDF
Micro SD Memory Card Interface for 3.3V MCU
PDF
Regulated Power Supply
PDF
PIC Project Board
PDF
8 Channel Bi Directional Logic Level Converter
PDF
LCD Keypad Shield
PDF
L298 Motor Driver
PDF
Joystick Shield
PDF
Force Sensor
PDF
Plastic REED Float Switch
PDF
Flex Sensor
PDF
Serial EEPROM
8 Channel Relay Board-Bluetooth
4 Channel Relay Board 5V-Bluetooth Compatible for Arduino
4 Channel Relay Board 12V-Compatible for Arduino
8 Channel Relay Board-Rs485
Xbee X-CTU Software
Digitla Vibration Sensor
Thermal Printer
Digital Soil Moisture Sensor
Micro SD Memory Card Interface for 5V MCU
Micro SD Memory Card Interface for 3.3V MCU
Regulated Power Supply
PIC Project Board
8 Channel Bi Directional Logic Level Converter
LCD Keypad Shield
L298 Motor Driver
Joystick Shield
Force Sensor
Plastic REED Float Switch
Flex Sensor
Serial EEPROM
Ad

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Approach and Philosophy of On baking technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPT
Teaching material agriculture food technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Big Data Technologies - Introduction.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
cuic standard and advanced reporting.pdf
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Cloud computing and distributed systems.
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Encapsulation theory and applications.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
A comparative analysis of optical character recognition models for extracting...
Approach and Philosophy of On baking technology
Chapter 3 Spatial Domain Image Processing.pdf
The AUB Centre for AI in Media Proposal.docx
MIND Revenue Release Quarter 2 2025 Press Release
Teaching material agriculture food technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
Big Data Technologies - Introduction.pptx
sap open course for s4hana steps from ECC to s4
Machine learning based COVID-19 study performance prediction
Programs and apps: productivity, graphics, security and other tools
cuic standard and advanced reporting.pdf
Spectroscopy.pptx food analysis technology
Cloud computing and distributed systems.
Review of recent advances in non-invasive hemoglobin estimation
Encapsulation theory and applications.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation

DTMF Decoder Shield for Arduino

  • 1. www.researchdesignlab.com Page 1 DTMFDecoder Shield For Arduino DTMF DECODER SHIELD FOR ARDUINO
  • 2. www.researchdesignlab.com Page 2 DTMFDecoder Shield For Arduino Contents INTRODUCTION ...................................................................................................................... 3 FEATURES ................................................................................................................................ 3 ARDUINO I/O CONNECTIONS............................................................................................... 4 ARDUINO CODE ...................................................................................................................... 5
  • 3. www.researchdesignlab.com Page 3 DTMFDecoder Shield For Arduino INTRODUCTION This board decodes DTMF signal either from an audio source or phone line to 4 bit binary TTL(5V) level output. It also indicates outputs with LED. Suitable for use with microcontroller applications. FEATURES  Decodes DTMF as 4 bit binary  TTL level output for direct connection to microcontrollers  Low power 5V DC operation  LED indication of outputs  Simple to use.  High quality PCB FR4 Grade with FPT Certified.
  • 4. www.researchdesignlab.com Page 4 DTMFDecoder Shield For Arduino ARDUINO I/O CONNECTIONS
  • 5. www.researchdesignlab.com Page 5 DTMFDecoder Shield For Arduino ARDUINO CODE /* * Project name: DTMF Decoder shield * Copyright (c) Researchdesignlab.com * Description: * Test configuration: MCU: ATMEGA328 Dev.Board: Arduino uno Oscillator: 16 MHz Software: Arduino */ const int analogInPin1 = A0; // Analog input pin that the potentiometer is attached to x axis Joystick const int analogInPin2 = A1; // Analog input pin that the potentiometer is attached to y axis Joystick const int buttonPin_A = 2; // the number of the D0 pin const int buttonPin_B = 3; // the number of the D1 B pin const int buttonPin_C = 4; // the number of the D2 C pin const int buttonPin_D = 5; // the number of the D3 D pin const int buttonPin_E = 6; // the number of the STD pin int sensorValue = 0; // value read from the pot int D0,D1,D2,D3,STD; // variable for reading the pushbutton status void setup() { // initialize serial communications at 9600 bps: Serial.begin(9600); Serial.println("DTMF Decoder shield "); Serial.println(" " ); // initialize the pushbutton pin as an input: pinMode(buttonPin_A, INPUT); pinMode(buttonPin_B, INPUT); pinMode(buttonPin_C, INPUT); pinMode(buttonPin_D, INPUT); pinMode(buttonPin_E, INPUT); }
  • 6. www.researchdesignlab.com Page 6 DTMFDecoder Shield For Arduino void loop() { // read the state of the pushbutton A,B,C,D,E value: D0 = digitalRead(buttonPin_A); D1 = digitalRead(buttonPin_B); D2 = digitalRead(buttonPin_C); D3 = digitalRead(buttonPin_D); STD = digitalRead(buttonPin_E); if (STD == HIGH) { delay(400); if((D0==1)&&(D1==0)&&(D2==0)&&(D3==0)) { Serial.print('1'); } if((D0==0)&&(D1==1)&&(D2==0)&&(D3==0)) { Serial.print('2'); } if((D0==1)&&(D1==1)&&(D2==0)&&(D3==0)) { Serial.print('3'); } if((D0==0)&&(D1==0)&&(D2==1)&&(D3==0)) { Serial.print('4'); } if((D0==1)&&(D1==0)&&(D2==1)&&(D3==0)) { Serial.print('5'); }
  • 7. www.researchdesignlab.com Page 7 DTMFDecoder Shield For Arduino if((D0==0)&&(D1==1)&&(D2==1)&&(D3==0)) { Serial.print('6'); } if((D0==1)&&(D1==1)&&(D2==1)&&(D3==0)) { Serial.print('7'); } if((D0==0)&&(D1==0)&&(D2==0)&&(D3==1)) { Serial.print('8'); } if((D0==1)&&(D1==0)&&(D2==0)&&(D3==1)) { Serial.print('9'); } if((D0==0)&&(D1==1)&&(D2==0)&&(D3==1)) { Serial.print('0'); } if((D0==1)&&(D1==1)&&(D2==0)&&(D3==1)) { Serial.print('*'); } if((D0==0)&&(D1==0)&&(D2==1)&&(D3==1)) { Serial.print('#'); } while(STD!=LOW) { STD = digitalRead(buttonPin_E); } }