TOP Contributors

  1. MIKROE (2663 codes)
  2. Alcides Ramos (357 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 (137069 times)
  2. FAT32 Library (70199 times)
  3. Network Ethernet Library (56082 times)
  4. USB Device Library (46395 times)
  5. Network WiFi Library (42013 times)
  6. FT800 Library (41347 times)
  7. GSM click (29108 times)
  8. mikroSDK (26544 times)
  9. PID Library (26486 times)
  10. microSD click (25483 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

NB IoT 2 click

Rating:

5

Author: MIKROE

Last Updated: 2021-04-26

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: LTE IoT

Downloaded: 1648 times

Not followed.

License: MIT license  

NB IoT 2 Click is a compact add-on board that contains a compact LTE Cat NB2 module with ultra-low power consumption.

No Abuse Reported

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

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

Do you want to report abuse regarding "NB IoT 2 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

NB IoT 2 Click

NB IoT 2 Click

Native view of the NB IoT 2 Click board.

View full image
NB IoT 2 Click

NB IoT 2 Click

Front and back view of the NB IoT 2 Click board.

View full image

Library Description

Library provides functions for sending commands to the device, and for controlling included GPIO.

Key functions:

  • void nbiot2_send_cmd( char *cmd ) - Function for sending data to the device
  • void nbiot2_hw_reset ( void ) - Function for restarting the device

Examples description

The application is composed of three sections :

  • System Initialization - Initialization of UART module and additional pins
  • Application Initialization - Enables UART Interrupt, resets the device, and configures the device
  • Application Task - Checks a few parameters for device connection
void application_task ( )
{
    nbiot2_send_cmd( &CGATT[ 0 ] );
    Delay_ms( 5000 );
    write_buff(  );

    nbiot2_send_cmd( &CEREGG[ 0 ] );
    Delay_ms( 5000 );
    write_buff(  );

    nbiot2_send_cmd( &CSQ[ 0 ] );
    Delay_ms( 5000 );
    write_buff(  );
}


Additional Functions :

  • void write_buff ( ) - Function for writing response buffer

Other mikroE Libraries used in the example:

  • UART

Additional notes and informations

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

AMR Current click

5

The AMR Current Click is a Click board which features the MCR1101-20-5, an AMR based integrated current sensor from ACEINNA.

[Learn More]

Temp-Log 2 click

0

Temp-Log 2 click is a precise ambient temperature measurement device, equipped with the additional non-volatile (EEPROM) memory that can be used to permanently store system configuration, and 64 bits of general-purpose EEPROM, used for logging application specific or user preference data. This click covers a range of temperatures from -55°C to +125°C with the highest accuracy of ±0.2°C.

[Learn More]

AD-SWIO 3 click

0

AD-SWIO 3 Click is a compact add-on board representing a software configurable input/output solution for various purposes. This board features the AD74115H, a single-channel, software-configurable input and output with HART mode from Analog Devices. It provides many functionality for analog input, analog output, digital input, digital output, 2-wire, 3-wire, and 4-wire resistance temperature detector (RTD), and thermocouple measurement capability. The supply power and isolation part are managed by the ADP1034, a 3-channel isolated micropower management unit with seven digital isolators and programmable power control, also from Analog Devices.

[Learn More]