Exercise Wheel Tracker Confirms Suspicions About Cats

What do cats get up to in the 30 minutes or so a day that they’re awake? Being jerks, at least in our experience. But like many hackers, [Brent] wanted to quantify the activity of his cat, and this instrumented cat exercise wheel was the result.

To pull this off, [Brent] used what he had on hand, which was an M5Stack ESP32 module, a magnetic reed switch, and of course, the cat exercise wheel [Luna] seemed to be in the habit of using at about 4:00 AM daily. The wheel was adorned with a couple of neodymium magnets to trip the reed switch twice per revolution, with the pulse stream measured on one of the GPIOs. The code does a little debouncing of the switch and calculates the cat’s time and distance stats, uploading the data to OpenSearch for analysis and visualization. [Brent] kindly includes the code and the OpenSearch setup in case you want to duplicate this project.

As for results, they’re pretty consistent with what we’ve seen with similar cat-tracking efforts. A histogram of [Luna]’s activity shows that she does indeed hop on the wheel at oh-dark-thirty every day, no doubt in an effort to assassinate [Brent] via sleep deprivation. There’s also another burst of “zoomies” around 6:00 PM. But the rest of the day? Pretty much sleeping.

2022 Cyberdeck Contest: RPG Character Tracker

While it would be a mistake to think there are any firm rules for what constitutes a cyberdeck, we can at least identify some common traits that would seem to give us a baseline description. For example, most deck builds we’ve seen have been fully-functional Linux computers, more often than not powered by some Raspberry Pi variant. But that doesn’t mean there isn’t room in the community for less computational powerful decks, or builds that are so bespoke that they can only perform a few selected tasks.

As a perfect example, take a look at the RPG Character Tracker from [Melissa Matos]. You won’t find a Raspberry Pi here, nor a full operating system. Instead, we’ve got a M5Stack Core2 and an I2C CardKB Mini Keyboard wrapped up in a foldable frame made from Erector Set pieces. Add in a little LED lighting for that cyberpunk feel, and the stage is set.

So what does this diminutive build do? Well, apparently nothing right now. [Melissa] just got the hardware together and has only recently started aligning all the 1s and 0s to do her bidding. But what it’s supposed to do is clear enough: it’s intended to be an electronic companion to complex RPG tabletop games to help with things such as character creation. Sounds like it will also have a “roll dice” mode that will save you the trouble of having to crawl under the table when one of your D20s goes rogue.

While such a device could be useful for many different games, it should come as no surprise to hear that [Melissa] is currently targeting the cyberpunk Shadowrun.

Although we were particularly taken with the online tool that let you generate 3D printed organizers for all your tabletop gaming needs, we’d definitely rather have digital companions like this which would make those plastic baggies full of parts obsolete.

ESP32 Hash Monster Fills Pockets With Packets

Unless you’re reading this from the middle of the ocean or deep in the forest, it’s a pretty safe bet there’s WiFi packets zipping all around you right now. Capturing them is just a matter of having the right hardware and software, and from there, you can get to work on cracking the key used to encrypt them. While such things can obviously have nefarious connotations, there are certainly legitimate reasons for auditing the strength of the wireless networks in the area.

It might not have the computational horsepower to crack any encryption itself, but the ESP32 M5Stack is more than up to the task of capturing WiFi packets if you install the Hash Monster firmware developed by [G4lile0]. Even if you don’t intend on taking things farther, this project makes finding WiFi access points and grabbing their packets a fascinating diversion with the addition of a few graphs and an animated character (the eponymous monster itself) that feeds on all those invisible 1s and 0s in the air.

There’s some excellent documentation floating around that shows you the start to finish process of popping open a WiFi network with the help of Hash Monster, but that’s only the beginning of what’s possible with this gadget. A quick search uncovers a number of software projects that make use of the specific advantages of the M5Stack compared to more traditional ESP32 boards, namely the built-in screen, buttons, and battery. We’ve even seen it used in a few builds here on Hackaday, such as this DIY thermal camera and custom shipboard computer system.

[Thanks to Manuel for the tip.]

An Open Source Shipboard Computer System

We’re not sure how many of you out there own a boat large enough to get its own integrated computer network, but it doesn’t really matter. Even if you can’t use this project personally, it’s impossible not to be impressed with the work [mgrouch] has put into the “Bareboat Necessities” project. From the construction of the hardware to the phenomenal documentation, there’s plenty that even landlubbers can learn from this project.

In its fully realized form, the onboard computer system includes several components that work together to provide a wealth of valuable information to the operator.

Inside the Boat Computer module

What [mgrouch] calls the “Boat Computer” contains a Raspberry Pi 4, a dAISy AIS receiver, an RTL-SDR, a GPS receiver, serial adapters, and the myriad of wires required to get them all talking to each other inside a weatherproof enclosure. As you might expect, this involves running all the connections through watertight panel mounts.

Combined with a suite of open source software tools, the “Boat Computer” is capable of interfacing with NMEA sensors and hardware, receive weather information directly from NOAA satellites, track ships, and of course plot your current position on a digital chart. The computer itself is designed to stay safely below deck, while the operator interacts with it through an Argonaut M7 waterproofed HDMI touch screen located in the cockpit.

