4G LTE-E Click Board
4G LTE-E Click Board
If you need to add 4G cellular access to your project, then the 4G LTE Click Board™ is worth considering.
The 4G LTE Click Board™ is an LTE Cat 1 / 2G multimode cellular network solution featuring the compact LARA-R2 series modem from u-blox. This module supports up to three LTE bands and GSM bands. It also features a full range of options for high-speed cellular networking and communication, such as the network indication, full embedded TCP/UDP stack, HTTP and HTTPS transfer protocols, IPv4/IPv6 dual-stack support, secondary antenna for the RX diversity, antenna detection, jamming signal detection, embedded TLS 1.2 protocol for the improved security and more. The 4G LTE Click Board™ can achieve data rates up to 10.3 Mbps/5.2 Mbps (downlink/uplink).
Software Support
We provide a library for 4G LTE-E Click Board™ on our Libstock page, as well as a demo application (example), developed using MikroElektronika compilers and mikroSDK. The provided Click Board™ library is mikroSDK standard compliant. The demo application can run on all the main MikroElektronika development boards.
Library Description
The library carries generic command parser adopted for AT command based modules. Generic parser.
Key functions:
c4glte_cmdSingle
- Sends the provided command to the module.c4glte_setHandler
- Handler assignation to the provided command.c4glte_modulePower
- Turns on the module.
Examples Description
Example demo application waits for the call. After the call is received the parser will get a hangup call.
This code snippet shows how generic parser should be properly initialized.
Before initialization, the module must be turned on and in addition to this, the hardware
flow control should also be turned on.
- The first command negotiates baud rate with the module.
- The second command turns echo off.
- The third command enables hardware flow control - necessary in case of UART polling.
- The fourth command sets up the default message format.
- .
// MODULE POWER ON c4glte_hfcEnable( true ); c4glte_modulePower( true ); // MODULE INIT c4glte_cmdSingle( "AT" ); c4glte_cmdSingle( "ATE0" ); c4glte_cmdSingle( "AT+IFC=2,2" ); c4glte_cmdSingle( "AT+CMGF=1" );
Along with the demo application, timer initialization functions are provided. Note that timer is configured according to the 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 mikroE Libraries used in the example:
- String
- Conversions
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ 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
This 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.
4G LTE-E Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.