# GSM Module Messaging with Pi 4B

**URL:** <https://forum.core-electronics.com.au/t/gsm-module-messaging-with-pi-4b/21483>\
**Category:** Raspberry Pi\
**Created:** [19 December 2024 18:24 UTC](https://forum.core-electronics.com.au/t/gsm-module-messaging-with-pi-4b/21483 "2024-12-19T18:24:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Devansh256408](https://avatars.discourse-cdn.com/v4/letter/d/9f8e36/32.png) [@Devansh256408](https://forum.core-electronics.com.au/u/Devansh256408)\
**Post date:** [19 December 2024 18:24 UTC](https://forum.core-electronics.com.au/t/gsm-module-messaging-with-pi-4b/21483/1 "2024-12-19T18:24:54Z")

</div>

I plan to buy this hat for my Raspberry Pi 4: [GSM Module](https://thepihut.com/products/r800c-gsm-gprs-hat-for-raspberry-pi). However, I have never embarked on a project requiring SMS and SIM cards, with the aim of my project being the pi able to message my phone. How do I setup this HAT for my pi 4B to do this?

---

<div class="post-metadata">

**Author:** ![Zach](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/zach/32/10899_2.png) [@Zach](https://forum.core-electronics.com.au/u/Zach)\
**Post date:** [20 December 2024 00:35 UTC](https://forum.core-electronics.com.au/t/gsm-module-messaging-with-pi-4b/21483/2 "2024-12-20T00:35:45Z")

</div>

Hey @Devansh256408,

The [Waveshare Wiki for that product](https://www.waveshare.com/wiki/R800C_GSM/GPRS_HAT) has loads of good info on setting up this device.

Under all the technical and debugging information, there’s a section titled: “Connect to Raspberry Pi” that details the process fairly well.

We also have [this guide for the Waveshare 4G HAT](https://core-electronics.com.au/guides/raspberry-pi-4g-gps-hat/) that may prove useful, though some things will be different due to the difference in boards.

If you run into any trouble, let us know!

---

<div class="post-metadata">

**Author:** ![Devansh256408](https://avatars.discourse-cdn.com/v4/letter/d/9f8e36/32.png) [@Devansh256408](https://forum.core-electronics.com.au/u/Devansh256408)\
**Post date:** [22 December 2024 09:02 UTC](https://forum.core-electronics.com.au/t/gsm-module-messaging-with-pi-4b/21483/3 "2024-12-22T09:02:59Z")

</div>

Hey @Zach,

I purchased the GSM module and tried to follow the [HAT’s Wavehsare Wiki](https://www.waveshare.com/wiki/R800C_GSM/GPRS_HAT) but in the Raspberry Pi setup description, it tells me to download the R800C\_GSM\_GPRS\_HAT\_Code.zip but then the following steps talk about pi\_gpio\_init.sh, which isn’t in that zip folder. What should I do?

---

<div class="post-metadata">

**Author:** ![lia262073](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@lia262073](https://forum.core-electronics.com.au/u/lia262073)\
**Post date:** [9 January 2025 09:20 UTC](https://forum.core-electronics.com.au/t/gsm-module-messaging-with-pi-4b/21483/4 "2025-01-09T09:20:05Z")

</div>

I think you can check this thread.  
[https://forums.raspberrypi.com/viewtopic.php?t=241208](https://forums.raspberrypi.com/viewtopic.php?t=241208)

---

<div class="post-metadata">

**Author:** ![Zach](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/zach/32/10899_2.png) [@Zach](https://forum.core-electronics.com.au/u/Zach)\
**Post date:** [10 January 2025 01:38 UTC](https://forum.core-electronics.com.au/t/gsm-module-messaging-with-pi-4b/21483/5 "2025-01-10T01:38:46Z")

</div>

Hey @Devansh256408,

Sorry, we never got back to you on this, for some reason it slipped through the cracks of our forum handling system.

Did you get this working? If not, can you send the error you get when trying to execute the following command?

![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/7/7bd4768562cabd76384053f3ad27db72a2e94e99.png)
