A powered, red laser diode is mounted in a grey 3D-printed housing. Another plastic mount is mounted on a linear rail in front of the diode. Electronic components, including two breadboards, surround the setup.

Building An Interferometer With A Single Laser Diode

For measuring extremely small displacements, there’s no substitute for an interferometer: these instruments use interference between two beams of light to track shifts in optical path length, reaching resolutions measured in nanometers. Unfortunately, such sensitivity usually makes alignment difficult; in theory, at least, a self-mixing interferometer using a single laser diode offers a simpler approach. However, as [Zachary Tong] discovered, it’s still far from straightforward to implement.

Instead of an external optical path, a self-mixing interferometer uses the laser cavity itself as a reference: the measurement beam is reflected back into the diode, where interference fringes appear as variations in the laser’s output power. The measurement circuit simply needs to supply a constant current to the diode, then measure the laser’s output power using a photodiode; in this case, the photodiode was packaged with the laser. The greatest difficulty arose from the laser diode’s multiple longitudinal modes. A laser can have multiple resonant modes at slightly different frequencies, and over longer displacements, shifts between resonant modes created a pulsing, oscillating effect in the measured signal strength; to make matters worse, this also changed the distance between interference fringes. This made it very difficult to accurately measure displacement using this setup; it took a machine-learning model to get any decent results.

Continue reading “Building An Interferometer With A Single Laser Diode” →

A small PCB is shown plugged into an RCA connector and a USB-C cable. The PCB has no separate connectors mounted on; the board itself plugs into both connectors.

Building A Single-Chip USB GPU

Considering how powerful they’ve become and how many other tasks they’ve been repurposed for, it’s easy to forget that a GPU’s primary purpose is to generate graphics. With this definition in mind, and accepting a somewhat lower standard of performance, it’s entirely possible to build a twenty-cent GPU, as [bitluni] demonstrated with this USB to analog video converter.

The converter is built into one tiny PCB with only one active component, a CH570 microcontroller, and a few passive components. Not only is the USB-C connector made out of the PCB itself, the analog RCA connector is also: the PCB is designed with several copper-plated cutouts which let it plug into a female RCA port. There is a quirk with this approach, though: many RCA ports apparently only have one wire to make contact with the internal pin, making this somewhat sensitive to orientation. Of the passive components, the most important was a crystal oscillator to keep the generated signal in sync with the display’s refresh rate; timing was this project’s main constraint.

To keep up with the necessary rate, all high-speed operations had to be done with SRAM; an odd performance drop turned out to be caused by the compiler using flash memory. The actual analog signal is generated with PWM. The device appears as a USB CDC device, and can display greyscale text and rudimentary graphics; [bitluni] wrote a program to use it as a serial terminal. Interestingly, when the TV he was using as a display was in wireless reception mode, it was able to pick up on the PWM signal transmitted by a jumper wire. This inspired [bitluni] to search for more transmission options; it turns out that with SPI and overclocking, the system might be able to transmit a PAL colour signal.

This isn’t [bitluni]’s first time getting video out of an unlikely microcontroller; he’s also driven VGA with an ESP32. On a bit of a larger scale, he’s also built several coprocessors out of microcontroller clusters.

A white, 3D-printed robot hand is shown making a gesture with its index finger, pinkie finger, and thumb extended, and the others curled.

Building A Robotic Hand On A Budget

For all the recent advances in robot control enabled by machine learning, there are still a few problems which remain stubbornly difficult: locomotion, for example, or whole-body balance for humanoids. Dexterity, in particular, has emerged as a particularly hard problem, requiring both software and hardware sophistication; hardware capable of useful fine motor movement is often quite expensive. [Mahdi]’s been working on that problem, though, with an eighteen-degree-of-freedom robot hand that costs less than $300 in parts.

Although the hand is the main point of the project, it’s really a full forearm. The skeleton is 3D printed and driven by servo motors; like a human hand, the motors are located mostly in the forearm and use tendons to actuate the joints. Unlike most servo-driven robot hands, it uses thin steel rope instead of synthetic fiber cables, which eliminates the need to tie small knots — the tendon can simply be tensioned and crimped in place.

