RatPack Is A Wearable Fit For A Rodent

Rats are often seen as pests and vermin, but they can also do useful jobs for us, like hunting for landmines. To aid in their work, [kjwu] designed the RatPack, a wearable device that lets these valiant rats communicate with their handlers.

The heart of the build is an ESP32-CAM board, which combines the capable wireless-enabled microcontroller with a small lightweight camera. It’s paired with a TinyML machine learning board, and it’s all wrapped up in a 3D printed enclosure that serves as a backpack to fit African Giant Pouched rats.

The RatPack can provide a live video feed. However, its main purpose is to track the rat’s movements through the use of an accelerometer. This data is then fed to the machine learning subsystem, which analyzes it to detect certain gestures the rats have been trained to make. The idea is that when the rat identifies an object of interest, such as a landmine, it will perform a predetermined gesture. The RatPack would then detect this, and transmit a signal to the rat’s handlers. Given a rat’s limbs are all on the bottom of its body, this approach is useful. It’s kind of hard to ask a rat to press a button on its own back, after all.

Finding and carefully disposing of unexploded ordnance is a problem facing many societies around the world. We’re lucky in many cases that the rats are helping out with this difficult and dangerous job.

Rib Cage Lamp Kicks It Up A Notch With Party Mode

We think [Michelle]’s sound-reactive rib cage lamp turned out great, and the photos and details around how it was made are equally fantastic. The lamp is made of carved and waxed wood, and inside is a bundle of LED lighting capable of a variety of different color palettes and patterns, including the ability to react to sound. Every rib cage should have a party mode, after all.

The LED strip is fashioned into an atom-like structure.

Turns out that designing good rib cage pieces is a bigger challenge than one might think. [Michelle]’s method was to use an anatomical 3D model as reference, tracing each piece so that it could be cut from a flat sheet of wood.

The resulting flat pieces then get assembled into a stack, with each rib pointed downward at a roughly 20 degree angle. This process is a neat hack in itself: instead of drilling holes all at exactly the same angle, [Michelle] simply made the holes twice the diameter of the steel rod they stack on. The result? The pieces angle downward on their own.

The LED lighting is itself a nice piece of work. The basic structure comes from soldered solid-core wire. The RGB LED strip gets wound around that, then reinforced with garden wire. The result is an atomic-looking structure that sits inside the rib cage. An ESP32 development board drives everything with the FastLED library.

Code for everything, including the sound-reactive worky bits, which rely on an INMP441 I2C microphone module is all available on GitHub. And if you want to make your own sound-reactive art, make sure to check out these arms as well.

Want to see the rib cage in action? A short demo video is embedded below that demonstrates the sound reactivity. Equally applicable to either party or relaxation modes, we think.

Continue reading “Rib Cage Lamp Kicks It Up A Notch With Party Mode”

Trombone Controls Virtual Trombone

Guitar Hero was a cultural phenomenon a little over a decade ago, and showed that there was a real fun time to be had playing a virtual instrument on a controller. There are several other similar games available now for different instruments, including one called Trombone Champ that [Hung Truong] is a fan of which replaces the traditional guitar with a trombone. The sliding action of a trombone is significantly different than the frets of a guitar, making it a unique challenge in a video game. But an extra challenge is building a controller for the game that works by playing a real trombone.

Unlike a guitar which can easily map finger positions to buttons, mapping a more analog instrument like a trombone with its continuous slide to a digital space is a little harder. The approach here was to use an ESP32 and program it to send mouse inputs to a computer. First, an air pressure sensor was added to the bell of the trombone, so that when air is passing through it a mouse click is registered, which tells the computer that a note is currently being played. Second, a mouse position is generated by the position of the slide by using a time-of-flight sensor, also mounted to the bell. The ESP32 sends these mouse signals to the computer which are then used as inputs for the game.

While [Hung Truong] found that his sensors were not of the highest quality, he did find the latency of the control interface, and the control interface itself, to be relatively successful. With some tuning of the sensors he figures that this could be a much more effective device than the current prototype. If you’re wondering if the guitar hero equivalent exists or not, take a look at this classic hack from ’09.

Continue reading “Trombone Controls Virtual Trombone”

Hackaday Prize 2022: Solar Powered LoRa Weather Station For The Masses

[Debasish Dutta] has designed a few weather stations in the past, and this, the fourth version of the system has had many of the feature requests from past users rolled in. The station is intended to be used with an external weather sensor unit, provided by Sparkfun. This handles wind speed and direction, as well as measuring rainfall. A custom PCB hosts an ESP32-WROOM module and an Ai-Thinker Ra-02 LoRa module for control and connectivity respectively. A PMS5003 sits on the PCB to measure those particulate densities, but most sensors are connected with simple 4-way I2C connectors. Temperature, humidity, and pressure are handled by a BME280 module, UV Index (SI1145), visible light (BH1750) even soil humidity and temperature with a cable-mounted SHT10 module.

All this is powered by a solar panel, which charges a 18650 cell, and keeps the show running during the darker hours. For debugging and deployment, a USB-C power port can also be used to provide charge. A 3D printed Stevenson screen type enclosure allows the air to circulate amongst the PCB-mounted sensor modules, without hopefully too much moisture making it in there to cause mischief.

On the data collection and visualization side, a companion LoRa receiver module is in progress, which is intended to pass along measurements to a variety of services. Think Home Assistant, ESP home, and that kind of thing. Software is still a work in progress, so maybe check back later to see how [Debasish] is getting on with that?

This kind of multi-sensor hosting project is nothing new here, here’s a 2019 Hackaday prize entry along the same lines. Of course, gathering and logging measurement data is only part of the problem, visualization of those measurements is also important. Why not use a mechanical approach, such as a diorama?

