MoreRSS

site iconHackadayModify

Hackaday serves up Fresh Hacks Every Day from around the Internet. Our playful posts are the gold-standard in entertainment for engineers and engineering enthusiasts.
Please copy the RSS to your reader, or quickly subscribe to:

Inoreader Feedly Follow Feedbin Local Reader

Rss preview of Blog of Hackaday

An RP2040 Powered ADS-B Receiver

2026-01-07 20:00:20

If you’ve ever heard the sound of an aircraft passing overhead and looked at an online plane tracker to try and figure out what it was, then you’ve interacted with ADS-B. It’s a protocol designed to enable easier aircraft monitoring, and it just so happens you can decode it yourself with the right hardware and software — which is how [John McNelly] came to develop ADSBee, an open source ADS-B receiver based around an RP2040.

ADS-B uses on–off keying (OOK) at 1 Mbps, and operates at 1090 MHz. This might seem like a rather difficult protocol to decode on a microcontroller, but the RP2040’s PIO is up to the task. All it takes is a bit of optimization, and a some basic RF components to amplify and digitize the signals.

However, not all aircraft utilize the 1090 MHz ADS-B implementation, and instead use a related protocol called UAT. Operating at 978 MHz, a second receiver is needed for decoding UAT traffic data, which is where the CC1312 comes into play. ADSBee may even be the first open source implementation of a UAT decoder!

What’s quite impressive is the various form factors the module is available in. Ranging from small solder-down modules to weatherproof outdoor base stations, nearly every potential need for an ADS-B receiver is covered. With POE or ESP32 S3 options available, there is no shortage of networking options either!

ADSBees have been placed in numerous locations, ranging from base stations to drones. One user even built out a tiny flight display cluster complete with traffic indicators into an FPV drone.

This isn’t the first time we have seen ADS-B receivers used by drone enthusiasts, but this is certainly the most feature rich and complete receiver we have come across.

Repairing a Self-Destructing SRS DG535 Digital Delay Generator

2026-01-07 17:00:44

There’s a lot of laboratory equipment out there that the casual hobbyist will never need to use, but that doesn’t mean you wouldn’t snap it up if the price is right. That’s what happened when [Tom Verbeure] saw a 1980s digital delay generator at a flea market for $40. Not only is it an excellent way to learn something about these devices, but it also provides a fascinating opportunity to troubleshoot and hopefully fix it. Such was also the case with this Stanford Research Systems (SRS) DG535 that turned out to be not only broken, but even features an apparently previously triggered self-destruct feature.

These devices are pretty basic, with this specimen incorporating a Z80 MPU in addition to digital and analog components to provide a programmable delay with 12.5 nanosecond resolution on its output channels after the input trigger is sensed. For that reason it was little surprise that the problem with the device was with its supply rails, of which a few were dead or out of spec, along with a burned-out trace.

Where the self-destruct feature comes into play is with the use of current boosting resistors around its linear regulators. Although these provide a current boost over what the regulator can provide, their disadvantages include a tendency towards destruction whenever the load on the supply rail decreases. This could for example occur when you’re debugging an issue and leave some of the PCBs disconnected.

Unsurprisingly, this issue caused the same charred trace to reignite during [Tom]’s first repair attempt, but after working up the courage over the subsequent 18 months the second repair attempt went much better, also helped by the presence of the mostly correct original board schematics.

Ultimately the fixes were relatively modest, involving replacing a discrete diode bridge with an integrated one, fixing the -9 V rail with a bodge wire, and replacing the LCD with its busted AC-powered backlight with a modern one with a LED backlight. Fortunately running the 5 V rail at 7 V for a while seemed to have caused no readily observable damage, nor did flipping connectors because of SRS’ inconsistent ‘standards’ for its connector orientations.

Sadly, when [Tom] emailed SRS to inquire about obtaining an updated schematic for this unit — which is currently still being sold new for $4,495 — he merely got told to send his unit in for repair.

This 8-Bit Commodore PET Was Hard to Fix

2026-01-07 14:00:56

Ken Shirriff working on the Commodore PET

Over on [Ken Shirriff]’s blog is a tricky Commodore PET repair: tracking down 6 1/2 bad chips. WARNING: contains 8-bit assembly code.

The Trinity of 1977 which started the personal computer revolution were the Apple II, the Commodore PET, and the TRS-80. In this project it’s a failing Commodore PET which is being restored.

In the video below the break you can see [Ken Shirriff] and [CuriousMarc] team up to crack this tough nut. Resolving the various issues required a whole heap of software and equipment. Most notably a Keysight DSOX3104T oscilloscope, a Retro Chip Tester Pro, an old Agilent 1670G logic analyzer (this thing is rocking a 3.5″ floppy disk drive!), an old Agilent 54622A oscilloscope (also rocking a floppy drive!), a Data I/O 29B Universal Programmer With UniPak 2 insert, and the disassembly software Ghidra.

In the end there were 6 (and a half) bad chips which needed to be discovered and then replaced. This project is a reminder that it’s nice to have the right tools for the job!

If you’re interested in the Commodore PET you might like to read A Tricky Commodore PET Repair And A Lesson About Assumptions or Tracking Satellites With A Commodore PET.

