LTE IoT Click Board
LTE IoT Click Board
The LTE IoT Click Board™ is a compact add-on board that contains a complete and cost-efficient solution offering multi-band data transmissions for Low-Power Wide-Area solutions. This board features the SARA-R410M-02B, a cellular module that supports LTE CAT M1 and Narrowband 1 (NB1) technologies, developed with IoT applications in mind from u-Blox. Designed for worldwide operation with a rich set of Internet protocols, equipped with industry-standard interfaces (UART, USB…), Network and Status indicators, familiar AT commands set over the UART interface, micro USB connector for interfacing with software application from u-Blox, are just some of the features available on this Click Board™. Its many features make it suitable for use in a wide range of M2M applications, such as smart metering in various industries (agriculture, gas distribution, water distribution), product tracking, and more.
The LTE IoT Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
Software Support
We provide a demo application for LTE IoT Click Board™ on our Libstock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The application is composed of three sections :
System Initialization - Initializes all necessary GPIO pins, UART used for the communication with LTE IOT 2 module and UART used for information logging
Application Initialization - Initializes driver, power-on module and sends a few commands for the default module configuration Create UDP socket and sending the message to UDP socket.
This code snippet shows how generic parser should be properly initialized. Before the intialisation module must be turned on and additionally to that hardware flow control should be also
Commands :
Command : AT+CMEE=2 - Enables the cellular module to report verbose error result codes
Command : AT+CGATT? - Verifies the SARA-R4 module is attached to the network.
Command : AT+CEREG? - Verify the network registration status.
Command : AT+COPS=0 - Register the module on the network
Command : AT+COPS? - Read the operator name
Command : AT+USOCR=17 - Create a UDP socket.
Command : AT+USOST=0,"IP address",port,number character,"message" - Connecting and storing text on the server.
Command : AT+USORF=0, number character - Reading the message from the server
Command : AT+USOCL=0 - Closing the socket.
void applicationInit() { // MODULE POWER ON lteiot_hfcEnable( true ); lteiot_modulePower( true ); // MODULE INIT lteiot_cmdSingle( &_LTEIOT_AT[0] ); lteiot_cmdSingle( &_LTEIOT_ATE1[0] ); lteiot_cmdSingle( &_LTEIOT_AT_CMEE[0] ); lteiot_cmdSingle( &_LTEIOT_AT_CGATT[0] ); lteiot_cmdSingle( &_LTEIOT_AT_CEREG[0] ); lteiot_cmdSingle( &_LTEIOT_AT_COPS[0] ); lteiot_cmdSingle( &_LTEIOT_AT_COPS_1[0] ); lteiot_cmdSingle( &_LTEIOT_AT_USOCR[0] ); lteiot_cmdSingle( &_LTEIOT_AT_USOST[0] ); lteiot_cmdSingle( &_LTEIOT_AT_USOCL[0] ); }
Alongside with the demo application timer initialization functions are provided. Note that timer is configured according to default development system and MCUs, changing the system or MCU may require an update of timer init and timer ISR functions. The full application code, and ready to use projects can be found on our Libstock page.
Other MikroElektronika libraries used in the example:
- String
- Conversion
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.
MIKROSDK
The LTE IoT 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.
LTE IoT Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.