Hackaday Links Column Banner

Hackaday Links: July 25, 2021

Everyone makes mistakes in their job, but very few of us get the chance to make a one-character mistake with the potential to brick millions of devices. But that’s what happened to a hapless Google developer, who made an understandable typo in the ChromeOS code that ended up making it all the way to production. The error, which was in the OS encryption keys vault, was supposed to include the “&&” operator for a logical AND. The developer instead used a single ampersand, which broke the who conditional statement. This meant the OS evaluated even correct passwords as invalid, leaving users locked out of their Chromebooks. To be fair to the developer there should be a lot of QA steps between that typo and production, but it still has to sting.

Speaking of whoopsies, sometimes it just doesn’t pay to be right on the internet. It started when a player of the popular tank battle simulator “War Thunder” took issue with the in-game 3D model of the British Challenger 2 main battle tank. The player argued that the model was inaccurate to the point of affecting gameplay, and thought the model should be changed to make things more realistic. There seemed to be some basis for this, as the player claimed to have been a Challenger 2 commander and gunnery instructor. What’s more, like any good Netizen, the player cited sources to back up the claims, including excerpts from the official Challenger 2 instruction manual. Players on the War Thunder forum flagged this as likely classified material, but the player insisted that it wasn’t — right up to the point where the UK Ministry of Defence said, “Not so fast.” It turns out that the manual hasn’t been declassified, and that releasing the material potentially runs afoul of the Official Secrets Act, which carries with it up to 14 years detention at Her Majesty’s pleasure.

For fans of pinball, the announcement that the Museum of Pinball in Banning, California is closing its doors for good is probably a mix of good news and bad. It’s obviously bad news for any museum to close, especially one that curates collections from popular culture. And there’s no denying that pinball has been a big part of that culture, and that the machines themselves are often works of electromechanical art. But it appears that the museum just couldn’t make a go of it, and now its cavernous space will be sold off to a cannabis grower. But the sad news is tempered by the potential for private collectors and other pinball aficionados to score one of the estimated 1,100 pins the museum now needs to find a home for. We’ve never been to the museum, so it’s hard to say what kinds of machines they have and how collectible they are, but regardless, the market is about to be flooded. If you’re nearby, you might want to take a chance to see and play some of these machines one last time, before they get shipped off to private game rooms around the world.

And finally, exciting news from Hackaday superfriend Fran Blanche, who will soon tick an item off her bucket list with a zero-G ride on “G-Force 1”. Not to be confused with its military cousin the “Vomit Comet”, the weightlessness-simulating aircraft will afford Fran a total of about five minutes of free-fall when she takes the ride in a couple of months. There will also be periods of the flight that will simulate the gravity on both the Moon and Mars, so Fran has promised some Matt Damon mythbusting and Buzz Aldrin moonbouncing. And always one to share, Fran will bring along a professional video crew, so she can concentrate on the experience rather than filming it. We’ve actually scheduled Fran for a Hack Chat in August, to talk about the flight and some of her other cool goings-on, so watch out for that.

Portable GPS Time Server Powered By The ESP8266

Most Hackaday readers will be familiar with the idea of a network time server; a magical box nestled away in some distant data center that runs the Network Time Protocol (NTP) and allows us to conveniently synchronize the clocks in our computers and gadgets. Particularly eager clock watchers can actually rig up their own NTP server for their personal use, and if you’re a true time aficionado like [Cristiano Monteiro], you might be interested in the portable GPS-controlled time server he recently put together.

The heart of the build is a NEO-6M GPS module which features a dedicated pulse per second (PPS) pin. The ESP8266 combines the timestamp from the GPS messages and the PPS signal to synchronize itself with the atomic clock aboard the orbiting satellite. To prevent the system from drifting too far out of sync when it doesn’t have a lock on the GPS signal, [Cristiano] is using a DS3231 I2C real-time clock module that features a high accuracy temperature-compensated crystal oscillator (TCXO).

Continue reading “Portable GPS Time Server Powered By The ESP8266”

Why Make Coffee When You’re Tired? Let A Robot Do It For You

Like us, [Alberto] doesn’t compromise when it comes to a good cup of coffee. We figure that if he went to an office in the Before Times, he was the type of coworker to bring in their own coffee equipment so as not to suffer the office brew. Or perhaps he volunteered to order the office supplies and therefore got to decide for everyone else. Yep, that’s definitely one way to do it.

But like many of us, he is now operating out of a home office. Even so, he’s got better things to do than stand around pouring the perfect cup of coffee every morning. See, that’s where we differ, [Alberto]. But we do love Cafeino, your automated pour-over machine. It’s so sleek and lovely, and we’re sure it does a much better job than we do by hand — although we enjoy doing the pouring ourselves.

Cafeino is designed to mimic the movements of a trained barista’s hand, because evidently you’re supposed to pour the water in slow, deliberate swirls to evenly cover the grounds. (Our kettle has a chunky spout, so we just sort of wing it.) Cafeino does this by pumping water from an electric kettle and pouring a thin stream of it in circles with the help of two servos.

