DIY Walkie-Talkie With ESP32 And ESP-NOW

In a recent article in Elektor magazine, [Clemens Valens] describes the construction and software for an ESP32 walkie-talkie system that uses ESP-NOW for the wireless connection between units, along with a low-cost condenser microphone with a transistor-based preamplifier and an LM386 op-amp for the speaker circuit. In the ESP32 module the built-in DAC and ADC are used for audio in and output, which provide just about enough resolution for voice communication.

So why use ESP-NOW rather than WiFi or Bluetooth? Mostly because of range, power usage and convenience with no SSIDs and passwords to bother with.

The DIY Walkie-Talkie circuit diagram. (Credit: Clemens Valens, Elektor magazine)
The DIY Walkie-Talkie circuit diagram. (Credit: Clemens Valens, Elektor magazine)

ESP-NOW is Espressif’s own network protocol that uses the same underlying hardware as 2.4 GHz WiFi and Bluetooth, but focuses on more basic direct and mesh-style communication. It can be considered to be somewhat like low-level UDP with MAC address instead of IP address, which makes it useful for fire-and-forget traffic such as from IoT devices.

In the past, we’ve seen ESP-NOW control everything from fake security cameras to CNC machines. In fact, we’ve even seen it used in another walkie-talkie a couple years back.

Cat-o-Matic 3000 Serves Your Feline Masters

When you have three cats and three humans, you have one problem: feeding them on a schedule without over or under feeding them. Even if there was only one human in the equation, the Cat-o-Matic 3000 would still be a useful tool.

Essentially, it’s a traffic light for cats — where green means you are go for feeding, and red means the cat was just fed. Yellow, of course, means the cat is either half-full or half-empty, depending on your outlook.

The brains of this operation is an ATmega88PA leftover from another project. There’s a no-name voltage regulator that steps up the two AA cells to 5 volts. Timing comes from a 32 kHz crystal that allows the microcontroller to stay in power-saving sleep mode for long periods of time.

Creator [0xCAFEAFFE] says the firmware was cobbled together from other projects. Essentially, it wakes up once per second to increment the uptime counter and then goes back to sleep. Short-pressing a button shows the feeding status, and long-pressing it will reset the timer.

Wanna make a cat status indicator without electronics? Give flexures a try.

Hacked Tea Lights Flicker Just Right

Flickering LED tea lights are a friendly and safe alternative to having flaming little pots of wax situated around your home, but sometimes the flicker scheme leaves something to be desired.

[Roger Rabbit] found a set of six such rechargeable tea lights with a base and a remote, and replaced the controller with an ATtiny85 for a more realistic flicker. When [Roger] opened up one of the candles, they found an IR sensor for the remote, a driver chip, and of course, an LED. No surprises there.

After desoldering the original controller, [Roger] wired in a socketed ATtiny85 on a piece of perfboard and hooked everything back up.The coolest part of this hack might just be the fact that there’s a perfect little compartment for the new microcontroller. How about that?

The Arduino code for this project is available in the Git repository, and the wonderful instruction manual is available in PDF form. Be sure to check out the brief video after the break.

You like these flickering LED candles? Here’s one you can blow out.

Continue reading “Hacked Tea Lights Flicker Just Right”

Monitoring Energy Use And Saving Money

On the surface, the electric grid might seem like a solved piece of infrastructure. But there’s actually been a large amount of computerized modernization going in the background for the past decade or so. At a large scale this means automatic control of the grid, but for some electric utility customers like [Alex] this means the rates for electricity can change every hour based on demand. By keeping an eye on the current rate, you can extract the most value from these utilities.

[Alex] is located in the United Kingdom and has an energy provider whose rates can change every half hour. This information is freely available well enough in advance to download the data and display it visibly in with a NeoPixel LED ring around a clock. The colors displayed by the LEDs represent an increase or decrease in price for the corresponding time and allow him to better plan out the household’s energy use for the day. The clock uses a TinyPICO ESP32 module to gather the data and handle the clock display. A second wall-mounted device shows real-time energy readings for both gas and electricity using two old analog voltmeters modified to display kilowatt-hours.

