Stufin
Home Quick Cart Profile

DTMF Decoder - GL

Buy Now on Stufin

Component Name

DTMF Decoder - GL

Overview

The DTMF Decoder - GL is a compact, low-power Dual-Tone Multi-Frequency (DTMF) decoding module designed for various Internet of Things (IoT) applications. This module is capable of detecting and decoding DTMF tones, commonly used in telecommunications, voice response systems, and other interactive voice applications.

Functionality

The DTMF Decoder - GL module receives an analog audio signal containing DTMF tones and decodes them into a digital output. The module includes a high-quality audio amplifier and filter, which Condition the input signal before decoding. The GL module uses a proprietary algorithm to accurately detect and decode the DTMF tones, ensuring reliable operation even in noisy environments.

Key Features

### Electrical Characteristics

Operating Voltage

3.3V to 5.5V

Operating Current

10mA (typical)

Input Impedance

2k (typical)

Output Logic Level

CMOS compatible

### Performance Characteristics

DTMF Tone Detection

Detects and decodes 16 DTMF tones (0-9, , #, A, B, C, D)

Tone Detection Threshold

-30 dBm (typical)

Tone Duration

40 ms (typical)

Decoding Accuracy

>99% at -20 dBm signal level

### Interface and Connectivity

Analog Audio Input

Single-ended input for DTMF tone signal

Digital Output

4-bit digital output (Q0-Q3) for decoded DTMF tone

Control Pins

Active-low reset (RST) and valid tone detected (VT) indicators

### Physical Characteristics

Package Type

SMD (Surface Mount Device)

Package Size

14-pin SOP (Small Outline Package), 10.16 mm x 5.08 mm x 1.27 mm

Weight

approximately 0.5 grams

### Operating Environment

Operating Temperature

-40C to +85C

Storage Temperature

-55C to +125C

Humidity

5% to 95% relative humidity (non-condensing)

Applications

The DTMF Decoder - GL module is suitable for various IoT applications, including

Interactive Voice Response (IVR) systems

Telephone and telephony systems

Remote control systems

Voice-controlled devices

Automotive and industrial control systems

Documentation and Support

Comprehensive documentation, including datasheets, application notes, and sample code, is available for the DTMF Decoder - GL module. Additionally, dedicated technical support is provided for customers requiring assistance with integration or customization.

Pin Configuration

  • DTMF Decoder - GL Component Documentation
  • Overview
  • The DTMF Decoder - GL is a dual-tone multi-frequency (DTMF) decoder integrated circuit designed to decode DTMF signals from telephone lines or other communication systems. This component is commonly used in telephone-related applications, such as remote control systems, telephony equipment, and automated attendant consoles.
  • Pinout
  • The DTMF Decoder - GL has 18 pins, which are described below:
  • Pin 1: VCC
  • Function: Power supply pin
  • Description: This pin is connected to a positive voltage supply (typically 5V) to power the DTMF decoder.
  • Pin 2: IN+
  • Function: Non-inverting input pin
  • Description: This pin is connected to the positive input signal of the DTMF signal to be decoded.
  • Pin 3: IN-
  • Function: Inverting input pin
  • Description: This pin is connected to the negative input signal of the DTMF signal to be decoded.
  • Pin 4: GND
  • Function: Ground pin
  • Description: This pin is connected to the system ground to provide a return path for the power supply and signal currents.
  • Pin 5: Q1 (DTMF Output 1)
  • Function: DTMF output pin
  • Description: This pin outputs a logic high signal when the corresponding DTMF tone is detected.
  • Pin 6: Q2 (DTMF Output 2)
  • Function: DTMF output pin
  • Description: This pin outputs a logic high signal when the corresponding DTMF tone is detected.
  • Pin 7: Q3 (DTMF Output 3)
  • Function: DTMF output pin
  • Description: This pin outputs a logic high signal when the corresponding DTMF tone is detected.
  • Pin 8: Q4 (DTMF Output 4)
  • Function: DTMF output pin
  • Description: This pin outputs a logic high signal when the corresponding DTMF tone is detected.
  • Pin 9: GS ( Valid Tone Indicator)
  • Function: Valid tone indicator pin
  • Description: This pin outputs a logic high signal when a valid DTMF tone is detected.
  • Pin 10: E1 (Enable 1)
  • Function: Enable pin
  • Description: This pin is connected to a logic low signal to enable the decoder.
  • Pin 11: E2 (Enable 2)
  • Function: Enable pin
  • Description: This pin is connected to a logic low signal to enable the decoder.
  • Pin 12: CI (Clock Input)
  • Function: Clock input pin
  • Description: This pin is connected to a clock signal (typically 3.58 MHz) to synchronize the decoder.
  • Pin 13: R/C1 (Resistor/Capacitor Connection 1)
  • Function: Resistor/capacitor connection pin
  • Description: This pin is connected to a resistor and capacitor to form a filter network for the clock signal.
  • Pin 14: R/C2 (Resistor/Capacitor Connection 2)
  • Function: Resistor/capacitor connection pin
  • Description: This pin is connected to a resistor and capacitor to form a filter network for the clock signal.
  • Pin 15: NC (No Connection)
  • Function: No connection pin
  • Description: This pin is not connected internally and should be left unconnected.
  • Pin 16: Q5 (DTMF Output 5)
  • Function: DTMF output pin
  • Description: This pin outputs a logic high signal when the corresponding DTMF tone is detected.
  • Pin 17: Q6 (DTMF Output 6)
  • Function: DTMF output pin
  • Description: This pin outputs a logic high signal when the corresponding DTMF tone is detected.
  • Pin 18: Q7 (DTMF Output 7)
  • Function: DTMF output pin
  • Description: This pin outputs a logic high signal when the corresponding DTMF tone is detected.
  • Connection Structure
  • When connecting the DTMF Decoder - GL to a circuit, ensure that:
  • VCC (Pin 1) is connected to a 5V power supply.
  • IN+ (Pin 2) and IN- (Pin 3) are connected to the DTMF signal source, such as a telephone line or a tone generator.
  • GND (Pin 4) is connected to the system ground.
  • Q1-Q7 (Pins 5-7, 16-18) are connected to a microcontroller or other logic circuits to process the decoded DTMF signals.
  • GS (Pin 9) is connected to a microcontroller or other logic circuits to indicate a valid tone detection.
  • E1 and E2 (Pins 10-11) are connected to a logic low signal to enable the decoder.
  • CI (Pin 12) is connected to a 3.58 MHz clock signal.
  • R/C1 and R/C2 (Pins 13-14) are connected to a resistor and capacitor to form a filter network for the clock signal.
  • By following this pinout and connection structure, the DTMF Decoder - GL can be successfully integrated into your circuit to decode DTMF signals and control various applications.

Code Examples

DTMF Decoder - GL Component Documentation
Overview
The DTMF Decoder - GL is a versatile and efficient component designed to decode Dual-Tone Multi-Frequency (DTMF) signals, commonly used in telecommunication systems. This component is particularly useful in IoT applications where tone-based input is required, such as in remote control systems, automated attendant consoles, and voice response systems.
Features
Decodes DTMF signals from an analog input
 Supports 16 DTMF tone frequencies (0-9, , #, A-D)
 Provides a digital output of the decoded tone
 Operates at a wide range of input frequencies (300-3400 Hz)
 Glitch-free and noise-resistant design
Pinout
The DTMF Decoder - GL component has the following pinout:
VCC: Power supply (3.3V or 5V)
 GND: Ground
 IN: Analog input for DTMF signal
 OUT: Digital output of decoded tone (active low)
Code Examples
### Example 1: Basic DTMF Decoding using Arduino
This example demonstrates how to use the DTMF Decoder - GL component with an Arduino board to decode DTMF tones and print the corresponding digits to the serial monitor.
```c++
const int inPin = A0;  // Analog input pin for DTMF signal
const int outPin = 2;  // Digital output pin for decoded tone
void setup() {
  pinMode(outPin, INPUT);
  Serial.begin(9600);
}
void loop() {
  int tone = digitalRead(outPin);
  if (tone != 1) {
    Serial.print("DTMF tone detected: ");
    switch (tone) {
      case 0: Serial.println("0"); break;
      case 1: Serial.println("1"); break;
      case 2: Serial.println("2"); break;
      ...
      case 15: Serial.println("D"); break;
      default: Serial.println("Invalid tone");
    }
  }
  delay(50);
}
```
### Example 2: DTMF-based Remote Control using Raspberry Pi and Python
This example shows how to use the DTMF Decoder - GL component with a Raspberry Pi to create a simple remote control system using Python.
```python
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
inPin = 18  # Analog input pin for DTMF signal
GPIO.setup(inPin, GPIO.IN)
while True:
  tone = GPIO.input(inPin)
  if tone == 0:
    print("DTMF tone detected: ", end='')
    time.sleep(0.1)  # Debounce delay
    if tone == 0:
      switch tone:
        case 0: print("0"); break
        case 1: print("1"); break
        case 2: print("2"); break
        ...
        case 15: print("D"); break
        default: print("Invalid tone")
      time.sleep(0.5)  # Delay between tone detection
```
Note: In both examples, the DTMF signal is connected to the analog input pin (IN) of the DTMF Decoder - GL component. The digital output pin (OUT) is connected to a digital input pin on the microcontroller (Arduino or Raspberry Pi).