Old FireWire Audio Interface Gets USB C Upgrade

[bonsembiante] had a PreSonus Firestudio Project on hand. It’s a very capable audio interface with 8 inputs and 8 outputs, along with MIDI to boot. However, it’s got one problem—it runs on FireWire. To bring it into modernity, the device would need an upgrade to USB operation.

This would be no mean feat. [bonsembiante] decided to remove the original FireWire controller hardware entirely, replacing it with an XMOS-based USB audio setup while reusing the existing audio circuitry in the interface. The trick was figuring out where all the digital audio signals were on the original board, and wiring them into the XMOS board with an interleaved ground-signal pattern with equal length conductors to avoid issues with interference and jitter. With the modern XMOS board hacked into the older hardware, all that was then required were the right drivers to get modern machines accessing all 8 ins and outs via a USB C connection. Files are on Github for the curious.

The hope is to turn this into a broader project that can be used on a range of older FireWire-based audio interfaces. To that end, [bonsembiante] has an explainer page on the goals and purpose of the fuegocable effort. The next interfaces targeted by the project are the Presonus FP10 and Focusrite Saffire.

We’ve featured [bonsembiante’s] work before, too, like this ADSL modem repurposed as a guitar effects pedal. Video after the break.

Continue reading “Old FireWire Audio Interface Gets USB C Upgrade” →

Crashing Microcontrollers Competitively

[Ani] has produced rather an interesting game. Kacken Open Air (KOA) is a browser-based game, wherein players compete for access to a limited resource—namely, festival toilets. So far, so amusing, but there’s a neat technical twist. You’re actually competing to crash microcontrollers in the real world (German, Google Translate link).

The way the game works is simple enough. There are more players than there are toilets, so players have to fight over them. This is achieved by knocking on the toilet doors in the game. However, paired to each toilet in the game is a real ESP8266 microcontroller. Each knock from a player adds computational load to the microcontroller. Knock enough, and the microcontroller will slow enough, and the player occupying the toilet will be kicked out. Keep knocking, and eventually the microcontroller will run out of memory, crash, and reboot. In game, this causes the toilet to collapse. The whole setup runs on a cluster of microcontrollers, with an ESP32-P4, a bunch of ESP8266s, a few Raspberry Pi Pico 2s, Arduino Dues, and an STM8 working as a hardware watchdog to make sure everything stays alive when it should.

If you want to sample the game, try it out in your browser here. (German, Google Translate link). It’s a really fun concept to combine hardware performance with actual gameplay outcomes. It’s so totally different from other projects we’ve seen that involve gaming on ESP microcontrollers. If you’ve done something similar, or something totally zany and different, bell us on the tipsline either way!

Digital Badge Gets Reverse Engineered

The JieLi AC707N is a cheap $10 digital badge that actually packs in a fair bit of interesting hardware. [Sabas] reverse-engineered the product and figured out how to flash custom firmware onto sealed OEM-fresh units.

The AC707N badge, of the BR35 family, comes well equipped out of the box. It has a 360×360 pixel round display, driven over QSPI. It comes equipped with a AXS5106L capacitive touch controller for interacting with the screen. There are also two buttons, 4MB of flash, and Bluetooth Low Energy capability on board. Plenty to play with, right there!

[Sabas] gave a talk about how the device was first physically torn down, before the APK was decompiled in Ghidra. From there, it was possible to download the firmware without authentication and then develop an open SDK for working with the cheap device. There’s a custom firmware available on Github that was developed a a result of these efforts, and it can do all kinds of neat things. You can use it as a Bluetooth Mouse, or a Bluetooth scanner, for example. Or, if so desired, you could build on this work and develop your own firmware for the device to suit your own use cases.

We see stuff like this repurposed all the time. The GeekMagic SmallTV is a great example of a cheap device given greater functionality through custom firmware. Video after the break.

Continue reading “Digital Badge Gets Reverse Engineered” →

The Mega Tamagotchi Manga Reader

