Hardware Reset for RPI zero 2W with SIM7600G-H 4G HAT

Hi, I am using the SIM7600G-H 4G HAT by Waveshare to control an RPI with reverse ssh.

I want my system to be robust to hung-ups, and as such, a reset to the entire RPI with an SMS would be awesome. Can the modem be used for a Hardware reset for when the RPI is stuck?

Thanks
Alon

1 Like

Hi @alon291105

Welcome to the forum!

One of our forum users @Dave65452 has put together a GitHub repo for executing shell commands with a text message over in this post that should get you pointed in the right direction.

1 Like

That is super cool, but I am looking for something different - a hardware reset.

For example, reseting the power to the RPI externally without interacting with RPI software at all.
Another option is this:

Hi @alon291105

Looking at the hat there doesn’t appear to be any way you could interface with the reset pins directly.

From my experience with running a Pi as a router, the Pi itself is rarely the issue (Currently have 4 months+ of uptime on my Pi router without the need of a reset)

If you’re using the hat to get an internet connection, you could look at having the Pi run an access point with a microcontroller that has wifi capabilities that then attempts to ping say 8.8.8.8 and if it doesn’t receive a response to short the run and ground pins on the Pi

1 Like

Got it. Thats a cool idea.

Thanks :slight_smile: