Pet Monitor for RVs and Trailers (Saves Dogs From Heat!)

by CameronCoward in Circuits > Mobile

136 Views, 1 Favorites, 0 Comments

Pet Monitor for RVs and Trailers (Saves Dogs From Heat!)

petmonitor_thumb_65.jpg
This Could Save Your Dog's Life When Camping
P1422532.JPG
P1422535.JPG
Screenshot 2026-07-21 150800.png
PXL_20260711_182620353.jpg
PXL_20260521_145738525.jpg
Screenshot 2026-07-09 151442.png
Screenshot_20260711-113358.png
Screenshot_20260711-113044.png

This is a monitoring device that keeps your dogs safe while camping in an RV or travel trailer.

We all know not to leave a dog in a hot car. But your RV or travel trailer can be just as dangerous. If it has an air conditioner, you can keep the interior cool and your dog comfortable. But what if your generator runs out of gas or your AC malfunctions? The result could be tragic if that happens while you're away on a hike or grocery shopping trip.

I built this device to prevent that. If you've heard of Waggle, it is basically like that (but cheaper). It monitors the temperature and humidity, snaps photos, and sends you an alert if conditions get too hot. All data goes over cellular through Hologram, which automatically switches networks, so it is reliable. That's also cheap, so it should only cost a few dollars a month to run.

---

I created the first version of this device in just a few days for a camping trip my wife and I took from Arizona up to Yellowstone, and back. We have a Scamp fifth wheel travel trailer and wanted to ensure our dogs would be safe.

To get it done in such a short amount of time, I used Embedder. That is an AI created specifically for embedded development and it worked great. I recommend you check out Embedder if you do anything with electronics hardware!

---

GitHub repository with all files is here:

https://github.com/theserialhobbyist/PetMonitor

Supplies

Electronics:

  1. Raspberry Pi Zero W 2
  2. Waveshare SIM7600G-H 4G HAT
  3. Hologram SIM Card
  4. BME280 Sensor Module
  5. IMX219 Arducam V2
  6. Micro USB power supply (cable or 12V-to-5V converter)

Fasteners:

  1. M3 heat-set threaded inserts
  2. M2 heat-set threaded inserts
  3. M3 screw assortment
  4. M2 screw assortment
  5. Standoff assortment

Enclosure:

  1. Base (3D-printed or CNC-milled)
  2. Cover (3D-printed)

Order Hologram SIM Card

This device relies entirely on cellular connectivity. You can use something else, but I highly recommend Hologram. It is affordable and automatically switches between networks, for reliability and performance.

Running this monitor requires very little data (especially if you turn off photo uploads), so the Hologram service doesn't cost much at all.

Just sign up on the Hologram website to order a Hologram Hyper eUICC IoT SIM card. For me, it was only $3 + shipping.

Prepare Enclosure

Screenshot 2026-07-21 153210.png
PXL_20260627_130817629.jpg
PXL_20260627_135934426.jpg
PXL_20260627_142622269.jpg
PXL_20260627_141907456.jpg
PXL_20260610_235219936.jpg

While you're waiting for your parts to arrive, you can go ahead and make the device's enclosure.

I designed the cover to be 3D-printed on an FFF 3D printer. It accepts heat-set threaded inserts, so resin printing isn't suitable. I recommend you print it in ASA, ABS, or something else that can hold up to heat. Supports aren't necessary.

Use a dedicated tool or a soldering iron to put M3 inserts into all of the holes, except the camera mount holes that take M2 inserts.

The base can be 3D-printed or CNC-milled. I milled mine out of brass on a Makera Z1 and I think that is the best choice. But if you don't have access to a mill, 3D printing is fine.

---

Some background info on the design:

I used Autodesk Fusion CAD software to model the enclosure, as I usually do. But this time, I did that by first 3D-scanning the components using a Creality Sermoon P1. That let me bring meshes into Fusion, so I could model the enclosure around the components and get a perfect fit.

I want to refine that workflow a bit before I post a guide on how to do it, but I like the way this 3D scanning + Autodesk Fusion approach eliminates the need for cumbersome measurements taken with calipers.

Understand the System

Screenshot 2026-07-09 152120.png
Screenshot 2026-07-09 152101.png

The system as two "sides."

First is everything that runs locally on the Raspberry Pi Zero W 2, which is about collecting data from the sensors/camera and interfacing with the SIM HAT to upload that data over the Hologram network.

Second is everything in the cloud, which receives the uploaded data, stores it, and gives the user an interface.

---

Everything in the first group is built on Python, vibe-coded using Embedder.

Everything in the second group runs in a Google Firebase app (also vibe-coded with Embedder). It has a database and photo storage, plus a web interface where users can see the data, adjust some settings, view photos, and set the notification threshold.

