Happy Hacksgiving!*

It’s that time of year again where we count our blessings, and it’s absolutely the case that the global Hackaday community is one of them for me. How amazing is it that we have a world full of creative folks tweaking technology to do wondrous things that it was never meant to, digging deep into the projects, and undertaking daring feats of fanciful engineering for no other reason than the fun of it? (Rhetorical question. Very amazing.)

Everyone has their favorite niches, but for me, I’m particularly grateful for the developments in fast drive modes for e-paper screens of all shapes and sizes, the hacks to enable the SDR functionality hidden inside any number of wireless chips, and all of the work being done on new firmwares for commercial products that would otherwise be end-of-lifed or sent to the junk pile. These are hacks that have personally made my life a little bit better in many funny little ways, so thanks!

We wouldn’t know about these works if you all didn’t document them, share them, and tip us off to them. When you put your work out there, its effects are multiplied, and you have no way of knowing when your work will inspire someone else to push another boundary, and advance the state of the art.

So thanks for hacking, but more so, thanks for sharing and inspiring others. Because at the end of the day, the work is great, but the global community of hackers is even greater.

(*) Hacksgiving is not yet an officially recognized holiday. Do not substitute solder paste for gravy. In either direction.

A Dozen Completely DIY Robot Actuators

It’s one of those tropes that comes up every so often on Hackaday: Someone says they made something “completely” DIY, and then someone in the comments asks if they grew the silicon for the wafers themselves from beach sand. OK, [Koshiro Robot] didn’t mine his own neodymium, but aside from a couple precision parts that were purchased, he really did make a dozen custom robot actuator motors, their drivers, and as far as we can tell, the field-oriented control (FOC) firmware to boot. And it’s all completely open for your perusal.

The actuators are a neat design because, instead of trying to make them as small as possible, one of the goals was to make them easy to assemble and mount to the eventual quadruped robot. This has the side effect that the 3DP gearbox and the motor controller are outside of the stator, which keeps them both cool and simplifies wiring. And speaking of wiring, check out the neat CAN-bus-plus-XT-60 power and signal distribution daisy chaining. You can tell that [Koshiro] is thinking ahead to make the next steps easier.

The accompanying video, embedded below, is absolutely worth watching, because [Koshiro] goes through his design thoughts and the complete construction. But it’s also worth it because you also want to watch them spin around. Nothing gets you robot-nerd cred like twelve shiny DIY motors spinning in fun choreography on the desktop.

Why would you DIY robot actuators? When you’re making a dozen of them, anything you can do to keep down the cost of a single unit is multiplied by twelve. This is [following along in the footsteps of Ben Katz and the MIT Cheetah], but taking a distinctly more experimentalist-friendly tack. We love to see it!

Continue reading “A Dozen Completely DIY Robot Actuators” →

We’re Hiring: Come Join Us!

You wake up in the morning, and check Hackaday over breakfast. Then it’s off to work or school, where you’ve already had to explain the Jolly Wrencher to your shoulder-surfing colleagues. And then to a hackspace or back to your home lab, stopping by the skull-and-cross-wrenches while commuting, naturally. You don’t bleed red, but rather #F3BF10. It’s time we talked.

The Hackaday writing crew goes to great lengths to cover all that is interesting to engineers and enthusiasts. We find ourselves stretched a bit thin and it’s time to ask for help. Want to lend a hand while making some extra dough to plow back into your projects? We’re looking for contributors to write a few articles per week and keep the Hackaday flame burning.

Contributors are hired as private contractors and paid for each article. You should have the technical expertise to understand the projects you write about, and a passion for the wide range of topics we feature. You’ll have access to the Hackaday Tips Line, and we count on your judgement to help us find the juicy nuggets that you’d want to share with your hacker friends.

If you’re interested, please email our jobs line (jobs at hackaday dot com) and include:

  • One example article written in the voice of Hackaday. Include a banner image, between 150 and 300 words, the link to the project, and any in-links to related and relevant Hackaday features. We need to know that you can write.
  • Details about your background that make you a valuable addition to the team. What do you like, and what do you do?
  • Links to your blog / project posts / etc. that have been published on the Internet, if any.
  • Or just write us with questions. We’ll be glad to answer.

