e-paper display showing hand-drawn fonts attached to a custom controller PCB

Recycling Junk E-tags Into A LoRaWAN AQI Sensor

E-paper interfacing circuit is just a simple switched-mode power supply
Interfacing to E-paper displays is nothing to be scared of

[Aduecho] had seen those cheap eBay deals of e-paper-based pricing tags, and was wondering if they could be hacked to perform some other tasks. After splitting the case open, the controller chip was discovered to be a SEM9110, with some NFC hardware support but little else. [aduecho] was hoping to build some IoT-connected air quality indicator (AQI) units but the lack of a datasheet for SEM9110 plus no sensors in place meant the only real course of action was to junk the PCB and just keep the E-paper display and the batteries. These units appeared to be ‘new old’ stock, so there was a good chance that both would be fresh and ripe for picking.

The PCB [aduecho] came up with is mechanically the same as the original unit, but now sports a Seeed studio Wio-E5 LoRa module, which uses the STM32WLE5 from ST for the heavy lifting. This has what looks like a Semtech SX126x integrated on-die (we can’t think of a sane way an actual SX126x die could be flip-chip mounted, but you never know). Using this module is a snap, needing only very minimal antenna-matching components and a spot of decoupling to function. On the sensing side of things, a Bosch BME680 gas sensor handling the AQI measurements, and a Bosch BMI270 6-axis IMU, provides a gyro and accelerometer, for all those planned user interaction features. As can be seen from the schematic, interfacing the EPD is pretty straightforward, just a handful of parts are needed to generate the necessary bipolar gate voltages via a simple SMPS circuit. The display controller handles it all internally, programmed via an SPI interface.

One area we’re quite fond of in this project are the neat hand-drawn icons, and variable width font, giving the display a kind of note-like quality when drawn on the low-ish contrast e-paper display.

Air quality measurement projects grace these pages from time to time, like this hacked Ikea Vindriktning, and this very similar Wio-E5-based project we covered last month.

Lending A Helping Hand To Hens With AI

As anyone who has taken care of chickens or other poultry before will tell you, it can be backbreaking work. So why not build a robot to do all the hard work for us? That’s precisely what [Aktar Kutluhan] demonstrated with an AI-powered IoT system that automatically feeds chicks and monitors unhatched eggs.

Make no mistake, hens are adorable, feathered creatures, but they can be quite finicky. An egg’s weight, size, and frequency can determine the overall health of a hen, and they can stop laying eggs altogether if something as simple as their feeding schedule is too sporadic. This is precisely what inspired [Aktar] to create a system that can feed hens at a consistent time every day while keeping track of the eggs laid to ensure the coop is happy and healthy.

What’s so impressive about this build isn’t just the clever automation that scratches off a daily chore, it’s built completely with IoT devices, including the AI. The setup uses Edge Impulse as an object detection model on an OPenMV Cam H7 microcontroller to recognize eggs in the coop. From there, an WizFi360-EVB-Pico board was attached so data could be sent over WiFi, with a DHT22 thrown in to monitor and record the overall temperature of the coop.

This is already an amazing setup, but when it comes to IoT devices, the sky’s the limit. You could control heat lamps in larger coops, automatically refill a water bowl if the hens’ water is low, or even build a hands-off incubator.  We’re only just beginning to see the clever ways with which AI can help monitor our pet’s health. Just look at how another hacker used AI to monitor cat poop to make sure their furry friend wasn’t eating plastic. Thanks to [Aktar Kutluhan] for showing us more ways we can use AI to help our pets!

Continue reading “Lending A Helping Hand To Hens With AI”

Simple Stopwatch with two buttons, an eight digit 7-segment display and ICSP programming cable going into the board

Add An OSHW Certified Stopwatch To Your Toolkit

[MakingDevices] has created a simple stopwatch that makes for a nice introduction to surface mount electronic design and assembly. The project is open source hardware (OSHW) certified, with Gerbers, KiCAD files, and software all available.