A graphing calculator with a 3D-printed enclosure, with a circuit board next to it

2022 Cyberdeck Contest: The Galdeano Is More Than A Graphing Calculator

Graphing calculators have evolved from expensive playthings for rich nerds to everyday tools for high schoolers worldwide. Even though teenagers nowadays carry powerful internet-connected computers in their pockets, math teachers often prefer them to use a clunky Z80-powered calculator in class, if only because their limited performance reduces the potential for distraction. The worst thing a lazy student can do is play a simple game like Snake or Tetris.

But what if you’re not a student anymore and you want a graphing calculator that has up-to-date hardware and infinite customizability in software? Look no further than [Angel Cabello]’s Galdeano, a handheld that has all the features of a modern graphing calculator plus a lot more. The heart of the device is an ESP32, which sits on a custom PCB that also holds a 6×7 array of push-buttons and a 320×240 touch-sensitive color display. It can be powered through a lithium-polymer battery or, like a classic calculator, through four AAA cells. The entire thing is housed in a 3D printed enclosure with color-coded buttons indicating various built-in functions.

The ESP32 runs MicroPython along with a symbolic math engine called Eigenmath. This enables the Galdeano to  manipulate expressions, perform integration and differentiation, and plot functions. Porting Eigenmath to a memory-constrained platform like the ESP32 was quite a challenge and required a few workarounds, including a memory partition scheme and even a custom compact font with mathematical symbols.

Thanks to the flexibility of MicroPython and the ESP’s WiFi system, the Galdeano is not limited to implementing a calculator: it can also perform various general-purpose tasks ranging from file editing to controlling a set of smart light bulbs. The project page doesn’t mention any games yet, but we’re sure it won’t take long before someone ports Tetris to this system as well.

Of course, even classroom-grade calculators can be pushed to do much more than their designers intended: they can receive GPS signals, run Debian or even perform ray tracing. If you’re looking for a powerful open-source calculator, this BeagleBoard-based machine runs the R statistical computing environment.

Continue reading “2022 Cyberdeck Contest: The Galdeano Is More Than A Graphing Calculator”

A black PCB with an ESP32 and an SBM-20 geiger counter

Flexible Radiation Monitoring System Speaks LoRa And WiFi

Radioactivity has always been a fascinating phenomenon for anyone interested in physics, and as a result we’ve featured many radioactivity-related projects on these pages over the years. More recently however, fears of nuclear disaster have prompted many hackers to look into environmental radiation monitoring. [Malte] was one of those looking to upgrade the radiation monitor on his weather station, but found the options for wireless geiger counters a bit limited.

So he decided to build himself his own Wifi and LoRa compatible environmental radiation monitor. Like most such projects it’s based on the ubiquitous Soviet-made SBM-20 GM tube, although the design also supports the Chinese J305βγ model. In either case, the tube’s operating voltage is generated by a discrete-transistor based oscillator which boosts the board’s 5 V supply to around 400 V with the help of an inductor and a voltage multiplier.

Graphs showing temperature, humidity and radiation levels
Data can be visualized in graphs, together with other data from the weather station like temperature and humidity

The tube’s output signal is converted into clean digital pulses to be counted by either an ESP32 or a Moteino R6, depending on the choice of wireless protocol. The ESP can make its data available through a web interface using its WiFi interface, while the Moteino can communicate through LoRa and sends out its data using MQTT. The resulting data is a counts-per-minute value which can be converted into an equivalent dose in Sievert using a simple conversion formula.

All design files are available on [Malte]’s website, including a PCB layout that neatly fits inside standard waterproof enclosures. Getting more radiation monitors out in the field can only be a good thing, as we found out when we tried to detect a radiation accident using community-sourced data back in 2019. Don’t like WiFi or LoRa? There’s plenty of other ways to connect your GM tubes to the internet.

Scroll Through ESPHome With IPod-style Click Wheel

While you’d be hard pressed to find a Hackaday writer that feels any nostalgia for the DRM nonsense the iPod helped to introduce, we’ve got to admit that we miss that click wheel. Spinning your way through long lists was a breeze, and the tactile response made it easy to stop exactly where you wanted. These days, we’re stuck fumbling our way through touch screen interfaces that make simple tasks like seeking to a particular spot in a song or video all but impossible to do with any kind of accuracy.

If you too yearn to once again feel that subtle thumping under your thumb, then check out this project from [landonr]. Technically the handheld gadget is intended to be used as a wireless remote for a home automation system powered by ESPHome, but that’s only one possible application for this particular combination of off-the-shelf components.

If you must, there’s a version with buttons.

Building your own version of the handheld device is a simple as mounting a LILYGO ESP32 T-Display TTGO, an ANO Rotary Navigation Encoder from Adafruit, and a battery pack to a scrap of perfboard. We’d probably look into 3D printing a case to make it a bit less…pokey, but that’s up to you. The result actually bears quite a resemblance to Apple’s iconic media player, but without that pesky walled garden to hold you back.

As mentioned previously, [landonr] wrote the firmware with the intention of controlling a home automation system. So there’s a lot of stuff in there about turning on lights and such. But there are also functions for media playback that look very promising. Whatever software you end up running on it, one thing is for sure: running through the menus is going to feel like a dream.

We’ve covered several other home automation remotes over the years. This handsome wooden model kept things simple with just a few physical buttons, while this somewhat more whimsical approach repurposed Nintendo’s Zapper light gun.

Continue reading “Scroll Through ESPHome With IPod-style Click Wheel”