TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136720 times)
  2. FAT32 Library (69928 times)
  3. Network Ethernet Library (55939 times)
  4. USB Device Library (46261 times)
  5. Network WiFi Library (41884 times)
  6. FT800 Library (41150 times)
  7. GSM click (28979 times)
  8. PID Library (26412 times)
  9. mikroSDK (26357 times)
  10. microSD click (25353 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

LTE IoT click

Rating:

5

Author: MIKROE

Last Updated: 2018-09-21

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: LTE IoT

Downloaded: 3931 times

Not followed.

License: MIT license  

LTE IoT click is a Click board that allows connection to the LTE and 2G networks, featuring the compact form-factor SARA R410 LTE/2G module, which offers two LTE technologies aimed at Machine to Machine communication (M2M) and the Internet of Things (IoT).

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "LTE IoT click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "LTE IoT click" changes.

Do you want to report abuse regarding "LTE IoT click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

LTE IoT click

LTE IoT click

Native view of the LTE IoT click board.

View full image
LTE IoT click

LTE IoT click

Front and back view of the LTE IoT click board.

View full image

Library Description

The application is composed of three sections :

System Initialization - Initializes all necessary GPIO pins, UART used for the communcation with LTE IOT 2 module and UART used for infromation logging
Application Initialization - Initializes driver, power on module and sends few command for the default module configuration Create UDP socket and sending message to UDP socket.

This code snippet shows how generic parser should be properly initialized. Before 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.

Example description

Click board wakes up from sleep. Some tests are performed. After the tests and after the data has been sent and received from the network the click board is placed into the sleep mode to its low power mode. All events that are executed inside of the application task are printed to the serial port.

// 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 update of timer init and timer ISR  functions. 

Other MikroElektronika libraries used in the example:

  • String
  • Conversion

Depending on the development board you are using, you may need USB UART clickUSB 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.

ALSO FROM THIS AUTHOR

DC Motor 24 click

0

DC Motor 24 Click is a compact add-on board with a brushed DC motor driver. This board features the L9958, an SPI-controlled H-bridge from STMicroelectronics. The L9958 is rated for an operating voltage range from 4V to 28V, with direct PWM motor control and current regulation threshold set by the SPI interface from 2.5A to 8.6A. It also has complete diagnostic and protection capabilities supporting the robust and reliable operation.

[Learn More]

HVAC click

5

HVAC Click is a compact add-on board that contains Sensirion’s next-generation miniature CO2 sensor. This board features the SCD41, a carbon dioxide sensor build on the photoacoustic sensing principle, and Sensirion’s patented PASens® and CMOSens® technology to offer high accuracy at a minor form factor. On-chip signal compensation is realized with the build-in humidity and temperature sensor. It operates within a specified range from 400 to 5’000 ppm, configurable through the I2C interface with a single shot mode supported. This Click board™ is also suitable for indoor air quality applications using an additional SPS30 that allows smart ventilation systems to regulate ventilation in the most energy-efficient and human-friendly way, maintaining low CO2 concentration for a healthy, productive environment.

[Learn More]

DC Motor 23 click

0

DC Motor 23 Click is a compact add-on board with a brushed DC motor driver. This board features the TB67H480FNG, a dual-channel, H-bridge, brushed DC motor driver from Toshiba Semiconductor. Fabricated with the BiCD process (DMOSFET is used for output power transistor), it covers a wide operating voltage range of 8.2V to 44V with a maximum output current capacity of 2A. It also offers many helpful features that support a robust and reliable operation, like the decay modes selection function, several protection features, and one anomaly detection indicator.

[Learn More]