NB IoT 2 Click-Platine
NB IoT 2 Click-Platine
Overview
Der NB IoT 2 Click Board™ ist eine kompakte Zusatzplatine, die ein kompaktes LTE Cat NB2-Modul mit extrem niedrigem Stromverbrauch enthält. Diese Platine verfügt über das BC66-NA, ein leistungsstarkes Multiband-LTE Cat NB2-Modul mit extrem niedrigem Stromverbrauch von Quectel Wireless Solutions. Es bietet eine flexible und skalierbare Plattform für die Migration von GSM/GPRS zum NB-IoT-Netzwerk und unterstützt Band 71 und Band 85, um mehr Betreiber zu unterstützen. Es bietet außerdem externe Schnittstellen, Protokollstapel (für hohen Komfort für Ihre Anwendungen) und eine vollständige Palette von SMS- und Datenübertragungsdiensten, um die Anforderungen der Clientseite zu erfüllen. Dieses Click Board™ eignet sich für eine Vielzahl von IoT-Anwendungen, wie z. B. Smart Metering, intelligente Wearables, Sicherheit und Anlagenverfolgung, Haushaltsgeräte, Umweltüberwachung und vieles mehr.
Der NB IoT 2 Click wird durch eine mikroSDK-kompatible Bibliothek unterstützt, die Funktionen enthält, die die Softwareentwicklung vereinfachen. Dieses Click Board™ wird als vollständig getestetes Produkt geliefert und ist bereit für den Einsatz auf einem System, das mit der mikroBUS™-Buchse ausgestattet ist.
How Does The NB IoT 2 Click Board™ Work?
The NB IoT 2 Click Board™ as its foundation uses the BC66-NA, a high-performance NB-IoT module with extremely low power consumption from Quectel Wireless Solutions. It is designed to communicate with the infrastructures of mobile network operators through NB-IoT radio protocols (3GPP Rel.13 and 3GPP Rel.14). It supports a broad range of frequency bands such as B1/B2/B3/B4/B5/B8/B12/B13/B17/B18/B19/B20/B25/B28/B66/B71/B85. It also provides several interfaces, UART and SPI, and protocol stacks such as UDP/TCP, MQTT, LwM2M, and others. These protocols that allow data and SMS transmission using NB technology, make this module the perfect choice for building IoT applications such as smart gas and water meters, even without the need for an external MCU unit.
In order to turn ON this Click board™, the user has to press the onboard push-button labelled as PWRKEY down for a period longer at least 500ms, which represents the Ignition (Power-On) button. PWRKEY button cannot be pulled down all the time; otherwise, the module will not be able to enter into power-save mode. This feature is shown by the yellow diode labelled as CONNECT to indicate the device's Operational Status.
The NB IoT 2 Click Board™ communicates with MCU using the UART interface as its default communication protocol with the option for the users to use another interface such as SPI if they want to configure the module and write the library by themselves. It supports automatic baud rate detection, operates at 115200 bps by default configuration, and is used for data transmission and exchanging AT commands with the host MCU.
In addition to these features, the BC66-NA also uses two GPIO pins connected to the mikroBUS™ socket. The WUP pin routed on the INT pin of the mikroBUS™ represents the external interrupt pin used for waking up the device from a power-saving mode, while the RST pin on the mikroBUS™ socket can perform Hardware Reset function by putting this pin in a logic low state. This Click board™ also has the micro USB connector allowing the module to be powered and configured by a personal computer. Also, it has an additional header labelled as ADC IN because the BC66-NA provides a 10-bit ADC input channel to read the voltage value. The interface is available in Active mode and has to be woken up first to ensure availability in Sleep modes.
The NB IoT 2 Click Board™ possesses the SMA antenna connector with an impedance of 50Ω. This Click board™ can use it to connect the appropriate antenna that Mikroe has in its offer. Besides the SMA connector, it also has a SIM card slot that provides multiple connections and interface options.
This Click board™ can be operated only with a 3.3V logic voltage level and comes with a proper logic voltage level conversion performed by the appropriate voltage level translator TXB0106. The board must complete the proper logic voltage level conversion before use with MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | LTE IoT |
Applications | Can be used for a wide range of IoT applications, such as smart metering, intelligent wearables, security and asset tracking, home appliances, environmental monitoring, and many more. |
On-board modules | BC66-NA - high-performance NB-IoT module with extremely low power consumption from Quectel Wireless Solutions |
Key Features | Ultra-low power consumption, multi-band NB-IoT module, high performance, built-in eSIM, wake-up interrupt, and more. |
Interface | UART,USB,SPI |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout on the NB IoT 2 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
Reset | RST | 2 | RST | INT | 15 | WUP | Wake-Up Interrupt |
SPI Chip Select | CS | 3 | CS | RX | 14 | TX | UART TX |
SPI Clock | SCK | 4 | SCK | TX | 13 | RX | UART RX |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | NC | |
SPI Data IN | SDI | 6 | MOSI | SDA | 11 | NC | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | NC | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
LD2 | CONNECT | - | Status LED Indicator |
J2 | Analog Input | Unpopulated | ADC Channel Connector |
T1 | PWR | - | Power Button |
NB IOT 2 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Operating Frequency Range | 698 | - | 2170 | MHz |
Operating Temperature Range | -35 | +25 | +75 | °C |
Software Support
Software Support
We provide a library for the NB IoT 2 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
Library provides functions for sending commands to devices, and for controlling included GPIO.
Key Functions
void nbiot2_send_cmd( char *cmd )
- Function for sending data to the devicevoid nbiot2_hw_reset ( void )
- Function for restarting the device
Example 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
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- UART
Additional Notes and Information
Depending on the development board you are using, you may need a 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 NB IoT 2 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.
Software Support
Software Support
We provide a library for the NB IoT 2 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
Library provides functions for sending commands to devices, and for controlling included GPIO.
Key Functions
void nbiot2_send_cmd( char *cmd )
- Function for sending data to the devicevoid nbiot2_hw_reset ( void )
- Function for restarting the device
Example 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
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- UART
Additional Notes and Information
Depending on the development board you are using, you may need a 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 NB IoT 2 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.
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.