Love your Raspberry Pi but wish it had even more connectivity akin to your mobile phone. Then the Waveshare 4G HAT is the solution for you!
Full Article (with scripts and terminal commands) - [ Ссылка ]
Related Information
Set Up a Raspberry Pi as a Desktop Computer - [ Ссылка ]
LED Control Script and Hook Up Explanation (Found in Chapter 2) - [ Ссылка ]
Where Your IoT Devices Can Connect - [ Ссылка ]
LTE Cat-M1 Vs NB-IoT Mobile Connectivity - [ Ссылка ]
How GPS Receivers Work - [ Ссылка ]
How to use Raspberry Pi Imager - [ Ссылка ]
Use Your Phone to Control Your Raspberry Pi - [ Ссылка ]
This Hat means Serious Business. This Waveshare 4G HAT has a SIM7600G-H Module onboard which enables the 4G/3G/2G communication and GNSS positioning. This module supports LTE CAT4 connection up to 150Mbps for downlink data transfer.
By the end of this guide, you will be able to send text messages and ring phones from your Raspberry Pi Single Board Computer. Furthermore, you will be to pinpoint exactly what location your device is via GPS (and then send that location data through a text message). You will also be able to send text messages (SMS) to your Raspberry Pi Single Board Computer which can then activate hardware (attached via GPIO Pins) based on the contents of the text message.
You can also run this Waveshare 4G HAT as an Internet Hotspot, providing an internet connection that you can use to access the web or send out MQTT commands but to prevent blowing up the scope of this guide any larger, that will be explored in a follow-up guide. Furthermore, correctly configured this Waveshare 4G HAT will work with an Arduino Uno Micro-Controller or even as a standalone board, but that's also another story for another guide.
If you have any questions about this content or want to share a project you're working on head over to our maker forum, we are full time makers and here to help - [ Ссылка ]
Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:
Waveshare 4G HAT (Inc. GLONASS GPS) - [ Ссылка ]
Hologram Global IoT SIM - [ Ссылка ]
USB Microphone - [ Ссылка ]
SIM Card Adapter - [ Ссылка ]
Raspberry Pi 4 Model B (4GB) Ultimate Kit Bundle - [ Ссылка ]
Raspberry Pi Model B 2GB (used here): [ Ссылка ]
Raspberry Pi 4 Model B 8GB: [ Ссылка ]
Raspberry Pi 4 Power Supply: [ Ссылка ]
0:00 Intro
0:25 4G HAT Overview
1:01 Video Overview
1:26 What You Need
2:44 Assembly of Hardware
5:33 Software Set Up
9:45 Ring a Phone with a Raspberry Pi!
10:54 Success 1!
11:15 GPS Script
11:56 Success 2!
12:19 Human Readable GPS Script
12:50 Success 3!
13:19 GPS Data Sent as Text Script
14:26 Success 4!
15:00 GPIO Control Via SMS Script
17:01 Success 5!
17:40 Outro
![](https://i.ytimg.com/vi/ABnwz-IYzqA/maxresdefault.jpg)