Stufin
Home Quick Cart Profile

M5Stack COM.NB-IoT Module (SIM7020G) with antenna

Buy Now on Stufin

Operating Frequency

B1, B3, B5, B8, and B20

Data Transfer Rate

Up to 27.2 kbps (uplink) and 62.5 kbps (downlink)

Power Consumption

Typical 10mA (idle), 20mA (active)

Supply Voltage

3.2V - 4.2V

Serial Interface

UART, I2C, or SPI

Operating Temperature

-40C to 85C

Storage Temperature

-40C to 125C

Applications

The M5Stack COM.NB-IoT Module (SIM7020G) is suitable for a wide range of IoT applications, including

Smart metering and energy management

Industrial automation and monitoring

Smart cities and infrastructure

Agriculture and environmental monitoring

Wearables and health monitoring

Smart home and building automation

Overall, the M5Stack COM.NB-IoT Module (SIM7020G) with antenna is a reliable and efficient communication module for IoT devices, offering a combination of low power consumption, compact size, and robust cellular connectivity.

Pin Configuration

  • M5Stack COM.NB-IoT Module (SIM7020G) with Antenna Pinout Documentation
  • The M5Stack COM.NB-IoT Module (SIM7020G) is a compact, low-power NB-IoT communication module designed for IoT applications. This module comes with an integrated antenna and is based on the SIM7020G chipset. Here's a detailed pinout explanation, point by point, to help you connect and utilize the module efficiently:
  • Pinout Structure:
  • The module has a total of 24 pins, divided into two rows of 12 pins each. The pinout structure is as follows:
  • Row 1 (Top Row):
  • 1. VDD (Power Supply):
  • Pin Description: Power supply pin for the module.
  • Voltage Range: 3.3V - 4.5V
  • Recommended Voltage: 3.8V
  • 2. VIO (I/O Power Supply):
  • Pin Description: Power supply pin for the I/O peripherals.
  • Voltage Range: 1.8V - 3.3V
  • Recommended Voltage: 1.8V
  • 3. GND (Ground):
  • Pin Description: Ground pin for the module.
  • 4. RST (Reset):
  • Pin Description: Active-low reset pin for the module.
  • 5. PWRKEY (Power Key):
  • Pin Description: Power key pin to control the module's power state.
  • 6. RX (Serial Receive):
  • Pin Description: Serial receive pin for UART communication.
  • 7. TX (Serial Transmit):
  • Pin Description: Serial transmit pin for UART communication.
  • 8. WAKE (Wake-up):
  • Pin Description: Wake-up pin to wake the module from sleep mode.
  • 9. DTR (Data Terminal Ready):
  • Pin Description: Data terminal ready pin for UART communication.
  • 10. RI (Ring Indicator):
  • Pin Description: Ring indicator pin for UART communication.
  • 11. VINT (Internal Voltage):
  • Pin Description: Internal voltage pin for the module.
  • 12. ANT (Antenna):
  • Pin Description: Antenna pin connected to the internal antenna.
  • Row 2 (Bottom Row):
  • 13. GND (Ground):
  • Pin Description: Ground pin for the module.
  • 14. NC (Not Connected):
  • Pin Description: Not connected, reserved for future use.
  • 15. NC (Not Connected):
  • Pin Description: Not connected, reserved for future use.
  • 16. ADC_IN (Analog-to-Digital Converter Input):
  • Pin Description: Analog input pin for the ADC.
  • 17. DAC_OUT (Digital-to-Analog Converter Output):
  • Pin Description: Digital output pin for the DAC.
  • 18. SPI_CLK (SPI Clock):
  • Pin Description: Clock pin for SPI communication.
  • 19. SPI_MOSI (SPI Master Out Slave In):
  • Pin Description: Master out slave in pin for SPI communication.
  • 20. SPI_MISO (SPI Master In Slave Out):
  • Pin Description: Master in slave out pin for SPI communication.
  • 21. SPI_CS (SPI Chip Select):
  • Pin Description: Chip select pin for SPI communication.
  • 22. IRQ (Interrupt):
  • Pin Description: Interrupt pin for indicating events such as data reception or transmission completion.
  • 23. NSS (Network Status):
  • Pin Description: Network status pin indicating the module's network connection status.
  • 24. VBAT (Battery Voltage):
  • Pin Description: Battery voltage pin for monitoring the battery level.
  • Pin Connection Guidelines:
  • 1. Connect VDD to a 3.3V - 4.5V power supply, with a recommended voltage of 3.8V.
  • 2. Connect VIO to a 1.8V - 3.3V power supply, with a recommended voltage of 1.8V.
  • 3. Ground the GND pins to the system's ground.
  • 4. Connect the RX and TX pins to a UART interface (e.g., serial terminal or microcontroller).
  • 5. Connect the ANT pin to the internal antenna or an external antenna (if required).
  • 6. Use the RST pin to reset the module programmatically or through a physical button.
  • 7. Use the PWRKEY pin to control the module's power state programmatically or through a physical button.
  • 8. Connect the SPI pins (SPI_CLK, SPI_MOSI, SPI_MISO, and SPI_CS) to a SPI interface (e.g., microcontroller or peripheral device).
  • 9. Use the ADC_IN pin for analog-to-digital conversions.
  • 10. Use the DAC_OUT pin for digital-to-analog conversions.
  • 11. Connect the IRQ pin to an interrupt handler or a GPIO pin for interrupt-driven operations.
  • 12. Use the NSS pin to monitor the module's network connection status.
  • Important Notes:
  • Ensure proper power supply decoupling and ESD protection for the module.
  • Consult the datasheet and reference manual for specific usage and configuration guidelines.
  • Follow the recommended operating conditions and voltage ranges to ensure optimal performance and prevent damage to the module.
  • By following these pinout guidelines and connection recommendations, you can successfully integrate the M5Stack COM.NB-IoT Module (SIM7020G) with antenna into your IoT project and leverage its NB-IoT communication capabilities.

Code Examples

M5Stack COM.NB-IoT Module (SIM7020G) with Antenna Documentation
Overview
The M5Stack COM.NB-IoT Module (SIM7020G) is a NarrowBand Internet of Things (NB-IoT) module that enables low-power, low-bandwidth communication for IoT applications. It is based on the SIM7020G chipset and comes with an integrated antenna, making it a compact and convenient solution for IoT projects.
Hardware Specifications
Chipset: SIM7020G
 Frequency Bands: B1/B3/B5/B8/B20/B28
 Data Rate: Up to 27.2 kbps (UL) and 62.5 kbps (DL)
 Power Consumption: Sleep mode: < 1 mA, Idle mode: 10 mA, Active mode: 50 mA
 Operating Voltage: 3.3 V - 4.2 V
 Interface: UART, USB
 Antenna: Integrated PCB antenna
Software Requirements
M5Stack Arduino library (for Arduino-based projects)
 Python library (for Python-based projects)
Code Examples
### Example 1: Sending Data to a Server Using AT Commands (Arduino)
This example demonstrates how to use the M5Stack COM.NB-IoT Module to send data to a server using AT commands.
```cpp
#include <M5Stack.h>
#define BAUDRATE 115200
void setup() {
  Serial.begin(BAUDRATE);
  delay(1000);
  
  // Initialize the NB-IoT module
  Serial.println("AT+CFUN=1");
  delay(1000);
  
  // Set the APN
  Serial.println("AT+CSTT=""your_apn""");
  delay(1000);
  
  // Set the username and password
  Serial.println("AT+CIICR=""your_username"