dtmfdecoder 2.0.0.0
|
DTMF Decoder Click is a compact add-on board that contains an integrated DTMF receiver with enhanced sensitivity. This board features the MT8870D, a complete DTMF receiver integrating the band-split filter and digital decoder functions from Microchip Technology.
We provide a library for the DTMFDecoder Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on mikroE github account.
This library contains API for DTMFDecoder Click driver.
dtmfdecoder_cfg_setup
Config Object Initialization function. dtmfdecoder_init
Initialization function. dtmfdecoder_default_cfg
Click Default Configuration function. dtmfdecoder_tone_read
This function reads a last registered tone and returns decoded data in character format. dtmfdecoder_delayed_steering_check
This function checks the state of the StD pin. dtmfdecoder_powerdown_off
This function powers up the device and along with the oscillator. This example shows the basic tone capture of DTMF frequencies, decoding and representing them on the UART LOG.
The demo application is composed of two sections :
Initializes I2C and UART LOG drivers and powers on the device.
Checks the delayed steering for incoming tones and decoding them on the UART LOG. Holding the same key will recognize multiple tone generation, the tone register delay constant can be set to adjust the tolerance.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on mikroE github account.
Other mikroE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all Mikroelektronika compilers.