Comment on page
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
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:
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:
sudo apt-get install minicom
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
minicom -D /dev/ttyS0
AT, if the modem responds with
OKyou successfully connected to the SIM7070G modem.
In case you don’t manage to open the ttyS0 connection or don't receive an
- 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
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
+APP PDP: 0,ACTIVE
Select the PDP index
0for the PING test:
Send 5 PINGs to IP address
184.108.40.206with a timeout of 20 seconds.
If the connection is active, you will see 5 PINGs with a number representing the response time in milliseconds. Example response:
Deactivate the PDP index after completing the PING test.
+APP PDP: 0,DEACTIVE