Hackaday Links Column Banner

Hackaday Links: August 21, 2022

As side-channel attacks go, it’s one of the weirder ones we’ve heard of. But the tech news was filled with stories this week about how Janet Jackson’s “Rhythm Nation” is actually a form of cyberattack. It sounds a little hinky, but apparently this is an old vulnerability, as it was first noticed back in the days when laptops commonly had 5400-RPM hard drives. The vulnerability surfaced when the video for that particular ditty was played on a laptop, which would promptly crash. Nearby laptops of the same kind would also be affected, suggesting that whatever was crashing the machine wasn’t software related. As it turns out, some frequencies in the song were causing resonant vibrations in the drive. It’s not clear if anyone at the time asked the important questions, like exactly which part of the song was responsible or what the failure mode was on the drive. We’ll just take a guess and say that it was the drive heads popping and locking.

Continue reading “Hackaday Links: August 21, 2022”

Hackaday Links Column Banner

Hackaday Links: October 3, 2021

It’s one thing to speculate about what’s happening with the Mars helicopter Ingenuity, but it’s another to get an insider’s view on recent flight problems. As we previously reported, Ingenuity is starting to face a significant challenge, as a seasonal atmospheric pressure drop on Mars threatens to make the already rarefied air too thin to generate useful lift. Mission controllers tested the chopper at higher rotor speeds, and while that worked, later attempts to fly using that higher speed resulted in an abort. The article, written by one of the NASA/JPL engineers, is a deep dive into the problem, which occurred when Ingenuity sensed excessive wiggle in two of the servos controlling the rotor swashplate. The thought is that accumulated wear in the servos and linkages might be causing the problem; after all, Ingenuity has made thirteen flights so far, greatly exceeding the five flights originally programmed for it. Here’s hoping they can adapt and keep the helicopter flying, but whatever they do, it’ll have to wait a few weeks until Mars completes its conjunction and pops back out from behind the Sun.

With all the attention understandably paid to the recent 20th anniversary of the 9/11 terror attacks, it’s easy to forget that barely a month after that day, a series of what appeared to be follow-on attacks started: the Anthrax Attacks. Members of Congress and media outlets were targeted via the mail with highly refined anthrax spores, leading to the deaths of five people, with dozens more injured and exposed to anthrax. IEEE Spectrum has an interesting article that goes into some of the technology that was rapidly deployed in an attempt to sanitize the mail, including electron beam and X-ray irradiation to kill any spores. The article also points out how this wasn’t the first time people were afraid of the mail; outbreaks of yellow fever in 1899 led to fumigation of the mail with sulfur, after perforating it with a wicked-looking paddle.

Attention PCB-design newbies — now’s your chance to learn the entire PCB design process from the ground up, with the guidance of industry professionals. TeachMePCB is back again this year, offering to teach you everything you need to know about properly laying out a PCB design in pretty much any EDA software you want. The course requires a two- to five-hour commitment every week for two months, after which you’ll have designed a PCB for a macropad using a Raspberry Pi Pico. The course facilitator is Mark Hughes from Royal Circuits, who did a great Hack Chat with us last year on PCB finishes. This seems like a great way to get up to speed on PCB design, so if you’re interested, act soon — 460 people are already signed up, and the deadline is October 10.

Some of us really love factory tours, no matter what the factory is making. All the better when the factory makes cool electronics stuff, and better still when it’s our friends at Adafruit showing us around their New York City digs. True, it’s a virtual tour, but it has pretty much become a virtual world over the last couple of years, and it’s still a great look inside the Adafruit factory. Hackaday got an in-person tour back in 2015, but we didn’t know their building used to be a Westinghouse radio factory. In fact, the whole area was once part of the famed “Radio Row” that every major city seemed to have from the 1920s to the 1960s. It’s good to get a look inside a real manufacturing operation, especially one that’s right in the heart of a city.

And finally, those with a fear of heights might want to avoid watching this fascinating film on the change-out of a TV transmitter antenna. The tower is over 1,500′ (450 m) tall, lofting an aging antenna over the flat Florida terrain. Most of the footage comes from body-mounted cameras on the riggers working the job, including the one very brave soul who climbed up the partially unbolted antenna to connect it to the Sikorsky S64 Skycrane helicopter. It’s a strange combination of a carefully planned and slowly executed ballet, punctuated by moments of frenetic activity and sheer terror. The mishap when releasing the load line after the new antenna was placed could easily have swept the whole rigging crew off the antenna, but luckily nobody was injured.

Continue reading “Hackaday Links: October 3, 2021”

Keep Coffee Warm Through Induction Heating

Transformers have an obvious use for increasing or decreasing the voltage in AC systems, but they have many other esoteric uses as well. Electric motors and generators are functionally similar and can be modeled as if they are transformers, but the truly interesting applications are outside these industrial settings. Wireless charging is essentially an air-core transformer that allows power to flow through otherwise empty space, and induction cooking uses a similar principle to induce current flow in pots and pans. And, in this case, coffee mugs.

