Description:
Onboard Complex Frequency Decoder IC MT8870DS
Onboard 5 LED indicators for easy viewing output state
DC Power Supply Voltage:5V(4.5V-5.5V)
Operating Temperature : -40-+85 °C
IO Drive : Current Maximum 10mA.
PCB Size : 25.4x25.4MM
This decoding module is for mobile and fixed telephone voice dialing decoding function
Designed specifically for ARDUINO Board.also use for other MCU(AVR PIC MSP430 STM32 ARM7/9/10/11 FPGA/CPLD)
Does not require any wiring, can be inserted directly into the UNO/MEGA2560/DUE board to use.
12 Digital outputs decode mobile and fixed telephone keys (0-9, * #).Another 4 Digital output(ABCD) can use "DTMF Dial" Software control.
Arduino uno/mega2560 Code fragment:
After purchase, please contact me for complete code!
//*******************************************//
#include
int STD = A0;
int Q1 = A1;
int Q2 = A2;
int Q3 = A3;
int Q4 = A4;
....
//Check once every 5 ms
void dtmf_decode(void)
{
....
}
void setup()
{
.....
}
void loop()
{
//Complete the decoding
if(Decod_finished)
{
Decod_finished = 0;
Serial.print(" Activate : " );
switch(Q_dat){
case 1 : Serial.print("1 \\n" ); break;
case 2 : Serial.print("2 \\n" ); break;
case 3 : Serial.print("3 \\n" ); break;
case 4 : Serial.print("4 \\n" ); break;
case 5 : Serial.print("5 \\n" ); break;
case 6 : Serial.print("6 \\n" ); break;
case 7 : Serial.print("7 \\n" ); break;
case 8 : Serial.print("8 \\n" ); break;
case 9 : Serial.print("9 \\n" ); break;
case 10 : Serial.print("0 \\n" ); break;
case 11 : Serial.print("* \\n" ); break;
case 12 : Serial.print("# \\n" ); break;
case 13 : Serial.print("A \\n" ); break;
case 14 : Serial.print("B \\n" ); break;
case 15 : Serial.print("C \\n" ); break;
default : Serial.print("D \\n" ); break;
}
.....
//****************************************************************************//