The TYPE-2 Synth against a workbench mat

Budget Synth Build Simplifies Sound Theory

Many a hacker has picked up a musical instrument, and the crossover between Music and Geekdom is well known. Still, a Peek or a Poke into music theory has the capacity to diminish the enthusiasm of many. Wouldn’t it be nice if the theory of sound synthesis and music theory itself were more approachable? This is why [alxdreee]’s TYPE-2 DIY Budget Polyphonic Synthesizer, shown in the video below the break, really strikes a chord!

TYPE-2 Keyboard
The TYPE-2’s keyboard simplifies music theory

Circuit design is solved with a free 2-layer PCB Gerber file that’s provided, and construction consists of just a few components. Key to the whole operation is an ESP32-S3-DevKitC-1, a DAC, some sensors, switches, and a few minor passive components. USB MIDI and sound are built in, which makes the synth playable with a wide array of devices. No MIDI devices? No problem!

The TYPE-2 Synth’s budget-friendly approach also includes a capacitive touch keyboard and can play up to seven voices at once. This allows even a neophyte to experiment with different chord voicings without knowing any music theory. Truly, a major advantage over a traditional keyboard.

In addition to a completely open source build, the education is easy to understand, with the page clearly explaining how sound is synthesized, with some great analogies along the way. It sets the bar very high in that regard.

If analog synths are more your vibe, you might appreciate this 555-based accordion-inspired piano.

Continue reading “Budget Synth Build Simplifies Sound Theory” →

ESP32 DevKit Becomes Retro-Style Desk Gadget

Some days you want to break out KiCAD and go an an epic journey of hardware hacking. Other days, you look at the myriad dev kits on the market, and one of them makes you say “I can work with that”– and the Phosphor desk gadget, by [melihkoray] and his imaginary amigo Claude, was evidently conceived on one of those days.

The only hardware here is the Waveshare ESP32-S3-Touch-LCD-3.49, which provides a beyond-ultrawide 640×172 candybar-shaped touchscreen with, well, you guessed it — an ESP32-S3, plus a few buttons and an accelerometer, all of which this project uses. Along with the almost-requisite clock, timer and weather display, there’s also an internet radio player and a handful of games. We particularly like the use of the accelerometer in the blackjack game, where you hit or sit by knocking the table.

Continue reading “ESP32 DevKit Becomes Retro-Style Desk Gadget” →

DIVINER: Occult Synth Firmware For The Cardputer

We see some strange software around these parts, but this is probably the strangest. DIVINER is a firmware for the M5 Cardputer, which is an interesting device in its own right, being essentially a tiny ESP32-S3 dev kit with an even tinier screen, keyboard, some GPIOs, I2C, and an audio jack for output. It is essentially a blank canvas that can do anything if you write the firmware for it.

And that’s what DIVINER does: a little of everything. It’s part standalone synthesizer and sequencer, taking advantage of the I2S audio out, part visualization engine, part WiFi and Bluetooth scanner and monitor (what?), with an LLM interface and an IR blaster thrown in for good measure. [voidrane Splicer] even explores the Channel-State Information to do presence detection, like we’ve seen recently elsewhere. Byte-beat player anyone?

The Hackaday.io page talks about the underlying system layer before it even gets to the applications, and we get the feeling that all of the different apps, called “rites”, were crammed in to exercise it and show off the “blood and ember”, Diablo-esque visual style. But that doesn’t stop us from enjoying the audio engine, demonstrated in the video below, or the awesome graphics.

Do these apps hang together more than visually? Do they need to? Is the sum of the parts so large that you don’t even worry about the whole? We don’t know, but it’s also got a simulator so you can try that out while your Cardputer is shipping.

Continue reading “DIVINER: Occult Synth Firmware For The Cardputer” →

X Window System On The ESP32

There are a lot of things you can do with an Xserver, but run it on a microcontroller? Well, if that microcontroller is an ESP32-S3, [Sergey Zorin]– and Claude– have got you covered with Woodland X11, a full-featured port of everyone’s favourite XServer.

Now, it is just the core Xserver with no extensions, and currently targeted specifically at the Elecrow CrowPanel Advance 4.3″, a device that packages an ESP32-S3-N16R8 with an 800×480 RGB565 IPS panel and GT911 touch. In this implementation, your finger is the Xcursor. There’s even two-finger scroll implemented, though no keyboard. As you can see in the demo video embedded below, it works well enough for those oldschool X applications like xclock, xcalc and– crucially!– xeyes. What’s the point of an Xserver without googly eyes, anyway?

