screenshot from the video linked, showing example code that lights up an LED, and in a small window, also shows the LED lit up on a small Pi Pico board connected over USB

Your MicroPython Board Can Be Your Tinkering Peripheral

[Brian Pugh] has shared a cool new project that simultaneously runs on desktop Python and MicroPython – the Belay library. This library lets you control a MicroPython device seamlessly from your Python code – interacting with real-world things like analog/digital trinkets, servos, Neopixels and displays, without having to create your own firmware or APIs.

You need a serial-connected MicroPython board – even an ESP8266 should do. Then, you can intersperse your Python code with MicroPython-written functions, and call them whenever you need your connected device to do something – keeping the entire logic of your project within a single device. [Brian] provides quite a few examples, even for more complex things like displays. No doubt, there are limitations, but this looks to be a powerful tool in a hacker’s arsenal.

Readers might be reminded of an Arduino library called Firmata – an old-time way to do such connectivity. We’ve also previously covered a Pi Pico firmware that does a similar thing, and even features a breakout board for all your experimentation needs!
Continue reading “Your MicroPython Board Can Be Your Tinkering Peripheral”

A Merciless Environmental Monitoring System

We’ve seen plenty of environmental monitoring setups here on Hackaday — wireless sensors dotted around the house, all uploading their temperature and humidity data to a central server hidden away in some closet. The system put together by [Andy] from Workshopshed is much the same, except this time the server has been designed to be as bright and bold as possible.

The use of Mosquitto, InfluxDB, Node Red, and Grafana (M.I.N.G) made [Andy] think of Ming the Merciless from Flash Gordon, which in turn inspired the enclosure that holds the Raspberry Pi, hard drive, and power supply. Some 3D printed details help sell the look, and painted metal mesh panels make sure there’s plenty of airflow.

While the server is certainly eye-catching, the sensors themselves are also worth a close look. You might expect the sensors to be based on some member of the ESP family, but in this case, [Andy] has opted to go with the Raspberry Pi Pico. As this project pre-dates the release of the wireless variant of the board, he had to add on an ESP-01 for communications as well as the DTH11 temperature and humidity sensor.

For power each sensor includes a 1200 mAh pouch cell and a Pimoroni LiPo SHIM, though he does note working with the Pico’s energy saving modes posed something of a challenge. A perfboard holds all the components together, and the whole thing fits into an understated 3D printed enclosure.

Should you go the ESP8266/ESP32 route for your wireless sensors, we’ve seen some pretty tidy packages that are worth checking out. Or if you’d rather use something off-the-shelf, we’re big fans of the custom firmware developed for Xiaomi Bluetooth thermometers.

Continue reading “A Merciless Environmental Monitoring System”

PC Hardware Monitor Uses Tricorder-Derived Tech

The visually striking hardware monitor that [Mangy_Dog] recently put together for his new custom PC build might look like something out of the Alien franchise, but the hardware he’s built it around actually comes from a very different science-fiction property: Star Trek. Or at least, from a very impressive line of Star Trek props, anyway.

Given the incredible amount of time and effort that [Mangy_Dog] has put into developing his Star Trek: Voyager tricorder, it’s no surprise that he would decide to reuse its graphics chip and microcontroller. But while the familiar hardware might have helped jump-start this build, this was no weekend project.

He’s steadily been working on it for several months now, and even entered it into the 2022 Sci-Fi Contest back in April. Obviously he wasn’t able to complete it before the Contest deadline, but looking at the final results, we’re happy to see he kept chugging away at it.

Of course, with a project like this, the hardware is only half the battle. In the video below, [Mangy_Dog] explains the challenges involved in creating not only the firmware that runs on the monitor, but the accompanying PC-side application. This included modifying existing libraries to add support for the device’s unique flash storage arrangement, and pulling the relevant system status information out of the operating system and into a series of customizable widgets.

As impressive as the project is, [Mangy_Dog] says he’s not done yet. A second revision of the hardware and software will address several issues and add new capabilities, and considering the high degree of polish we’ve come to expect from his creations, we’re not surprised

Continue reading “PC Hardware Monitor Uses Tricorder-Derived Tech”

ESP32 Powers Covert Pentesting Device

Looking to expand their hardware design experience, [mentalburden] recently put together a low-cost handheld gadget that can be used for various security-related tasks such as logging WiFi traffic, operating as a dead drop, and performing deauthentication attacks.

The custom PCB plays host to the essentials — an ESP32-S microcontroller, AMS1117 3.3 V regulator, a SSD1306 OLED, and a couple of buttons. This lets the user navigate through a simple menu system and select whatever function they wish to enable. During testing, a pair of 18650 cells kept the electronics running for an impressive 22 hours.

A second version of the PCB fixed a few bodges that were required to get the original prototype working, and given how energy efficient the hardware ended up being,  [mentalburden] decided to drop the power supply down to a single 18650 for a total runtime of around 15 hours. A 3D printed case and some silicone buttons, produced with a simple clay mold, completed the package.

There’s still some improvements that could be made, namely integrating a battery charging circuit into the PCB and switching over to USB-C, but overall its a solid prototype with an impressive per-unit cost of less than $10 USD. Though if you’re looking for something even cheaper, we’ve seen an even more simplistic approach based on the ESP-01.

Hackaday Prize 2022: Soviet Geiger Counter Gets WiFi

[Marek] has an impressive collection of old Soviet-style Geiger counters. These are handy tools to have in some specific situations, but for most of us they would be curiosities. Even so, they need some help from the modern world to work well, and [Marek] has come up with some pretty creative ways of bringing them into the 21st century. This version, for example, adds WiFi capabilities.

This build is based on the STS-5 Geiger tube but the real heavy lifting is handled by an ESP8266 which also provides a wireless network connection. There are some limitations to using an ESP8266 to control a time-sensitive device like a Geiger tube, especially the lack of local storage, but [Marek] solves this problem by including a real-time clock and locally caching data until a network connection is re-established. Future plans for the device include adding temperature and atmospheric temperature sensors.

Eventually this Geiger counter will be installed in a watertight enclosure outside so [Marek] can keep an eye on the background radiation of his neighborhood. Previously he was doing this with another build, but that one only had access to the network over an Ethernet cable, so this one is quite an upgrade.

Launch And Track Your Model Rockets Via Smartphone

Building and flying model rockets is great fun. Eventually, though, the thrill of the fire and smoke subsides, and you want to know more about what it’s doing in the air. With a thirst for knowledge, [archy587] started building a project to monitor the vital stats of rockets in flight. 

The project mounts an M0 Feather microcontroller board into the rocket, along with a 900 MHz LoRa transmitter and a GPS module. This allows the rocket’s journey to be measured and logged, and is particularly useful for when a craft floats off downrange during parachute recovery. There’s also a relay module onboard, which dumps power from a dedicated separate battery into the rocket motor igniter. This allows the rocket to be fired wirelessly.

On the ground, the setup uses an ESP32 fitted with another LoRa module to receive signals from the rocket. It’s designed to hook up to an Android smartphone over its USB-C port. This allows data received from the rocket to be displayed in an Android app, including the rocket’s GPS location overlaid on Google Maps.

Being able to remotely ignite your rockets and track their progress brings some high-tech cool to the launch pad. You’ll be upgrading your rockets with micro flight controllers and vectored thrust in no time. Just be sure whatever tech you’re using is compliant with the rules for model rocketry in your local area.

Continue reading “Launch And Track Your Model Rockets Via Smartphone”