[Samuel Johnson] once remarked something about when a dog walks on its hind legs, it isn’t that it is done well, it is that it’s done at all. We imagine that’s what [os6]’s nospeaker project is like. It uses the haptic speaker in a MacBook trackpad to generate sound. You can hear it in the X post, embedded below.
To make the trick work, you need a Force Touch trackpad. These trackpads have a motor that taps glass to give you feedback. But if you drive the motors fast, the glass vibrating will make tones. Of course, the official API only offers three fixed taps. Then there is the private and undocumented MultitouchSupport interface.
To make it work, the system captures speech output from macOS and then finds the two strongest formants and feeds them to the motors. In theory, it is possible to use three resonances, but in practice that didn’t sound as good as using two.
The release of the hidden SDR functionality in the radio section of Espressif microcontrollers has led to an explosion of SDR hacking, both transmit and receive. We’ve seen SDR front ends and spectrum analysers, but [Kaboom748] has made the process even easier for users of traditional analogue modes. Do you need AM, FM, or SSB? The repository has ready-to-go software, in both transmit and receive.
Interestingly, it provides a reminder that these hacks work on the ESP8266 as well as the ESP32 series, as there are builds for that processor too. It is, however, restricted to whatever frequency the chip supports, so without a converter you are stuck with 2.4 or 5 GHz. To forestall the inevitable commenters, it’s difficult to imagine a situation where wideband FM stereo would be legal in the Wi-Fi space, but at least these chips only provide low-power transmission.
The first generation of internet-connected mobile phones weren’t smartphones; instead, they were so-called feature phones, somewhere between a basic phone-only device and the type of phone we know today. They used their 2G modem to connect, and either had a built-in browser or, if you were very lucky, could run basic Java apps. As 2G services are slowly disappearing, surely it’s curtains for these old devices? Not at all, as [Antcating] shows us, because many of them can still go online using Bluetooth.
Back in the 1990s, people imagined use cases for short-range wireless tech that never quite caught on. There were Bluetooth wireless routers, and the idea of a personal area network of connected devices. Cheap Wi-Fi devices won that battle, but the tech remains, and many of those older phones still support it. We’re shown how to set up such a network using a Raspberry PI, and connect a Sony Ericsson phone to it. The browser to have back in the day was Opera Mini, with its server-side rendering, and amazingly there’s still a Java download of this venerable browser. So if you have one of these phones still knocking around, dust it off; there’s got to be some posing value in there.
With all the hubub about the iPhone Duo, it’s nice to look back on other dual screen devices that have come before. I turns out, some are still seeing active development like Linux on the Microsoft Surface Duo 2.
OpenDuo by [Andy1210] (with help from Claude) brings Debian 13 on kernel 7.3.4 to the Surface Duo 2 “with its own dual-screen Wayland compositor, a touch-first shell and a Settings app made for the two panels and the hinge.” This completely replaces the stock Android environment, but does keep the file structure so reverting shouldn’t be too difficult if you run into issues with Linux.
The build supports the laptop mode and dual screen “postures” so far, as well as spanning apps across both screens. Since the stock partitions are maintained during the install, [Andy1210] was able to get Linux to load the firmware already present on the phone means fewer of the typical issues with getting hardware drivers working with mobile Linux on an unsupported device. It’s not all sunshine and rainbows as some functions are locked behind the “secure world,” and networking support isn’t fully there yet.
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!
A week or so ago I posted an Ask Hackaday, in which I asked the community for help with a common camera hacking problem I was having with my mobile phone to C mount conversion. In short, when you take a camera with a tiny lens and change that lens for another, the resulting photographs have a colour cast. It’s usually the right colour in the centre, and moves to a pink colour in a ring around the photo. The commenters came up with the right answer, and identified the problem as the phone software applying a correction to compensate for the relatively awful tiny lens. It’s a problem not limited to me, it’s appeared in many such projects including this one. So having been educated as to the nature of the problem, my next step was to look at how to fix it.
It’s A Flat Field Correction Problem, Folks!
The Galaxy Note 3 calibration image.
Of course I am not the first to encounter this in some form, thus as expected there’s a well-tested technique in photography to correct it. It’s called flat field correction, and it works by correcting each pixel in the image to match the gain to that of the pixels in the centre of the image. It’s a straightforward enough mathematical procedure, and to measure those relative pixel gains it requires that the camera take a calibration image of a uniformly lit white surface. The idea is that each pixel in this image will deliver the difference between it and the pixels in the centre, and thus the required correction for that pixel.
Taking a calibration image is easy, and involves pointing the camera at something white and reasonably lit, and unfocusing it to remove any surface texture effects. The picture must be at the same resolution as the photo to be processed. I took a picture of the same white table in my hackerspace from the stuffed animals picture at somewhere under a metre’s distance, with the lens set to infinity focus. The resulting image shows the circular pink pattern alone, and very clearly indicates the nature of the problem.
Correction Method 1: GIMP
Top: fixed, Bottom: original.
Perhaps the easiest way to perform flat field correction is in your normal photo editing package. I use GIMP, but I am guessing that other packages will follow a similar path.
Open your photo to be corrected. The result will be brighter so you’ll need to reduce its exposure (Colours menu > Exposure).
Change the encoding precision to 32-bit floating point (Image menu > Encoding). Since this is a mathematical process, this reduces any rounding errors that might affect picture quality.
Open the calibration image as a new layer above the photo (File menu > Open as layers). Some guides then suggest applying a Gaussian blur to this layer to further reduce noise. I tried either, and found it made little difference.
Change the layer’s mode from “Normal”, to “Divide”. This can be found in the Layers panel, in a pulldown above the list of layers.
Following these steps delivers an image with the flat field correction applied. Of course, it may still need other processing such as white balance, but the pink ring is gone.
But What About The Command Line?
A straightforward GIMP workflow is an easy way to correct a single photo, but converting a day’s worth of pictures is likely to become a major pain. For a directory full of pictures it makes sense to use Image Magick if I can, and for a video I need to be able to use ffmpeg. So after a bit of messing about, here is the same process, for both command line packages. I have also placed the shell commands in a GitHub repository, in case your browser manages to mangle cut-and-pasting the commands below.
Image Magick
The first task is to create a calibration map from the calibration image I took earlier. This is a PNG image whose pixels represent the level difference from the centre of the image normalised to 50% grey, as opposed to the original image which shows their relative values at whatever illumination it was taken under. The -blur option applies a blur to remove any textures in the image, while the -fx option contains the mathematical formula required to apply the calculation. I am not ashamed to admit that I had a lot of help in getting these steps right, for which I am thankful.
Having created the calibration map image, it can now be applied to the photo. The multiplication by 0.5 is a compensation for the calibration map being centred around 50% grey, and the divide function is the same as that in the GIMP version above.
Now for video! Performing the same task in ffmpeg follows the same process as with Image Magick, but the calibration map must be the same resolution as the video. The most straightforward way to do this is to make a short video of the illuminated white surface rather than a still photo, and average all of its frames into a single image. The result is a similar one to the still calibration image, but it’s important to do it this way as the video camera app may apply different processing to the still camera one.
This image can then be processed in exactly the same way as the Image Magick version. Again, it’s applying a blur, and the same formula to make the calibration map.
Using the map, the conversion can then be performed on the video itself. This is a slow process though, on my run-of-the-mill Thinkpad it was processing only 1.8 frames per second.
So we’ve identified the problem as flat-field correction, and here are three ways to do it. The camera is now a lot closer to being useful, even if the processing steps can be a little cumbersome and the photos may require a little more post-processing. It’s obvious that in the phone hardware is the best place to do this, but without access to the internals of a 13-year-old Samsung this is the next best thing.
The Super Nintendo Entertainment System, or SNES for short, didn’t have much in terms of networking or online functionality. While it originally did have an expansion board on the bottom that the SatellaView satellite modem uses, this was very much a niche application outside of Japan. Correspondingly [Danny Boland] opted to use the front serial ports – also known as the controller ports – for a wireless network adapter instead.
This Super Network Adapter, or SNET, project combines an RP2350 with an ESP32-C3 to provide both connectivity with the SNES’ controller port for a ~30 kB/s data link and a Wi-Fi connection to the local network or as a hotspot. By default SNES games do nothing with this peripheral, so ROMs have to be patched and loaded from a Flash cartridge.
With that done it unlocks features such as being able to synchronize game saves between the cartridge’s SRAM and – as shown here – a WebDAV server to keep your game saves consistent between the cartridge and a RetroArch instance. There’s also a demonstration of having an LLM generate NPC dialogue for Legend of Zelda: Link to the Past to have them e.g. react to you smashing their pots, though your mileage may vary on how useful this feature is to you as you burn through tokens.
Overall it seems like it could be a pretty useful add-on for custom SNES ROMs, if you’re into that sort of thing.