Troubleshooting Ethernet Networks With The ESP32

While there are cheap handheld testers that can tell you if an Ethernet jack is wired improperly or if the cable itself has a broken conductor, figuring out if there’s a live TCP/IP network over it is a little more difficult. There are commercial testers that can detect those sorts of issues as well, but they’re considerably more expensive. So when trying to diagnose a flaky network connection, it’s often necessary to lug a laptop around so you can plug it in at various points to try and isolate the problem.

Mobile view of the web UI.

If this is a situation you occasionally find yourself in, the Syndetis project by [theo79] may be of interest. This firmware for the WT32-ETH01 turns the ESP32 development board into a handy network tester that can determine Ethernet link status,  pin IP addresses, detect other devices using Link Layer Discovery Protocol (LLDP), and even and sniff out active services such as DHCP. Add an 128×64 OLED display, a few buttons, and a USB power bank, and you’ve got a self-contained diagnostic tool that can fit in your pocket.

Anyone who’s had to squeeze into a wiring closet will appreciate the stand-alone nature of this device. But if you’ve got the room to bring your phone along and a free hand to operate it, the firmware also offers up a web interface that can be accessed over WiFi.

This will present you with a slightly more polished UI than can be offered up by the OLED and buttons, offering up a more complete view of what’s happening on the network. It’s also possible to generate diagnostic reports that are saved as JSON files for later analysis.

If you don’t need all these fancy features and just want a quick way to tell if an Ethernet cable is good, we’ve covered a DIY tester that uses the venerable 555 timer. If you’ve got a multimeter handy, you can get away with little more than a bare PCB.

RF Remote Cloning Without The Benefit Of An SDR

It’s difficult to overstate just how transformative the RTL-SDR project was for the hobbyist. It wasn’t that software-defined radios didn’t exist before that, of course. It’s that folks like us didn’t have access to them. Suddenly any hacker or maker with $20 to spare could peek in on how all sorts of devices were talking to each other, and we’re still seeing the practical applications of this new capability more than a decade later.

But snooping on higher frequencies usually requires considerably more expensive gear, which is the problem that [Henrikbiscuit] recently ran into. He wanted to hook the Lindby Velua ceiling light into Home Assistant, and that meant cloning the signals being sent by its 2.4 GHz remote. Without the benefit of an SDR that could listen in on something that high, he ended up doing it with nRF24 and CC2500 transceiver chips connected to an ESP32.

Conceptually, this would seem fairly straightforward. After all, these are the sort of chips that would normally be used for  consumer gadgets that wanted to talk on 2.4 GHz. But you’ve still got to figure out what the remote is sending out over the air, and doing that without the benefit of something like Universal Radio Hacker can be daunting.

Continue reading “RF Remote Cloning Without The Benefit Of An SDR” →

It Isn’t That The Trackpad Sings Well…

[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.

Continue reading “It Isn’t That The Trackpad Sings Well…” →

ESP Microcontrollers As Analog Radios

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.

Continue reading “ESP Microcontrollers As Analog Radios” →

That Java Phone Can Still Go Online

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 (or even a Windows machine!), 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.

A screenshot of two smartphone home screens side-by-side. The apps and dock show the device is running Linux, not stock Android.

Debian Comes To The Surface Duo 2

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.

We’ve seen several interesting mobile hacks over time, like this re-implementation of the Danger hiptop/Sidekick servers or a new SDK for the N-gage.

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