How does it work?
LTE IoT Click is based on the SARA-R410M-02B, a configurable LTE Cat M1/NB1 multi-mode module with global support for IoT and M2M applications from u-blox. This module consists of several internal blocks or sections, such as the RF and memory section, the power management section, and the cellular baseband processor with the peripheral interfaces. It supports UART and USB interfaces, alongside an interface for external SIM card/chip, an ultra-low power consumption, and cost-optimized solutions making it ideal for the development of LPWA IoT applications. It also provides an Extended Discontinuous Reception (e-DRX), which can extend battery life up to 10 years. Another benefit of SARA-R410M-02B is the hardware readiness for future support of voice functionality via VoLTE over Cat M1, which can be used for applications requiring a level of human interaction, as is the case for security applications such as alarm panels.
The power supply of the SARA-R410M-02B module is regulated to 3.8V by the MCP1826, a 1A low-drop output (LDO) regulator from Microchip. The digital interface supply output pin from the module is providing a needed reference voltage for one side of the TXB0106, a 6-bit bidirectional level shifting and voltage translator, from Texas Instruments. The main UART bus of the module is connected to one side of the TXB0106 level shifter, while the other side is connected to the respective mikroBUS™ UART pins. The reference voltage for the other side of the level shifter is taken from the onboard SMD jumper, labeled as PWR SEL used to select between 3.3V and 5V from the mikroBUS™, depending on the used MCU type and its logic voltage level requirements.
The SARA-R410M-02B module communicates with MCU using the UART interface with commonly used UART RX and TX pins including the hardware flow control pins UART CTS, RTS, RI (Clear to Send, Ready to Send, and Ring Indicator). It supports automatic baud rate detection, operates at 115200 bps by default configuration, and it is used for data transmission and exchanging AT communication commands with the host MCU. In addition to the default baud rates, the UART interface supports baud rates of 9600, 19200, 38400, and 57600. This interface can also act as a device and be connected to a USB host, such as the personal computer (PC), allowing the proprietary application from u-Blox called m-center to be used, offering a clean and comprehensive interface for accessing the main functionality of the module, setting up the configuration parameters, managing SMS messages, tracing the module activity, and more.
LTE IoT Click possesses on itself the SMA antenna connector with an impedance of 50Ω and it can be used for connecting the appropriate antenna that MikroE has in its offer such as Rubber Antenna GSM/GPRS Right Angle. This antenna is an excellent choice for all GSM/GPRS applications and supports a various range of frequencies and bands. It has a Micro SIM card holder on the back of the Click board™ used to install a micro SIM card which allows connection to the cellular network with both 1.8V and 3V SIM card types supported.
The onboard active-low pushbutton labeled as PWR routed to the AN pin on the mikroBUS™ represents the Ignition (Power-On) button which successful action will be indicated by the STAT LED. If the device is already powered up, a LOW pulse with the duration of 1.5s on this pin will power the module down. It is also possible to power down the module by issuing the AT+CPWROFF command or with a Reset function routed to the RST pin on the mikroBUS™ which will cause an abrupt power down (forced power down) by sending an active low input on this pin with the duration of 10s.
This Click board™ has two LED indicators: the yellow LED labeled as STAT used to visually indicate the Operational Status of the device, and a red LED labeled as TX used to indicate the Network Status. The network status is indicated using the following pattern:
General network signalization:
- Always low: No network coverage / Not registered on a network
For home network connection:
- Cyclically high for 50ms, low for 50ms, high for 50ms, low for 2s: registered to a 3G network
- Cyclically high for 100ms, low for 3s: registered to CAT Narrowband 1 (NB1) network
- Always high: data transmission in progress
For roaming network connection:
- Cyclically high for 50ms, low for 50ms, high for 50ms, low for 100ms: registered to a 3G network
- Cyclically high for 100ms, low for 100ms, high for 100ms, low for the 30s: registered to CAT Narrowband 1 (NB1) network
- Cyclically high for 800ms, low for 200ms: data transmission in progress
This Click Board™ is designed to be operated with both 3.3V and 5V logic voltage levels that can be selected via the PWR SEL jumper. A proper logic voltage level conversion is performed by appropriate voltage level shifters, while the LDOs are ensuring that the module is powered by recommended values. This allows for both 3.3V and 5V capable MCUs to use the UART communication lines properly.
Specifications
Type
LTE IoT
Applications
Can be used for a smart metering, IoT networking, remote monitoring automation and control, and other IoT / M2M applications which rely on a cellular network connection, and more.
On-board modules
LTE IoT Click is based on the SARA-R410M-02B, a configurable LTE Cat M1/NB1 multi-mode module with global support for IoT and M2M applications from u-Blox.
Key Features
CAT NB and CAT M1 technologies support, aimed at M2M and IoT applications, software-based configuration of the operator profiles and LTE bands allows multiple regions coverage, USB connectivity, visual network and status indication, and more.
Interface
UART,USB
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V or 5V
Pinout diagram
This table shows how the pinout on LTE IoT click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | TX | – | Network status LED indicator, red |
LD2 | STAT | – | Module Status LED Indicator |
LD3 | PWR | – | Power LED Indicator |
JP1 | PWR SEL | Left | Power Supply Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
T1 | PWR | Left | Power button: Power ON – hold pressed for 150ms, Power OFF – hold pressed for 1.5s |
CN2 | ANT | Left | Main SMA Antenna Connector |
CN3 | USB | Left | Micro USB Connector Type AB |
SIM | SIM | Left | SIM Card Holder |
LTE loT Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | -0.5 | – | 5.2 | V |
LTE FDD Band Range | 700 | – | 2100 | MHz |
LTE Cat M1/NB1 Power Class | – | 23 | – | dBm |
Operating Temperature Range | -40 | – | +85 | °C |
Software support
We provide a demo application for LTE IoT Click 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 intialization module must be turned on and additionaly 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 acording to default develoment 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
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.
For more information about mikroSDK, visit the official page.