In reality, you’re not likely to set this up just for Xeyes, but the idea of having bringing Linux applications to a little display via WiFi or — as in the video– wired connection has no limit of use cases. Try that with Wayland!

Considering X11’s vintage, it is perhaps not surprising that it fits on the ESP32-S3, a chip we’ve seen emulate an entire 386 PC before– a PC that could run an Xserver, for you youngun’s.

Thanks to [Sergey] for the tip!

Continue reading “X Window System On The ESP32” →

Toddler Phone Calls Family And No One Else

The great thing about the modern world is how connected we are. It’s also the worst thing about the modern world, to be honest. [Allan Binder] wanted to give his toddler the very best of that, and escape the worst, with a specially-designed telephone to call Grandma with– and not get scam calls in turn. We’re not going to say his build guide is so thorough a toddler could follow it, but it’s not too far off.

The device is very simple: a commercial ‘retro-style’ handset pairs with an ESP32-S3 over USB. Said ESP32, aside from acting as a USB host, runs a minimal Session Initiation Protocol (SIP) client, which connects via WiFi to a VoIP account the parent has set up. In this case, [Allan] is using Twilio, but there are other internet telephony providers one could use if a Twilio employee once ran over your dog or something.

There are no inbound calls in this setup, so little Timmy isn’t going  to be bothered needlessly about import fees on nonexistent packages or his car’s extended warranty. Dialing out is toddler-friendly, too– it’s as simple as mashing an arcade button linked to the ESP32’s GPIO. Each designated contact gets a button with its pre-programed contact, like the speed dial of yore. A really nice touch is the use of illuminated buttons tied to the time-zone of the designated contact: kiddo will learn quick that if the button isn’t lit, it’s not time for phone calls. The phone will actually say so, via a text-to-speech that also announces network errors and the like.

While cardboard box housing the prototype seems a bit flimsy to trust with any toddler we’ve met, but the concept here is very sound indeed. We’ve seen such kid-communication devices before, but this implementation, aside from being more current, has a lot to recommend it.

Thanks to [Allan Binder] for the tip!

 

Building An ADS-B Receiver For Less Than You Think

If you’ve ever wondered about the planes flying above your head, you could always listen in to ADS-B transmissions to learn more about them. [thefatmoop] has built a rig to do just that, and it comes in under $50 in parts.

The build is based around the Meshnology W12 board, which combines an ESP32-S3 microcontroller with an LR2021 LoRa Radio. The latter is able to be tuned into transmissions in the realm of 1090 MHz and it can capture ADS-B traffic that uses OOK and Manchester encoding. The data is passed to the ESP32-S3 which validates the CRCs of the captured data and serves up the aircraft tracks on a simple web interface. A GNSS receiver can also be added in so the board knows its own location as well as the location of the planes that it’s tuning in.

[thefatmoop] reports decent performance with the rig, pulling in aircraft tracks from up to 150 nautical miles away using a 915 MHz antenna. There are some mods required to achieve this performance, though—namely, you’ll want to modify the filter configuration on the board to avoid it attenuating the 1090 MHz signals of interest.

There are lots of other ways to listen to ADS-B signals, too—you can always grab yourself an SDR and get going. If you’re cooking up your own cheap radio hacks, don’t hesitate to let us know on the tipsline!

Thanks to [Moser] for the tip!

SIMD-accelerated Machine Vision On An ESP32-S3

Recently [shraiwi] decided to have a bit of good nerdy fun and implement the FAST machine vision algorithm on an ESP32-S3 using its SIMD ISA. This involves using the assembly instructions for the ISA, making for an exciting opportunity to become familiar with this part of this Xtensa Lx7-based twin-core MCU.

The Features from Accelerated Segment Test (FAST) algorithm is a corner detection method that can determine with reasonable accuracy and in real-time whether a given input frame contains said corners which thus may correspond to objects and other characteristics worthy of note. This is essential for machine vision, with machine learning able to bump up its recognition accuracy even more.

Implementing this algorithm on the ESP32-S3 proved to be a bit of a challenge due to somewhat limited SIMD ISA. Missing instructions included things like comparisons between unsigned byte values, and there is no support for direct misaligned reads.

All of these required some creative coding to work around, but in the end the ESP32-S3 running at 240 MHz was able to process a VGA stream in real-time at 30 FPS. This means about a 2x speed-up over a naive implementation using only non-SIMD instructions.

If you want to play along at home, the Platform IO project is made available on GitHub.