[Sajjad]’s project is an effort to keep his coffee warm while it sits on his desk. To build this special transformer he places his mug inside a coil of thick wire which is connected to a square wave generator. A capacitor sits in parallel with the coil of wire which allows the device to achieve resonance at a specific tuned frequency. Once at that frequency, the coil of wire efficiently generates eddy currents in the metal part of the coffee mug and heats the coffee with a minimum of input energy.

While this project doesn’t work for ceramic mugs, [Sajjad] does demonstrate it with a metal spoon in the mug. While it doesn’t heat up to levels high enough to melt solder, it works to keep coffee warm in a pinch if a metal mug isn’t available. He also plans to upgrade it so it takes up slightly less space on his desk. For now, though, it can easily keep his mug of coffee hot while it sits on his test bench.

Continue reading “Keep Coffee Warm Through Induction Heating”

Bricking Your 3D Printer, In A Good Way

In our vernacular, bricking something is almost never good. It implies that something has gone very wrong indeed, and that your once-useful and likely expensive widget is now about as useful as a brick. Given their importance to civilization, that seems somewhat unfair to bricks, but it gets the point across.

It turns out, though, that bricks can play an important role in 3D-printing in terms of both noise control and print quality. As [Stefan] points out in the video below, living with a 3D printer whirring away on a long print can be disturbing, especially when the vibrations of the stepper motors are transmitted into and amplified by a solid surface, like a benchtop. He found that isolating the printer from the resonant surface was the key. While the stock felt pad feet on his Original Prusa i3 Mk 3S helped, the best results were achieved by building a platform of closed-cell packing foam and a concrete paver block. The combination of the springy foam and the dampening mass of the paver brought the sound level down almost 8 dBA.

[Stefan] also thoughtfully tested his setups on print quality. Machine tools generally perform better with more mass to damp unwanted vibration, so it stands to reason that perching a printer on top of a heavy concrete slab would improve performance. Even though the difference in quality wasn’t huge, it was noticeable, and coupled with the noise reduction, it makes the inclusion of a paver and some scraps of foam into your printing setup a no-brainer.

Not content to spend just a couple of bucks on a paver for vibration damping? Then cast a composite epoxy base for your machine — either with aluminum or with granite.

Continue reading “Bricking Your 3D Printer, In A Good Way”

How Safe Is That Ultrasonic Bath For Flux Removal?

How do you clean the residual flux off your boards? There are plenty of ways to go about the job, ranging from “why bother?” to the careful application of isopropyl alcohol to every joint with a cotton swab. It seems like more and more people are turning to ultrasonic cleaners to get the job done, though, and for good reason: just dunk your board and walk away while cavitation does the work for you.

But just how safe is it to sonically blast the flux off your boards? [SDG Electronics] wanted to know, so he ran some cleaning tests to get to the bottom of things. On the face of it, dunking a PCB in an aqueous cleaning solution seems ill-advised; after all, water and electricity famously don’t mix. But assuming all the nooks and crannies of a board can be dried out before power is applied, the cleaning solution itself should be of little concern. The main beef with ultrasonic cleaning seems to be with the acoustic energy coupling with mechanical systems on boards, such as crystal oscillators or micro-electrical-mechanical systems (MEMS) components, such as accelerometers or microphones. Such components could resonate with the ultrasonic waves and be blasted to bits internally.

To test this, [SDG Electronics] built a board with various potentially vulnerable components, including the popular 32.768-kHz crystal, cut for a frequency quite close to the cleaner’s fundamental. The video below goes into some detail on the before-and-after tests, but the short story is that nothing untoward happened to any of the test circuits. Granted, no components with openings as you might find on some MEMS microphones were tested, so be careful. After all, we know that ultrasound can deal damage, and if it can levitate tiny styrofoam balls, it might just do your circuit in.

Continue reading “How Safe Is That Ultrasonic Bath For Flux Removal?”

Fighting Machine Tool Chatter With A 555 Timer

Vibration is a fact of life in almost every machining operation. Whether you’re milling, drilling, turning, or grinding, vibration can result in chatter that can ruin a part. Fighting chatter has generally been a matter of adding more mass to the machine, but if you’re clever about things, chatter reduction can be accomplished electronically, too. (YouTube, embedded below.)

When you know a little something about resonance, machine vibration and chatter start to make sense. [AvE] spends quite a bit of time explaining and demonstrating resonance in the video — fair warning about his usual salty shop language. His goal with the demo is to show that chatter comes from continued excitation of a flexible beam, which in this case is a piece of stock in the lathe chuck with no tailstock support. The idea is that by rapidly varying the speed of the lathe slightly, the system never spends very long at the resonant frequency. His method relies on a variable-frequency drive (VFD) with programmable IO pins. A simple 555 timer board drives a relay to toggle the IO pins on and off, cycling the VFD up and down by a couple of hertz. The resulting 100 RPM change in spindle speed as the timer cycles reduces the amount of time spent at the resonant frequency. The results don’t look too bad — not perfect, but a definite improvement.

It’s an interesting technique to keep in mind, and a big step up from the usual technique of more mass.

Continue reading “Fighting Machine Tool Chatter With A 555 Timer”