OOK RX Click Board
OOK RX Click Board
The OOK RX Click Board™ is a wireless receiver that operates at the frequency of 433MHz (sub-GHz). This device allows the realization of a simple, low-speed wireless ad hoc communication network between a receiver and a compatible transmitter. This device features an ASK/OOK demodulator, analogue RSSI output, and integrated squelch capabilities.
Software Support
We provide a library for the OOK RX Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers and mikroSDK. The provided click library is mikroSDK standard compliant. The demo application can run on all the main MikroElektronika development boards.
Library Description
This library contains a function that receives data from the OOK RX Click Board™.
Key functions
uint8_t ookrx_receiveData(uint16_t startPacket, uint8_t * pReceivedData, uint8_t numBytes)
- Reads data from the DO pin.
The application is composed of three sections :
- System Initialization - Initializes pin directions and logger utility.
- Application Initialization - Initializes driver.
- Application Task (Code Snippet) - Prints out any received data via UART.
void applicationTask() { char outputTxt[20]; uint8_t receivedPacket[1]; if(!(ookrx_receiveData(0xCE35, &receivedPacket, 1))) { ShortToStr(receivedPacket[0], outputTxt); mikrobus_logWrite(outputTxt, _LOG_LINE); } }
The full application code, and ready to use projects can be found on our LibStock page.
MikroElektronika Libraries used in the example:
- UART
- Conversions
- C_String
Additional Notes and Information
Depending on the development board you are using, you may need a 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.
MIKROSDK
The OOK RX Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant click board demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
OOK RX Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.