Faraday Effects Emerging from the Optical Magnetic Field

2026-01-07 11:00:08

As an electromagnetic radiation phenomenon, it’s perhaps not so surprising that light is affected by a magnetic field. This Faraday effect (FE) has been used since its discovery by [Michael Faraday] in 1845 for a wide range of applications, allowing for the manipulation of light’s polarization, something which is very useful in the field of optics, for remote sensing and spintronics. Despite this being such a well-known property of EM radiation a recent study claims to have made a new discovery here, with what they claim is about the ‘optical magnetic field’.

Their central claim is that it is not just the electrical component that contributes to the FE, but also the magnetic one, due to Zeeman energy that expresses itself from the magnetic component as a form of inverse FE. Based on their experimental findings they estimate that it contributes to the final measured FE by about 17% at a wavelength of 800 nm.

While definitely a very niche physics paper, and with no immediate implications, if independently confirmed it could deepen our understanding of the Faraday effect, and how to use it in future technologies.

The Many Questions and Challenges with DIY Hydroelectric Generators

2026-01-07 08:00:38

The concept of building your own hydroelectric generator seems simple at face value: use gravity to impart as much force as possible onto a turbine, which spins a generator, thus generating electricity. If you’re like the bloke over at [FarmCraft101] trying to DIY this with your farm pond and a lot of PVC pipes, you may have some significantly more in-depth questions, especially pertaining to what kind of generator to use. This and other questions, some of which were raised after the previous video in which the first prototype generator was assembled, are answered in this follow-up video.

When you DIY such a hydroelectric system, you have a number of options when it comes to just the turbine design alone, with the Kaplan-style turbine being one of the most straightforward ones – especially if you use a fixed pitch instead of adjustable – but you can go pretty far in the weeds with alternatives. As for the sharp drop-off after the turbine in the used design, the technical term is a draft tube, which is actually more efficient in this kind of low head, high flow hydroelectric dam situation.

After getting his money back for the unusable ‘3 kW’ generator, there were three options left: try an EBay special, get a purpose-built one from a US company, or rewind an alternator stator for higher voltage output than the standard 12/24V. Ultimately option four was chosen, as in ‘all of the above’, so that comparison is coming up  in a future video.

There were also questions from viewers about why he opted to rectify the AC power from the generator and use DC transmission to the nearest farm building. The main reason is efficiency, as DC transmission lines lack the skin effect losses. The other is that the grid-tie inverter that he plans to use needs DC input anyway. Not having to deal with AC transmission issues like losses and reactive power shenanigans is a major plus here.

Once the three new generator versions are being tested it will be interesting to see how they perform. One thing with the Kaplan-style turbine is that too fast RPM induces cavitation, which will erode the propeller pretty quickly. Generally car alternators require a pretty fast RPM, so that may not work out too well. There is also the question of the DC voltage generated, as for DC transmission you want to have as high a voltage as possible to reduce the current.

The purpose-built generator he purchased tops out at 48V, which is quite low. The goal is to have at least 230 VAC before rectification, so a step-up transformer may be needed. Unfortunately three-phase transformers are pretty pricy again, making the rewound alternator seem less crazy. The wild card here is perhaps whether the EBay-purchased generator is a diamond in the rough and works out of the box as hoped.

Tired of Burnt Fingers? Try PID Tuning the Hot Glue Gun

2026-01-07 05:00:24

The modified hot glue gun, reassembled

Hot glue guns are pretty simple beasts: there’s an on/off switch, a heating element, and a source of current, be it battery or wired. You turn it on, and the heater starts warming up; eventually you can start extruding the thermoplastic sticks we call “hot glue”. Since there’s no temperature control, the longer you run the gun, the warmer it gets until it is inevitably hotter than you actually want– either burning you or oozing thermoplastic out the tip. [Mellow_Labs] was sick of that after a marathon hot-glue session, and decided to improve on his hot glue gun with PID tuning in the video embedded below.

PID tuning is probably a familiar concept to most of you, particularly those who have 3D printers, where it’s used in exactly the same way [Mellow_Labs] puts it to work in the hot glue gun.  By varying the input (in this case the power to the heater) proportional both to the Parameter (in this case, temperature) as well as the Integral and Derivative of that value, you can have a much steadier control than more naive algorithms, like the simple “on/off” thermostat that leads to large temperature swings.

In this case [Mellow_Labs] is implementing the PID control using a thermistor that looks like it came from a 3D printer, and a MOSFET driven by an RP2040. Microcontroller gets its power via the hot glue gun’s battery fed through a buck converter. Since he has them, a small OLED screen displays temperature, which is set with a pair of push-buttons. Thus, one can set a temperature hot enough to melt the glue, but low enough to avoid oozing or third degree burns.

He does not share the code he’s running on the RP2040, but if you are inspired to replicate this project and don’t want to roll your own, there are plenty of example PID scripts out there, like the one in this lovely robot. No, PID isn’t reserved for thermostats– but if you are controlling heat, it’s not reserved for electric, either. Some intrepid soul put built a PID controller for a charcoal BBQ once.