While not everyone has a utility which allows this sort of granularity with energy pricing, having one can make a bit of a difference as electricity rates under this system can sometimes go negative. [Alex] estimates that using these two displays to coordinate his energy usage has saved around £50 a month. Even if your utility offers minimal or no price adjustments for time-of-use, it’s still a good idea to monitor energy use in your home. Here’s a fairly comprehensive project that does that without modifying any existing wiring.

Turning A Saxophone Into A MIDI Controller

Most of the time, if you’re looking for a MIDI controller, you’re going to end up with some kind of keyboard or a fancy button pad. The saxophone is an altogether more beguiling instrument that makes for one hell of an interface, but there’s a problem: they’re seldom MIDI-compatible. This build from [AndrewChi] changes all that.

This digitized sax relies on a SparkFun ESP32 Thing as the brains of the operation. It uses Hall effect sensors, the digital switch type, to detect the action of the keys of the sax. Choosing parts that are quick to respond is key for musical use, so [AndrewChi] selected the Texas Instruments DRV5023 for its unipolar operation, short output delay and fast rise time. Beyond setting up the basic keys to send MIDI notes, the instrument also received additional octave controls for greater range. With sensors and magnets attached to the saxophone and keys with Sugru, the instrument is ready to serve as a capable MIDI controller. Thanks to the ESP32, it’s capable of sending MIDI data wirelessly over Bluetooth for the maximum freedom of performance.

It’s a nifty build, and a great way for wind players to get into the world of controlling digital synthesizers in an intuitive fashion. We’ve seen some great MIDI controller builds before, too.

Continue reading “Turning A Saxophone Into A MIDI Controller”

A Brand-New Antique Radio

This beautiful little radio may look like an art deco relic from a hundred years ago, but it is actually from 2023. When [Craig Lindley] first saw this design on these very pages a few years ago, he just had to build one eventually. Turns out, all he had to do wait until he bought a laser cutter.

Built with hardware on hand, this radio runs on an ESP32 WROOM and uses an Adafruit VS1053 CODEC breakout. Song information is displayed on an SPI LCD display, and output comes via a 1/8″ jack. It can play songs streamed from Internet radio stations, [Craig]’s website, or directly from an SD card.

The lovely cabinet is made from 1/8″ Baltic birch, with a living hinge for a roof and sides. The amber shellac goes a long way toward establishing the antique aesthetic.

Not content with this cute radio, [Craig] went ahead and built a speaker system to go with it out of a pair of small, external laptop speakers. [Craig] says this project had a lot of ups and downs, but we are quite happy to see it come to fruition.

Do you have an antique radio you’d like to restore? Be sure to check out our guide.

ColorReplica Is A Rainbow At Your Fingertips

Have you ever wanted to match paint to the color of a pillow, or make a website where the primary color matches your favorite shade of electrolytic capacitor? Then ColorReplica is the project for you.

At the heart of this build are two ESP32s, one of which controls the color picker, and the other lights up the 18 WS2812 LEDs and displays information on the OLED screen.

ColorReplica has two modes, ColorPicker and ColorCube. In ColorPicker mode, you just choose what color you want, adjust the brightness level, and choose between static and dynamic modes for the LEDs. [CiferTech] used the ESP32 touch pins extended to pads on the PCB to control different menu variables, which is a nice touch.

In ColorCube mode, there’s a secondary circuit with a color sensor an another ESP32. Once detected, it transmits the color data to the main device at the push of a button. The RGB LEDs turn that color, and shows the RGB, HEX, and HSV values on the OLED screen. If you’d like to make one of these yourself, everything is available on GitHub.

Want something a big more tangible? Check out this color picker that types HEX codes for you.

Continue reading “ColorReplica Is A Rainbow At Your Fingertips”