---

Notifications go through MQTT, because that requires very little data and is very reliable.

To get those notifications on your phone, you can use ntfy (free) or Pushover (one-time fee). Both have prioritization and emergency overrides of quiet/do not disturb modes.

I felt like that was very important, because you don't want to risk missing a notification when your dog is in danger.

In my testing on Android, ntfy worked just fine and provides notifications that are basically impossible to miss. From what I understand, Pushover might provide slightly better results on iOS and may be worth trying if you think ntfy isn't sufficient.

Connect Components

PXL_20260707_221603387.jpg

The hardware is easy to connect.

The SIM HAT uses pogo pins, which is nice. All you have to do is attach the HAT to your Raspberry Pi using the provided standoffs and screws.

Then use the ribbon cable provided with the Arducam to connect it to the Raspberry Pi.

Finally, use some jumper wires to connect the BME280 sensor to the Raspberry Pi's GPIO pins:

| BME280 | Pi Pin | Notes |

|-----------|-----------------|-----------|

| VIN / VCC | Pin 1 (3.3V) | |

| GND | Pin 9 (GND) | |

| SDA | Pin 3 (GPIO 2) | I2C data |

| SCL | Pin 5 (GPIO 3) | I2C clock |


Address 0x76 = SDO tied to GND (set `i2c_addr` to `0x77` if SDO → VCC).

Software Setup

Grab the files you need from GitHub: https://github.com/theserialhobbyist/PetMonitor


To make this a lot easier, I had Embedder create a setup script/installer thing.

It isn't quite as easy as just running an installer on Windows, but it helps to install the necessary dependencies and walk you through configuring everything.

It does that in two stages:

Stage 1 - on your development PC, handling the setup and deployment of the Firebase app.

Stage 2 - on the Raspberry Pi, handling the installation of the software packages and configuration.

The SETUP-GUIDE.txt document in the project files contains instructions on how to do all of that. The README.md file contains additional information that is particularly useful if you don't want to use the semi-automated installer/wizard (or if it doesn't work for some reason).

Using the Web Interface

Screenshot 2026-07-11 113228.png

After following the setup instructions, you'll be able to access the Firebase web app through the browser on any device with internet. You should create Firebase credentials for the app for anyone who you want to have access.

The web app will contain photos of the interior of your RV/travel trailer, so privacy is important!

Then, in the web app, you will see the critical information and settings.

Displayed data includes:

  1. Status (online/offline)
  2. Current temperature
  3. Current humidity
  4. Pressure
  5. Time of last update (should update once per minute)
  6. Most recent photo
  7. Graph with a 24-hour history of temperature/humidity
  8. A gallery of recent photos

Available settings include:

  1. Whether or not to upload photos
  2. High temperature alert threshold
  3. Low temperature alert threshould
  4. High humidity alert threshold

There are many additional settings and configuration options that are not in the web app. Those are on the Raspberry Pi itself and you can tweak those during setup. That is, for example, where you enable/disable the notification service and enter the credentials for the service you choose.

Assemble Device and Mount

PXL_20260707_222412185.jpg
PXL_20260707_222557384.jpg
PXL_20260707_223113000.jpg
PXL_20260707_223213244.jpg

Once you have everything setup and have verified that it works, you can finish assembly of the device.

Start by using M2 screws to attach the camera module to the cover. Then use M3 screws to attach the BME280 module to the cover.

Next, use the standoffs and their screws to attach the SIM HAT/Raspberry Pi to the base. From there, you can put the antenna threads through the cover, the washer/nut on the other side, and top it off with the antenna.

Finally, use M3 screws to join the base and cover. Everything should line up properly, so you can insert the micro USB cable for power.

---

Mounting will depend on your RV/trailer. I designed the base with too long slots, so you can put through screws into a wood cabinet or something like that. You can also use strong double-sided tape.

You'll want to put it in a place with three qualities:

  1. Close to power (either a USB port or 12V power wires you can tap into)
  2. Good camera view, so you can see the interior where your dogs aren't
  3. Not too high or in direct sunlight (might throw off temperature readings)

Go Camping!

photos_petmonitor-01_2026-07-11T18-38-40.765279Z.jpg
DJI_20260521081126_0010_D.JPG

Now you should be able to camp without stress!

Hologram switches networks automatically, so there is a very good chance you'll have coverage anywhere you camp. If coverage is poor or you want to limit data usage, you can turn off photo uploads. With those off, it uses very little data.

Before you rely on this for long periods of time, you should test it to make sure it works reliably.

And any time you're going to use it, keep in mind that both the monitor device and your own smartphone need service for alerts to go through. Because that requires little data and uses MQTT, the service can be poor and it will still work. But we're talking about the safety of your dog, so test it in each location to make sure you're getting updates!