To reduce friction, each tendon runs through a PTFE tube. Wherever a tendon would have to go past a joint, it passes through the joint’s center of rotation, which keeps the length of the tendon’s path from changing as the joint bends. Each finger on the hand can move side-to-side and flex two joints independently.

The base of the arm can also rotate on a servo motor, which made powering the servo motors a challenge: the servos draw too much current for small slip-rings, and larger slip-rings were too expensive. Since the arm didn’t need to rotate continuously, though, he instead used a coil of flat ribbon cable which winds in or our as the joint rotates, with a printed cable guide to keep it from kinking; not only is this much cheaper than a slip ring, it’s also more compact.

We’ve seen a few robot hands take the same tendon-based approach before, and the more realistic ones replace the servo motors with artificial muscles. Some have even 3D-printed tendons and ligaments.

Continue reading “Building A Robotic Hand On A Budget” →

A Bambu Labs 3D printer is shown printing a cube. The cube has a division between yellow and purple plastic running at an angle through the cube. The printer is printing the purple section, and the face on which it is printing is angled at nearly 40 degrees to the print bed.

Printing Smooth Upper Surfaces With A Non-Planar Slicer

One of the most tantalizing prospects for 3D printing has been non-planar printing, which promises smoother surfaces without a staircase pattern, reduced or eliminated support structures in some incarnations, and the possibility of greater strength in others. One of the biggest limits to its adoption has been the lack of non-planar slicer programs, a gap which [Zimeng Xiong] of [Alpaca Engineering] has worked to eliminate with the non-planar PancakeSlicer.

PancakeSlicer is designed to work with standard 3-axis printers (a Bambu Labs A1 Mini in this case), so the non-planar paths available to it are limited by the print head’s clearance on each side of the nozzle. In the case of the A1 Mini, this could be substantially improved by removing the cooling shroud from the print head, relying instead on a remote static cooling system (RSCS), which blows cooling air in from the sides of the print bed. Being meant for 3-axis printers, the main goal of PancakeSlicer is to print smooth top surfaces without a stair-step pattern.

Continue reading “Printing Smooth Upper Surfaces With A Non-Planar Slicer” →

Sheet music is displayed on a screen, with the label "AIR" in the center top, and "Bach" to the right.

Reverse Engineering Score Perfect To Rescue Its Files

There are myriad challenges associated with data preservation – bit rot, loss of metadata, and hardware failures, among others – but one of the hardest is making sure that the data remains usable as software goes out of date. [Maarten Tromp]’s father, for instance, had been using the Score Perfect music notation program for years, but since development ceased in 2012, the files would eventually need to be transferred to more modern software. To do this, [Maarten] undertook a four-year project to reverse-engineer the structure of Score Perfect’s files.

Score Perfect was first released in 1990 for Atari and later ported to Windows, and after version four, it switched to a different file format. It had the option to export to MusicXML, but it only exported notes, not chords, lyrics, or other important details. [Maarten] first tried disassembling the program itself to find the file structure; he had hoped that the Visual Basic code might have been compiled to P-code, which is relatively easy to disassemble, but it had been compiled to native code. Interestingly, through version four, the program had been written for Atari and ran in Windows through a simple emulator. It wasn’t fully rewritten for Windows until later. After some investigation into the file-export function with Ghidra, he moved on to reverse-engineering the file format itself.

This consumed the majority of the project’s time. To investigate the file’s structure, [Maarten] would start by creating an empty file in the program, make one change, and compare the difference in the file written. This gradually revealed the organization of information — the file was arranged into blocks containing different kinds of information, such as measures and notes, and tags, which provided supplemental information. Once again, incremental changes revealed the function of most of these, and [Maarten] was eventually able to write a translation program to export Score Perfect files to MusicXML.

We’ve previously seen a similar effort to reverse-engineer the Altium file format. At least in these cases, though, all the necessary information is contained in the files, unlike the reverse-engineering often necessitated by STL files.