You could read manga in the classic bound paper format. But then you’d have to carry around lots of volumes that take up lots of space. The way around this is to use an e-reader, that stores lots of manga in digital form. [Arnov Sharma] built his own themed after the classic Tamagotchi.

What you’re looking at is a big ol’ 3D printed mega-Tamagotchi. It apes the design of the original digital pet, but is scaled up to a size large enough to host a large screen. In particular, the Waveshare ESP32-P4 Touch LCD 4.3 development board, which pairs the 480 x 800 screen with the capable wireless-enabled microcontroller and even a little speaker. Two, as it happens, because there’s an ESP32-P4 and an ESP32-C6 on the board. Power is via a pair of 2000 mAh lithium-ion cells. Manga is loaded on to the device via an SD card, in JPEG format. [Arnov] uses the ESP32-P4’s hardware JPEG decoder to make flipping pages quicker than the 2-5 seconds it would take to do the same decode in software. There are also some fun tricks in the firmware that improve contrast in black-and-white scans and vibrancy in color scans, too.

If you want to read manga on the go in a device with a fun form factor, consider building something similar yourself. To populate your reader, consider a past project we examined that turns movies into comic books. Video after the break.

Continue reading “The Mega Tamagotchi Manga Reader” →

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” →

ESP32 Flight Tracker On Apple CRT

Sometimes we’re most taken by what’s on the screen; sometimes the screen itself is the most interesting part of the project. In this case, it’s the latter. That’s no slight against [Virtual-Bet-4566], whose ESP32-based flight tracker looks very nice– but a big part of what it makes it so nice is that it’s displaying the ADS-B flight data on an old green-phosphor monitor from the Apple II days.

He’s using an ESP32-WROOM-32, which gives him both the wifi connection needed to grab aircraft locations and flight details– including photos of individual aircraft, when available from Planespotters.net– but crucially has an 8-bit digital-analong-converter that he’s using to drive the composite input on the old Apple monitor. Not all of the expansive ESP32 family have that feature, but at this point you might as well call ESP32 a brand of MCU than a family given the vast differences between them. Since composite video doesn’t need much power, he’s connected the dev board directly to the monitor. It’s that delicious combination of the old and new that really gets us vibing.

It can show you an image of the plane, but it’s not exactly high-def.

Speaking of vibing, yes, this whole thing was vibe-coded, as [Virtual-Bet] freely admits in the Reddit thread. LLMs seem to be really good at making these flight tracking apps, to judge from other posts on that site, but this one stands out for its display method. He’s also apparently got weather and his own local sensor data incorporated in the wifi-controlled display application, and isn’t interested in sharing the code since you could prompt it yourself. Fair enough.

We’ve seen composite-out from the ESP32 family before, more than once— which is probably how the LLM knew to pull it off–but there’s just something about that green glow.

Story via CircuitDigest.

Using Halftone Images In QR Codes Without Upsetting Scanners

Although quick-response (QR) codes are rather simple monochrome affairs, adding embellishments to them is a popular activity, if only to make QR codes not stick out like a sore thumb in e.g. flashy marketing flyers. The most simple approach here is to put any regular graphic in e.g. the center of said QR code and lean on the scanner’s error-correcting features to route around the damage, but a more sophisticated approach uses halftone images that are blended with the QR code, as first demonstrated in 2013 by [Hung-Kuo Chu] et al.

A number of online halftone image QR generators exist that use the methodology in said 2013 paper to allow you to generate any mesh-up you like. Here [Jorge C. Lucero] provides a JavaScript-based version written from scratch that can run client-side. According to [Jorge] this was a weekend’s project created out of sheer curiosity.

The basic way that this algorithm works is by using each of the data modules of the QR code as a 3×3 grid of submodules, using only the center sub-module as the module’s color. The other sub-modules are thus free to be assigned a halftone color grade that creates the final module’s appearance.

Although this should generally work without leaning on the scanner’s error-correction features, an ‘enhancement’ mode is possible that enhances the image clarity at the cost of introducing some scanning errors that will require correction. Overall it provides a pretty clear improvement over simple binary image embedding, especially when higher resolution QR codes are used.