Ladies and Gentlemen, start your applications!

The FM-1: Open Source Hacked Open, Vibe Coding, And Farting Synthesizers

The M-Vave FM-1 was a pretty unremarkable little synthesizer “toy” until the open-source synth hackers took it over. Now, it’s a sweet platform for exploration, the incredible work done by the community has encouraged the manufacturer to release an open SDK, and it has recently taken the global synth nerd community by storm. (It has sadly also gotten about a 50% markup in the last month due to this popularity.)

It’s the perfect storm of inexpensive hardware, vibe-coded software, and easy-to-use tooling that enables synthesizer firmware-hacking for the mainstream. It is also the fashionable box of the moment in a nerdy niche of the synthesizer world at the moment and it’s something that we’re going to see in non-synthesizer contexts as well, so buckle up.

Continue reading “The FM-1: Open Source Hacked Open, Vibe Coding, And Farting Synthesizers” →

Reverse Engineer That USB Device In Style

Proprietary device drivers, dedicated applications, and their ilk are the bane of the open-source hacker. If only we could snoop on every device out there, recording the “secret” USB transactions as they go over the wire, we’d have a chance.

[Emir Mrkaljević]’s tool, usb-rea, aims to make this process a whole lot less painful. The workflow is like this: you start capturing on USB, make an annotation about what action you’re taking, press the button a few times, and then move on to the next action.

sudo modprobe usbmon
usb-rea capture start -o lamp.pcapng
usb-rea mark -m lamp.pcapng.actions.json "brightness 0%"    # then click it in the vendor app
usb-rea mark -m lamp.pcapng.actions.json "brightness 50%"   # ...repeat for 3+ values per setting
usb-rea capture stop
usb-rea report lamp.pcapng -o report.md
usb-rea scaffold lamp.pcapng -o lamp_driver.py
usb-rea dissector lamp.pcapng -o lamp.lua      # Wireshark dissector for the same protocol

Usb-rea records all the USB traffic, timestamps it relative to your actions, and gives you a report, a driver, and a Wireshark protocol dissector out the back side. There is even an MCP file so that you can hand off the grunt work to the bots, possibly enabling this to work closed-loop?

Of course, you don’t want to reinvent the wheel, so it’s fun to see that there’s also a usb-rea lookup command to see if your VID:PID is already in the dataset. Most of the devices are CPU coolers, RGB controllers, and other blinged-out computer peripherals, but we imagine that it’s a lot more broadly applicable. We looked for our mouse on the list, but it’s sadly not there.

Usb-rea is not a silver bullet to bring back abandoned peripherals from the grave, because you still need to run the proprietary driver during the recording. But if you get ahead of the game and document the protocols before the manufacturers abandon them, you stand a chance. Get recording!

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

Warm Analog DSP, On The ESP

We love audio, and we love messing around with it. So when [mircemk] wrote in with his latest audio-mangling device, we had to give it a look. It’s a tube-sound processor implemented in an ESP32 with a WM8960 handling the audio side of things. Tubes are expensive, power hungry, and a general pain in the posterior, so there is incentive to DIY it yourself with DSP. The whole setup is mounted in a Tektronix-inspired case that would be at home on the workbench or in the living room.

See? No tubes!

What’s ironic about the tube sound is that it’s essentially a nonlinear distortion of the audio, but it’s a distortion that can sound better than the undistorted signal. (Take that, engineering!) Push-pull transistor amplifiers tend to distort the top and bottom end of the signal similarly, while tubes round off the tops more than the bottoms. [mircemk] lets you tweak this transfer function, and displays it nicely on the screen.

But there’s one more important way that tubes color the sound — they respond slowly to rapidly changing signals — and [mircemk] says he implemented that as well.  We couldn’t find that part of the distortion accounted for in the code, but maybe you can?

Anyway, this is a fantastic audio project, and it just goes to show you how far you can go with some simple parts and clever programming. Indeed, we’ve seen this rig before, with different code that made it a parametric EQ. Once you’ve got the sound turned into numbers, you can math anything at it.