Conceptually the stopwatch is straight forward, with a row of two four digit seven-segment displays being driven by a PIC18LF14k50 microcontroller through multiple NPN transistors. The PIC doesn’t quite have enough data lines to drive the two displays at once so an inverter is used to toggle between the two seven-segment blocks.

The circuit is continuously powered from a CR2032 coin cell battery. For normal usage with display, [MakingDevices] estimates 30+ hours of operation and 140+ hours without display, but still counting time. When idle, the “Extreme Low-Power (XLP)” capabilities of the PIC put the operating window estimates well beyond the self discharge of the coin cell battery. There’s an in circuit serial programming (ICSP) footprint that accepts a pogo pin TC2030-MCP-NL adapter for flashing the PIC.

Don’t let the simplicity fool you, this is a well documented project with detailed posts about the design, simulation and battery consumption. Various videos and glamour shots give a whole picture of the process, from design, assembly, testing to final validation.

It’d be wonderful to see the project extended or hacked on further, perhaps with a cute enclosure or case.

Continue reading “Add An OSHW Certified Stopwatch To Your Toolkit”

For The ESP’s Next ESP Trick…

It is a pretty stale dad joke to tell someone you have ESP when you mean you have an ESP8266 or ESP32 in your hand. However, [Naufil Metkar] uses an ESP device to pretend — via a magic trick — that he does have ESP. The trick requires a bit of 3D printing, an MPU6050 gyro sensor, and a lot of showmanship.

We hate to spoil an illusion, but you can probably figure it out from the list of things you need. The die has a gyro in it and uses a small ESP module to transmit its current orientation out to a display. There is a small reed switch that lets you turn off the device with a magnet. Without it, the battery dies quickly.

Continue reading “For The ESP’s Next ESP Trick…”

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?

The Inner Machinations Of The Arduino Are An Enigma

Arduinos have been the microcontroller platform of choice for nearly two decades now, essentially abstracting away a lot of the setup and lower-level functions of small microcontrollers in favor of sensible IDEs and ease-of-use. This has opened up affordable microcontrollers to people who might not be willing to spend hours or days buried in datasheets, but it has also obscured some of those useful lower-level functions. But if you want to dig into them, they’re still working underneath everything as [Jim] shows us in this last of a series of posts about interrupts.

For this how-to, [Jim] is decoding linear timecodes (LTCs) at various speeds. This data is usually transmitted as audio, so the response from the microcontroller needs to be quick. To make sure the data is decoded properly, the first thing to set up is edge detection on the incoming signal. Since this is about using interrupts specifically, a single pin on the Arduino is dedicated to triggering an interrupt on these edges. The rest of the project involves setting up an interrupt service routine, detecting the clock signal, and then doing all of the processing necessary to display the received LTC on a small screen.

The project page goes into great detail about all of this, including all of the math that needs to be done to get it set up correctly. As far as general use of interrupts goes, it’s an excellent primer for using the lower-level functionality of these microcontrollers. And, if you’d like to see the other two projects preceding this one they can be found on the first feature about precision and accuracy, and the second feature about bitbanging the protocol itself.

ESP32 Adds Bluetooth To An IPod Nano

The iPod Nano was one of Apple’s masterworks, but it’s really tied down by its dependence on wired headphones. At least, that’s what [Tucker Osman] must have thought, as he spent an unreasonable amount of time designing a Bluetooth mod for the 3rd gen Nano. And it’s a thing of beauty — temperamental, brutally difficult to build, and fragile in use, but still beautiful. And while some purists try to keep their signal analog, [Tucker]’s coup d’etat is to intercept the iPod’s audio signal before the DAC chip, keeping the entire signal path digital to the Bluetooth speaker. Oh, and he also managed to make the volume and track skip buttons work, back across the wireless void.

Continue reading “ESP32 Adds Bluetooth To An IPod Nano”