For some people, that might be enough. But for those who want to do big, [mgrouch] further details the “Boat Gateway” device. This unit contains an LTE-equipped WiFi router running OpenWrt and all the external antennas required to turn the boat into a floating hotspot. Of course it also has RJ45 jacks to connect up to the other components of the onboard system, and it even includes an M5Stack Core with LAN module so it can display a select subset of sensor readings and navigational data.

If you’d like to do something similar on a slightly smaller scale, we’ve seen sailing computers that pushed all the data to a wearable display or even a repurposed eReader.

Hackaday Links Column Banner

Hackaday Links: July 14, 2019

The M5Stack is a plastic box loaded up with an ESP32, a display, some pin headers, and a few buttons. Why does this exist? It’s a platform of sorts, and we’ve seen people adding LoRa to the M5Stack as well as thermal cameras. Hot from random online retailers is the M5Stick, a smaller version of the ~Stack that still has a screen, still has pin headers, and still has an ESP32. It’s a new development platform that’s using a USB C plug (hot trends 2019), and it still has all the features of an ESP32.

Ever wonder how they put designs on skateboard decks, or graphic designs on luggage? That would be a UV printer — it’s basically an inkjet that uses UV-curing ink, but the print head has a Z axis, and the bed is usually huge. [Scotty] of Strange Parts recently took a look at a factory that makes UV printers. Yeah, there’s a lot of wiring that goes into these machines, and yeah, you can do a lot with them. Remember: the cheapest UV printers are about $3k, and yeah, you can print designs on PCBs with them.

Virgin Orbit is the Branson-branded take on the Stratolaunch; this is a rocket that uses a single 747 to loft a small rocket into the stratosphere and send it off into a sun-synchronous orbit. This week, Virgin Orbit has completed drop tests to characterize how the rocket falls away from the 747. This is also called ‘a bombing run’, and we could have used a few GoPros on the rocket itself.

Last weekend was ‘LeHack’, a French hacker/infosec conference. There was a coffee vending machine there, complete with touch screen and an offer to pay via your smartphone with an app. You know what happened. It turns out, you can take over all the accounts using the app. You can also brute force the user’s pins. Lesson learned? Why the hell does a coffee machine need an app?

The New Pallet Wood! First off, don’t make anything out of pallet wood unless you know what you’re doing; there’s some nasty chemicals in pallet wood. That said, you can make a fortune with pallet wood furniture on Etsy, and that’s doubly true if you make a pallet wood resin river table. This is the new pallet wood. Hollow core doors are easy to disassemble with a table saw, and provide two large sheets of plywood, and enough sticks to make a frame for something. What can you do with all this wood? Build a guitar, of course.

M5Stack Device Disassembled

Putting M5Stack On LoRa And The Things Network

LoRa is the new hotness in low-power, long-range communications. Wanting to let the packets fly, [Xose] was faced with a frequecny problem and ended up developing a Europe-friendly LoRa module for the M5Stack system. The hardware is aimed at getting onto The Things Network, a LoRa based network that provides connectivity for IoT devices. While there was an existing M5Stack module for LoRa, it only supported 433 MHz. Since [Xose] is in Europe, an 868 MHz or 915 MHz radio was needed. To solve this, a custom board was built to connect the HopeRF RFM69 series of modules to the M5Stack.

If you haven’t heard of it before, the M5Stack platform is a stackable development board platform. Like Arduino, you can add functionality by stacking PCBs using a standard header. Unlike Arduino, M5Stack fits in a case nicely and is designed for building devices with user interfaces. For $35, you get an ESP32 based system with WiFi, Bluetooth, a color LCD, battery, buttons, a speaker, and IO connectors.

With the hardware in place, [Xose] 3D printed a custom case to hold the board and added it to the stack. The firmware acts as a monitor for The Things Network, showing live coverage. The final product looks very clean for a prototype, maintaining the finished look of M5Stack.

The firmware, board design, and case design files for the project are all available on Github.

Who Said Thermal Cameras Weren’t Accessible To The Masses?

Thermal cameras hold an enduring fascination as well as being a useful tool for the engineer. After all, who wouldn’t want to point one at random things around the bench, laughing with glee at finding things warmer or colder than expected? But they’ve always been so expensive, and a lot of the efforts that have sought to provide one for little outlay have been rather disappointing.

This has not deterred [Offer] though, who has made an extremely professional-looking thermal camera using an M5Stack ESP32-based computer module and an AMG8833 thermal sensor array module in a 3D-printed case that copies those you’d find on a commercial unit. The modular approach makes it a simple prospect for the constructor, the software can be found on GitHub, and the case files are hosted on Thingiverse. You’ll be finding warm and cold things on your bench in no time, as the video below shows.

Most of the thermal cameras we’ve seen have centred upon the FLIR Lepton module, but that’s a component that remains expensive. This project shows us that thermal cameras are a technology that is slowly becoming affordable, and that greater things are to come.

Continue reading “Who Said Thermal Cameras Weren’t Accessible To The Masses?”