Waveshare SIM7070G
Low Power Cellular IoT Communication HAT for Raspberry Pi
The Waveshare SIM7070G HAT for Raspberry Pi has global support for LTE Cat-M1, NB-IoT, GPRS and EDGE, as well as GNSS positioning. It can be easily attached to the 40 GPIO pins of the Raspberry Pi as well as to microcontrollers such as the Arduino or STM32.
Waveshare SIM7070G HAT for Raspberry Pi. Img source: waveshare.com
​

Quick Navigation

Prerequisites

Getting Started with the Waveshare SIM7070G

Insert the Monogoto SIM card at the bottom of the Waveshare HAT.
Bottom of the Waveshare SIM7070G HAT, showing the SIM card slot and 40 female pins. Img source: waveshare.com
This guide explains how to connect the Waveshare HAT to the Raspberry Pit. It is also possible to connect your Windows, MaxOS or Linux machine to the Waveshare HAT directly allowing you to configure the SIM7070G modem without the need for a Raspberry Pi.
To do so, connect your computer to the micro USB port of the Waveshsare HAT and connect to the modem using PuTTY (Windows), minicom, screen or miniterm (Linux/MacOS). When using Windows, this driver is required.
Connect the LTE and GNSS antennas and add the Waveshare HAT to a Raspberry Pi using the 40 GPIO pins.
Waveshare SIM7070G with connected LTE and GNSS antennas, attached to the Raspberry Pi. Img source: waveshare.com
Power the Raspberry Pi and connect to it using SSH, or by connecting a keyboard and mouse.
Click and hold the PWRKEY for about 1 second, until the NET LED starts blinking red.
Enable the hardware serial, allowing the Raspberry Pi to communicate with the Waveshare HAT. To do so, open the Raspberry Pi Software Configuration Tool by entering the following command in your terminal:
1
sudo raspi-config
Copied!
Select: 3 Interface Options > P6 Serial Port
Answer <No> to β€œWould you like a login shell to be accessible over serial?”
Answer <YES> to β€œWould you like the serial port hardware to be enabled?”
Install minicom to be used as the tool to interface with the SIM7070G modem:
1
sudo apt-get install minicom
Copied!
Alternatives to minicom for Linux or MacOS are miniterm or screen, feel free to use your application of choice. When using Windows to connect to the Raspberry Pi, you can use PuTTY
Connect with the modem via port ttyS0 using minicom:
1
minicom -D /dev/ttyS0
Copied!
Enter AT, if the modem responds with OK you successfully connected to the SIM7070G modem.
In case you don’t manage to open the ttyS0 connection or don't receive an OK:
  • Try rebooting the Raspberry Pi and try again
  • Double check if the NET LED is blinking red. If not, click and hold the PWRKEY button for 1 second
  • Be patient, it may take some time before the modem responds

Connect the SIM7070G to Monogoto

​
Visit the SIMCom SIM7070G documentation for a detailed guide on connecting the modem to Monogoto.

Test the connection by sending a PING

A PING test can be performed to test if the modem has an active data connection with a mobile network.
Activate a data connection for PDP index 0:
1
AT+CNACT=0,1
Copied!
Expected response: +APP PDP: 0,ACTIVE
Select the PDP index 0 for the PING test:
1
AT+SNPDPID=0
Copied!
Expected response: OK
Send 5 PINGs to IP address 8.8.8.8 with a timeout of 20 seconds.
1
AT+SNPING4="8.8.8.8",5,1,20000
Copied!
If the connection is active, you will see 5 PINGs with a number representing the response time in milliseconds. Example response:
1
+SNPING4: 1,8.8.8.8,104
2
+SNPING4: 2,8.8.8.8,93
3
+SNPING4: 3,8.8.8.8,145
4
+SNPING4: 4,8.8.8.8,75
5
+SNPING4: 5,8.8.8.8,157
Copied!
Deactivate the PDP index after completing the PING test.
1
AT+CNACT=0,0
Copied!
Expected response: +APP PDP: 0,DEACTIVE
Great work on connecting the SIM7070G to Monogoto! Have a look at the Things logs in the Monogoto Console to find more details about the established connection.

Useful Links