The three buttons each represent a different recipe setting, which specifies the amount of water, the hand pouring pattern, and the resting times between blooming the grounds and actually pouring the bulk of the water. These recipes are set using the accompanying web app via an ESP32, although the main brain barista is an Arduino Nano. Grab a cup and check out the demo after the break.

Got an old but modern coffee robot lying around? You could turn it into a planter with automated watering.

Continue reading “Why Make Coffee When You’re Tired? Let A Robot Do It For You”

Automatic Coil Winder Gets It Done With Simple Hardware And Software

We’ve grown to expect seeing mechatronics project incorporate a standard complement of components, things like stepper motors, Arduinos, lead screws, timing belts and pulleys, and aluminum extrusions. So when a project comes along that breaks that mold, even just a little, we sit up and take notice.

Departing somewhat from this hardware hacking lingua franca is [tuenhidiy]’s automatic coil winder, which instead of aluminum extrusions and 3D-printed connectors uses simple PVC pipe and fittings as a frame. Cheap, readily available, and easily worked, the PVC does a fine job here, and likely would on any project where forces are low and precision isn’t critical. The PVC frame holds two drive motors, one to wind the wire onto a form and one to drive a lead screw that moves the form back and forth. An Arduino with a CNC shield takes care of driving the motors, and the G-code needed to do so is generated by a simple spreadsheet that takes into account the number turns desired, the number of layers, the dimensions of the spool, and the diameters of the wire. The video below shows the machine going through its paces, with pretty neat and tidy results.

Being such a tedious task, this is far from the first coil winder we’ve seen. Some adhere to the standard design language, some take off in another direction entirely, but they’re all instructive and fun to watch in action.

Continue reading “Automatic Coil Winder Gets It Done With Simple Hardware And Software”

Quiet Wings, With Shape Memory Alloy

It’s a fact of operating an aircraft, that the make noise. If you’re an aviator you might want to quiet your craft to avoid annoying people nearby, or you might even want to operate in stealth mode. It turns out that there are different sources of noise on a plane depending upon the phase of flight. A NASA study found that when landing, a gap between the wing and leading edge slats causes air to cavitate causing unnecessary noise. Blocking that hole would allow for quieter landings, but there was no material suitable for both normal flight and the landing. That is, until Texas A&M researchers devised a way to use a shape memory alloy to do it.

In addition to two different shape memory alloy configurations, the study looks at a more conventional fiberglass composite, although this would only work for a limited number of wing configurations.

Continue reading “Quiet Wings, With Shape Memory Alloy”

Dominate Video Calls With Game Boy Camera Webcam

We can’t promise it will all be positive, but there’s no question you’ll be getting plenty of attention when you join a video call using the Game Boy Camera. Assuming they recognize you, anyway. The resolution and video quality of the 1998 toy certainly hasn’t aged very well, and that’s before it gets compressed and sent over the Internet.

From a technical standpoint, this one is actually pretty simple, if rather convoluted. [RetroGameCouch] hasn’t modified the Game Boy Camera in any way, he’s just connected it to the Super Game Boy, which in turn is slotted into a Super Nintendo. From there the video output of the SNES is passed through an HDMI converter, and finally terminates in a cheap HDMI capture device. His particular SNES has been modified with component video, but on the stock hardware you’ll have to be content with composite.

The end result of all these adapters and cables is that the live feed from the Game Boy Camera, complete with the Super Game Boy’s on-screen border, is available on the computer as a standard USB video device that can be used with whatever program you wish. If you’re more interested in recovering still images, we’ve recently seen a project that lets you pull images from the Game Boy Camera over WiFi.

Continue reading “Dominate Video Calls With Game Boy Camera Webcam”

Simple Tip Helps With Powder Coating Perfection On Difficult Parts

To say that that the commercially available garden path lights commonly available at dollar stores are cheap is a vast overstatement of their true worthlessness. These solar-powered lights are so cheaply built that there’s almost no point in buying them, a fact that led [Mark Presling] down a fabrication rabbit hole that ends with some great tips on powder coating parts with difficult geometries.

Powder coating might seem a bit overkill for something as mundane as garden lights, but [Mark] has a point — if you buy something and it fails after a few weeks in the sun, you might as well build it right yourself. And a proper finish is a big part of not only getting the right look, but to making these totally un-Tardis-like light fixtures last in the weather. The video series below covers the entire design and build process, which ended up having an aluminum grille with some deep grooves. Such features prove hard to reach with powder coating, where the tiny particles of the coating are attracted to the workpiece thanks to a high potential difference between them. After coating, the part is heated to melt the particles and form a tough, beautiful finish.

But for grooves and other high-aspect-ratio features, the particles tend to avoid collecting in the nooks and crannies, leading to an uneven finish. [Mark]’s solution was to turn to “hot flocking”, where the part is heated before applying uncharged coating to the deep features. This gets the corners and grooves well coated before the rest of the coating is applied in the standard way, leading to a much better finish.

We love [Presser]’s attention to detail on this build, as well as the excellent fabrication tips and tricks sprinkled throughout the series. You might want to check out some of his other builds, like this professional-looking spot welder.

Continue reading “Simple Tip Helps With Powder Coating Perfection On Difficult Parts”