ismrx3 2.0.0.0
|
ISM RX 3 Click is a compact add-on board that contains a Sub-GHz RF receiver. This board features the MAX41470, a high-performance, low-power receiver ideal for amplitude shift-keyed (ASK) and frequency shift-keyed (FSK) data from Maxim Integrated, now part of Analog Devices.
We provide a library for the ISMRX3 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 ISMRX3 Click driver.
ismrx3_cfg_setup
Config Object Initialization function. ismrx3_init
Initialization function. ismrx3_default_cfg
Click Default Configuration function. ismrx3_reset
Reset function. ismrx3_get_data
Read data output. ismrx3_get_clk
Read clock output. This example showcases ability of click board to configure
and read incoming rf signal and parses data using data and clock line.
The demo application is composed of two sections :
Initialization of communication modules (SPI, UART), and additional
communication pins. Resets device, reads device ID, and sets default configuration that sets ASK modulation and 433.92MHz with 5bps data rate.
Reads clock pin and gets samples of data pin state, converts it in manchester
data that stores in buffer. When it fills out manchester buffer checks if expected preamble data is received. If it is checks the next byte(it should be received data length). Then parses rest of data and if it's correct shows it on log.
- The expected data that is received is:
PREAMBLE_WORD(2bytes), DATA_LENGTH(1byte), DATA(1..255bytes)
- By default PREAMBLE_WORD is set to be 0xAAAA.
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. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.