Handy Hazard Companion


Picking up from the last post, where I went over setting up the Raspberry Pi with the Grovepi+ and various sensors to make an environmental array which allows me to access data from the enviroment on a multitude of levels.

Now with the all the gear and code set up, I’m ready to make this thing portable somehow.

The sensors are such that would make a great network of safety and inspection programs. Think about having the ability to say:

Recieve warnings when the airs too toxic or Being able to detect fires on the other side of a door and Measure many potentially harmful gases.

Or perhaps

Give you a heads up if something/somebody that you cannot see is lurking nearby. Just as functionally cool, being able to navigate in the dark or With your eyes closed.

As well as certain environmental readouts such as sunshine (uv/infrared), temperature and humidy and altitude and air pressure which can all be useful for say environmental data collection or finding a perfect place to plant seeds.

So I thought making it WEARABLE would be the most practical way to package this thing so that your hands are always free for such outdoorsy tasks.

Once 100% complete, this would make a great tool for environmental inspection, firefighting,crime fighting, personal assistance. “My Handy Hazard Buddy”.

How to make your own pipboy

Drawing inspiration from the Fallout universe I figured theres gotta be a decent pipboy blue print out there somewhere which would be my best bet since I haven’t picked up 3d modeling yet but I DO have a 3d printer.

3 Attempts And 16 Hours Later

My halfway 3d printed Adafruit rendition of fallout 4's pipboy with Grove sensors attached for actual environmental readouts.

:/ …Yea it’s cool I guess. Hard to print on my machine so I only got half and the surface wasn’t exactly ideal for attaching sensors and It’s bulky. I wouldn’t feel safe relying on this thing in a hazard put it that way.

So I eventually ran into the raptor reloaded wrist and thought this could work great if I can find some general sensor mounts, some special ones for the ultrasonic ranger and PIR motion sensors, some latches to lock it shut, and a raspberry pi case that I can modify a bit oh and a watertight battery enclosure. And resize the wrist to better attach everything neat n’ sleak. Yea I’d be be in business. 🙂

A Smooth 36 Hours Later

A Grove ultrasonic ranger attached to my wearable raspberry pi sensor system.

The ultrasonic ranger with an attached, PIR motion sensor both can be adjusted to cover about a 270° twist.

A series of Grove Sensors hand chosen for specific environmental indoor/outdoor readouts attached to my prototype raspberry pi wearable sensor array.

Temperature and humidity,sunshine, indoor light, air pressure and altitude. Below that is the flame sensor and gas sensor and the 2 in the bottom middle are collision and air quality. Some Comdox 410 heavy duty Screws to attach them.

A Grove RGB backlight for my wearable raspberry pi sensor system. Useful for communicating data though text and color as well as for the a.i. to express it's

The RGB LCD backlight: to communicate information with words and colors.

My completed prototype of a wearable environmental readouts system built with the Raspberry Pi and the Grovepi+

Some raspberry pi m2.5 screws to attach the pi to the grovepi+ and the case as well as the sensors themselves to their respective mounts.

Another look at my

And a portable usb battery to power the whole thing and be swapped out and charged easily.

The original plan was to use a LCD screen but mine was acting a bit screwy so I control it with my phone using VncViewer until I get a new one.

Hell yeah this thing rocks. It feels balanced, comfortable to wear and as sleak as I can get for now(it’s only my first one after all). I’d take a stroll in a gas leak with thing heh 😉 and what’s more, for a more complete manifestation of it’s philosophy, it has parts that glow in the dark and parts that change color in the sun to react to the environment inside and out. Physically and digitally. Hallelujah.


Before I get into code, let me get into what my particular setup does specifically. Remember these sensors are not limited to my system. They can be used in any combination to accommodate any desire. Sky’s the limit.

I wanted mine to have day to day (pre -apocalyptic) uses but can also be useful in various hazardous situations. And with the Grove pi +, My 3 enviro.py files give a close to realtime readout of 3 different environmental sets:

Enviro.py: for outdoors. temp/humid air pressure/altitude, sunlight. Again pretty useful for environmental data gathering and a little bit of gardening.

Enviro2.py: for Indoors. for harmful gases and overall air quality readings, fire detection, collision detection.


Enviro3.py:Vision assistance(Spidey sense) navigate without a light source, detect potential dangers nearby that you otherwise couldn’t see. And get a feel for how far said threat would be.


Set up the grovepi+ and grab my GitHub repo if you hadn’t done so already. It’s very straightforward so if you’ve checked out the code examples in the wiki, you shouldn’t have too many problems.

Pretty much what I did was put a handful of them together in each ENVIRO script. You run it, and it gives you a constant readout of that particular sensor array. If you just so happen to be following along, make sure your sensors are plugged into the corresponding slots matching the code.

Again Enviro3

And Enviro2

It ougghta look gorgeous no matter what your physical set up looks like. 🙂

And with that, we now have our very own enviromental safety and data collecting tool up and running for real world applications.

Wicked 😉

Thats it for this little saga.
Feel free to comment and share your own versions.

And ping if you appreciated this.

I’m always interested.


3 thoughts on “Handy Hazard Companion

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.