An audio spectrogram is shown in the middle of the image, with intensity plots shown both above and below the spectrogram. A vertical yellow line runs through all three graphs.

Determining Location By Listening For Airplanes

Beyond what people deliberately disclose, there’s a surprising amount of information hidden in everyday messages, especially photos and videos. Even when people try to hide the location or time at which something was recorded, small details make these surprisingly difficult to obscure. One of the more well-known techniques correlates mains-frequency hum with power grid frequency variations. In a similar vein, [colsto] recently developed a powerful technique for precisely geolocating videos using the Doppler curves generated by passing aircraft.

Since aircraft are often audible for miles in all directions, they’re particularly likely to be inadvertently picked up in a video. The aircraft may not be discernible to the human ear, but the sound it makes can still show up in a spectrogram. To turn this data into a location, the pattern of Doppler curves needs to be correlated to an aircraft’s flight path. This is easy enough using public ADS-B records, which provide a timestamped history of each aircraft’s location, altitude, speed, and heading.

Having more than one Doppler curve in the recording simplifies the location process significantly: it’s possible to simply search for points at which Doppler curves would have been heard with the correct interval between them. It’s also important to exclude locations at which more Doppler curves would have been heard than were actually recorded – without this filter, most locations are around airports.

This eliminates most candidate areas, but it still leaves too many to manually check. The shape of the Doppler curve also provides a clue, though. The height of the curve is determined by the airplane’s speed, and the length by its distance. From an aircraft’s flight path, it’s possible to reconstruct the Doppler curve which would have been heard at any point around its flight path. These reconstructions can then be matched against the real curve to find the exact location. In a test, even a single Doppler curve was enough to locate a video without the help of any other clues.

This is just the latest in a long series of unexpected ways in which we’ve seen secrets shared, whether the secret in question is the location of a military base or the position of radar emitters.

Continue reading “Determining Location By Listening For Airplanes” →

Two 3D-printed enclosures, one blue and one red, sit on a workmat. In front of the blue enclosure, a soldering iron sits in a blue-and-yellow soldering iron stand.

Building A Homemade Induction Soldering Iron

Despite not being inherently any better at converting electricity into heat, induction-heated soldering irons often considerably outperform conventional irons with an identical power rating. They manage this by directly heating the iron tip with an internal induction coil, rather than conducting heat from a heater cartridge farther back — a design which makes induction irons very responsive, stable, and, unfortunately, expensive. [Frank Zhao], though, managed to design and build two induction soldering irons of his own.

In some ways, the handpiece of an induction-heated soldering iron is simpler than a resistive iron. Induction-powered soldering irons don’t have temperature sensors or any kind of electronic temperature control. Instead, the tip’s temperature is set by the cartridge material’s Curie point; once the cartridge reaches this temperature, the heating efficiency drops off sharply. This self-regulation means that most of the project’s complexity is contained in the power supply, which supplies an RF signal to the induction coil.

Here, [Frank] had two previous projects to work off of, and he based one design on each. The first was the work of [SergeyMax], who’d reverse-engineered a Metcal soldering iron and built his own induction iron based on it. This relied, however, on components hard to find outside of Russia, so [Frank] updated it to use parts available in America. It uses a frequency of 13.56 MHz and an F-type connector, making it compatible with the handpiece assemblies from a number of commercial manufacturers, including Hakko and Metcal. For a measure of portability, it can be powered through an XT30 connector or USB-PD and fits in a compact case.

[Frank]’s second, more inexpensive design was based on the open-source RadioThermal project, but adds the same XT30 and USB-PD power options, allows power level selection with external jumpers, and protects the circuit with a fuse. This design operates at 470 kHz, and uses a custom-built handpiece designed around a commercial soldering iron tip.

We’ve seen induction irons here before, albeit in a considerably less polished form. Alternatively, if you’re interested in seeing what’s inside a normal soldering iron tip, check out this teardown of a T12 tip.