ESP32 WIFI Jam Detector Finds The Raspberry

We’ve seen plenty of ESP32 WiFi projects that test wifi systems with attacks such as Deauth, and even jamming. Today’s project is a bit different. [TheDigital1] created an ESP32 project that uses SDR to detect interference in the WiFi bands.  The detector builds on the popular ESPARGOS ESP-SDR project that we have previously featured, to scan for any interference. The hardware is based on an ESP32-C5, so it covers both the 2.4GHz and 5GHz bands. [TheDigital1] used a Waveshare ESP32-C5-Touch-LCD-3.5, but since the project is open source, you should be able to port it to other devices.

The system doesn’t just detect noise. It can categorize the interference into four types: wideband, narrowband, pulsed wideband, and frequency-swept. [TheDigital1] notes that while the system can detect interference, it can’t detect intent, so it’s up to the user to determine if they have a leaky microwave or hackers trying to shut down their WiFi.

The system works great as a portable standalone device. In fact, the interface is pretty slick. Connecting it to a PC via USB opens up even more features. It can be used with Home Assistant as a WiFi Jammer detector. It can even detect if a room is occupied by sensing the noise floor increase from humans moving around.

With all these new ESP32 SDR projects coming up, we can’t wait to see what’s next!

Follow The Grid With An Arduino Uno

We all know the frequency of our AC grid. 60Hz for Americans, or 50Hz for Europeans, for example.  But the real story has some complexity. In a plural but interconnected grid such as Europe’s, that frequency can drift around a nominal center value. To keep track of this, [Jeroen Brinkman] has created a grid monitor that can show long-term trends as well as instantaneous frequencies.

Hardware-wise, it’s somewhat old-school, with an Arduino Uno and a ubiquitous 2×16 character LCD, but the interest here lies not in the microcontroller. Sensing mains frequency is fraught with spicy high-voltage danger if done directly, so [Jeroen] is performing the task using an optocoupler that toggles an interrupt pin on the Arduino. The monitor stores long-term data by the week, using only four bytes per week. That means the monitor can hold up to 240 weeks, or about 4.6 years, on a Nano R3 and over 2,000 weeks, or around 39 years on a Nano R4. The data can be retrieved via serial transfer over the Arduino’s USB port.

The subject of grid monitoring is a fascinating one, as geopolitical events can show up in it. Back in 2018, we covered the moment when Europe lost six seconds as a result.

A Smart Alarm Clock That Doesn’t Sell Your Soul

Devices from the likes of Google and Amazon can be used as high-tech alarm clocks that can show the weather and family photos in addition to telling you what time it is. But they’re also used to push ads out and potentially do other shady things that you’d probably just as soon not have in your bedroom.

If you like the features offered by devices like these but not the hidden costs that come with them, take a look at Rouse. This firmware, which can be installed on common ESP32 development boards such as the Waveshare ESP32-S3-Touch and the ubiquitous Cheap Yellow Display, provides some of those same features in a DIY package.

There’s no user account, no subscription, and no app for your phone that will inevitably stop working some day. The firmware offers up a web interface for configuration that can be accessed by anything with a web browser, and while it can perform firmware updates over the network, it only does so with your approval. It might seem odd that we have to double check to make sure our alarm clocks aren’t leaking any of our information onto the Internet, but that’s the world we live in apparently.

In addition to the basic ESP32 board, you’ll probably want to add some buttons and a speaker, all of which is documented in a fantastic build guide. There’s even files for you to 3D print your own enclosure for the finished clock, though you could certainly put it in an enclosure of your own choosing should you want to customize the build further.

Hackers and makers love clock projects, and at this point we’ve covered more than we can even keep track of. As part of that we’ve seen a number of alarm clocks builds, but as is so often the case around these parts, they tend to be one-off builds. The fact that Rouse has been built with community in mind really makes it stand out, and we’d love to hear in the comments if any of you already have one of these ticking away on your nightstand.

Proper Linux, On An ESP32

The ESP32 series of microcontrollers feature a lot on these pages, offering as they do a significantly powerful processor and in most cases, wireless connectivity. One recent member of the bewilderingly large family is the ESP32-S31, It’s a dual-core RISC-V unit with WiFi 6, and if that’s not interesting enough there’s the news that it runs Linux. Not -nommu Linux, but the full-fat version, as it has a memory management unit.

Before you imagine a superlative experience, it’s worth the reminder that the available resources will not give it much when it comes to computing power. But there’s an Espressif GitHub repository, and work on a port of a 6.x kernel, so you should be able to do something with it. A quick look on AliExpress finds dev boards at a range of prices, so the cost of experimenting shouldn’t be too high.

This moment at which the paths of microcontroller and full-fat SoC start to cross has been on the horizon for quite a while, and it’s exciting to see it finally arrive. Expect more similar chips in competition with this one, and more power too. Meanwhile see our noting the launch of the S31.

The Hidden Microcontroller Inside A LoRa Chip

If you’ve ever done anything with LoRa, the chances are you’ve used a LoRa chip or module as a peripheral for a microcontroller, and left it at that. But that’s not always the case. Rather than being a pre-programmed ASIC under the hood, the Semtech LR2021 has its own on-board microcontroller whose firmware can be updated. [Alex Beale] has managed to unlock its secrets.

The use of LLMs can elicit strong opinions at times, but in this case we agree with him that the task of reverse engineering this hidden microcontoller would have been a near-impossible task without their help. Having done so though,he can write custom firmwares, which he’s able to demonstrate. Running the required FFTs for a waterfall display on-chip for example is now possible, as is running your mesh network node on the chip itself.

This work continues a streak of recent discoveries unlocking software-defined radio functionality inside dedicated radio chips, with both WiFi and LoRa chips falling prey to reverse engineering. It’s an interesting time, if SDR is your thing.

Thanks [Notbasa] for the tip.

ToothPaste Goes Where Your Password Manager Doesn’t

One of the easiest ways of improving security and privacy when using the Internet, and computers in general, is to use strong passwords unique to each site or service. A password manager makes this easy on your phone or computer, but what if you’re in a situation where you can’t install any software on the device you’re logging into? In that case, maybe it’s time to get out the Toothpaste.

The way this creation from [brisk4t] works is that an ESP32-S3 is programmed to act as a keyboard and mouse for any computer it’s plugged into. From there, it connects over an encrypted WEB-BLE connection to another device like a laptop or smartphone. This second device can send text to the ESP32 acting using an extension for Chromium-based browsers, and the ESP32 sends it over the USB connection as if it were nothing more than a standard keyboard. This is all done without having to install any apps or drivers on the target machine, since any machine in the last two or three decades can recognize a USB keyboard and mouse with no problem.

Not only does this allow for easy password input for awkward situations, this can also be used for BIOS where an app couldn’t be installed anyway, for air-gapped systems with no networking, or insecure systems the user doesn’t trust. If you don’t need quite as many bells and whistles, we’ve seen a similar technique pulled off with an ATtiny85.

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!