Hackaday Links Column Banner

Hackaday Links: November 7, 2021

More trouble for Hubble this week as the space observatory’s scientific instruments package entered safe mode again. The problems started back on October 25, when the Scientific Instrument Command and Data Handling Unit, or SI C&DH, detect a lack of synchronization messages from the scientific instruments — basically, the cameras and spectrometers that sit at the focus of the telescope. The issue appears to be different from the “payload computer glitch” that was so widely reported back in the summer, but does seem to involve hardware on the SI C&DH. Mission controller took an interesting approach to diagnosing the problem: the dusted off the NICMOS, or Near Infrared Camera and Multi-Object Spectrometer, an instrument that hasn’t been used since 1998. Putting NICMOS back into the loop allowed them to test for loss of synchronization messages without risking the other active instruments. In true hacker fashion, it looks like the fix will be to change the software to deal with the loss of sync messages. We’ll keep you posted.

What happened to the good old days, when truck hijackings were for things like cigarettes and booze? Now it’s graphics cards, at least according to a forum post that announced the theft of a shipment of EVGA GeForce RTX 30-series graphics cards from a delivery truck. The truck was moving the cards from San Francisco to the company’s southern California distribution center. No word as to the modus operandi of the thieves, so it’s not clear if the whole truck was stolen or if the cards “fell off the back.” Either way, EVGA took pains to note that receiving stolen goods is a crime under California law, and that warranties for the stolen cards will not be honored. Given the purpose these cards will likely be used for, we doubt that either of these facts matters much to the thieves.

Remember “Jet Pack Man”? We sure do, from a series of reports by pilots approaching Los Angeles International airport stretching back into 2020 and popping up occasionally. The reports were all similar — an object approximately the size and shape of a human, floating aloft near LAX. Sightings persisted, investigations were launched, but nobody appeared to know where Jet Pack Man came from or what he was flying. But now it appears that the Los Angeles Police may have identified the culprit: one Jack Skellington, whose street name is the Pumpkin King. Or at least a helium balloon version of the gangly creature, which is sure what an LAPD helicopter seems to have captured on video. But color us skeptical here; after all, they spotted the Halloween-themed balloon around the holiday, and it’s pretty easy to imagine that the hapless hero of Halloween Town floated away from someone’s front porch. More to the point, video that was captured at the end of 2020 doesn’t look anything like a Skellington balloon. So much for “case closed.”

Speaking of balloons, here’s perhaps a more productive use for them — lifting a solar observatory up above most of the atmosphere. The Sunrise Solar Observatory is designed to be lifted to about 37 km by a balloon, far enough above the Earth’s ozone layer to allow detailed observation of the Sun’s corona and lower atmosphere down into the UV range of the spectrum. Sunrise has already flown two successful missions in 2009 and 2013 which have netted over 100 scientific papers. The telescope has a one-meter aperture and automatic alignment and stabilization systems to keep it pointed the right way. Sunrise III is scheduled to launch in June 2022, and aims to study the flow of material in the solar atmosphere with an eye to understanding the nature of the Sun’s magnetic field.

And finally, what a difference a few feet can make. Some future Starlink customers are fuming after updating the location on their request for service, only to find the estimated delivery date pushed back a couple of years. Signing up for Starlink satellite service entails dropping a pin on a map to indicate your intended service location, but when Starlink put a new, more precise mapping app on the site, some eager pre-order customers updated their location to more accurately reflect where the dish will be installed. It’s not clear if the actual location of the dish is causing the change in the delivery date, or if just the act of updating an order places you at the bottom of the queue. But the lesson here may be that with geolocation, close enough is close enough.

Halloween Hack Requires Minimum Code, Produces Maximum Fun

Every year, [Conor O’Neill] hacks something together to spook and entertain trick-or-treaters who happen by his home on Halloween. He’s noticed a pattern — every year the project involves a mess of code, often slapped together using different frameworks and languages. Attempting to alleviate that, and maybe make things a bit more friendly to beginners who understandably find code-intensive project daunting, this year he set out to write as little code as possible.

Rather than take the electronics-only route, which would undoubtedly include a few 555 timers and some other classics, [Conor] elected to stick with higher-level embedded boards, including fan-favorites such as an ESP32 and a Raspberry Pi, while still trying to keep code to a minimum. Thanks to the visual languages Espruino Blockly and NODE-RED, he only needed to write a couple lines of “traditional code,” as he calls it: a simple JavaScript HTTP request. The project itself consisted of an ultrasonic sensor hooked up to an ESP32, which would detect when children approached the door. The ESP32 used Espruino visual scripting to notify a Raspberry Pi when it sensed motion. The Raspberry Pi would play some spooky sounds, and coordinate with some old conference badges to turn on some lights and trigger a fog machine. The Pi also used a service called Tines to send a door notification via Telegram.

Okay, so this is still by no means simple, but it is interesting how much can be done without writing much code (and the end result was great!). [Conor] says he’s been building similar Halloween projects every year for the last ten or so, and it shows — we wrote about another one of his haunted doorbells back in 2015. We’re looking forward to seeing what he cooks up next year, and we hope you’ll have some awesome automated Halloween decorations as well!

Continue reading “Halloween Hack Requires Minimum Code, Produces Maximum Fun”

A functioning model of the Wunderwaffe DG-2 from Call of Duty: Zombies.

DIY Wunderwaffe And Others Make Up This Open-Source Arsenal

Unless you stay up all night and have a dozen printers going, it’s probably way too late to make one of these beautiful prop weapons designed by [Andrew] of The Ray Gun Project in time for Halloween. Most of them are from Call of Duty: Zombies, though there is an awesome little disco grenade from Fortnite as well.

All of the projects are fantastic, but we chose to highlight the Wunderwaffe DG-2 from COD: Zombies because, well, vacuum tubes. For those unfamiliar with the ‘waffe’s operation, those vacuum tubes act as ammo magazines. Once they’re empty, you power them down with that big red switch and eject them one at a time with the lever, just like in the game.

Inside is a Feather M0 Express that runs the RGB LEDs and uses a Hall effect sensor to read magnets in the quick-change ammo magazine. You can see how it works in the demo video after the break.

There are BOMs for several of the prop weapons, along with assembly drawings and support forums for anyone who wants to build their own. Don’t feel like gathering all the bits and bobs yourself? [Andrew] is selling hardware packs for the ray gun, but you’ll have to scrounge the parts yourself if you want to build the Wunderwaffle.

Are you a Grinch who wants to keep kids off of your lawn? Scare ’em off with a giant NERF gun.

Continue reading “DIY Wunderwaffe And Others Make Up This Open-Source Arsenal”

Turn signal monitor

Annoy Yourself Into Better Driving With This Turn Signal Monitor

Something like 99% of the people on the road at any given moment will consider themselves an above-average driver, something that’s as statistically impossible as it is easily disproven by casual observation. Drivers make all kinds of mistakes, but perhaps none as annoying and avoidable as failure to use their turn signal. This turn signal monitor aims to fix that, through the judicious use of negative feedback.

Apparently, [Mark Radinovic] feels that he has a predisposition against using his turn signal due to the fact that he drives a BMW. To break him of that habit, one that cost him his first BMW, he attached Arduino Nano 33 BLEs to the steering wheel and the turn signal stalk. The IMUs sense the position of each and send that over Bluetooth to an Arduino Uno WiFi. That in turn talks over USB to a Raspberry Pi, which connects to the car’s stereo via Bluetooth to blare an alarm when the steering wheel is turned but the turn signal remains untouched. The video below shows it in use; while it clearly works, there are a lot of situations where it triggers even though a turn signal isn’t really called for — going around a roundabout, for example, or navigating a sinuous approach to a drive-through window.

While [Mark] clearly built this tongue firmly planted in cheek, we can’t help but think there’s a better way — sniffing the car’s CANbus to determine steering angle and turn signal status comes to mind. This great workshop on CANbus sniffing from last year’s Remoticon would be a great place to start if you’d like a more streamlined solution than [Mark]’s.

Continue reading “Annoy Yourself Into Better Driving With This Turn Signal Monitor”

This Robot Can’t Keep Its Eyes Off The Money

Some say there’s no treasure quite as valuable as the almighty dollar. [Norbert Zare] likes alt-rock soundtracks on Youtube videos and robots obsessed with money, so set about building the latter.

The project is fundamentally a simple one. A Raspberry Pi 3B+ is outfitted with a Pi Camera, and set up to control twin servo motors attached to a simple pan/tilt assembly. The Pi runs OpenCV set up in a face-tracking mode. This allows the robot to readily track money in its field of view, as the vast majority of money out there has someone’s face on it. OpenCV is used to detect where the money is in the field of view, and guide the Pi’s camera towards the cash.

It’s a neat repurposing OpenCV’s face detection algorithm, and that’s much faster than training your own money-tracking system. However, it seems like the robot would also track regular human faces, too. Perhaps it could be optimised to do a color check, such that only greyscale or green faces were followed by the robot.

Does the project do anything useful or important? Arguably no, but if a robot can be this obsessed with money, perhaps we all can learn something. Alternatively, it might just have served as a useful project for [Norbert] to learn about programming and mechatronics projects. Either way, we dig it. Code is on Github for the curious.

Using OpenCV in this way has become common over the years. If you want to detect cats, however, maybe consider giving Tensorflow a try. Video after the break.

Continue reading “This Robot Can’t Keep Its Eyes Off The Money”

Heathkit IM-13 VTVM Repair

If you are under a certain age, you might not know the initialism VTVM. It stands for vacuum tube voltmeter. At first glance, you might just think that was shorthand for “old voltmeter” but, in fact, a VTVM filled a vital role in the old days of measuring instruments. [The Radio Mechanic] takes us inside a Heathkit IM-13 that needed some loving, and for its day it was an impressive little instrument.

Today, our meters almost always have a FET front end and probably uses a MOSFET. That means the voltage measurement probes don’t really connect to the meter at all. In a properly working MOSFET, the DC resistance between the gate and the rest of the circuit is practically infinite. It is more likely that a very large resistor (like 10 megaohms) is setting the input impedance because the gate by itself could pick up electrostatic voltage that might destroy the device. A high resistance like that is great when you make measurements because it is very unlikely to disturb the circuit you are trying to measure and it leads to more accurate measurements.

Continue reading “Heathkit IM-13 VTVM Repair”

A breadboard filled with logic chips and wiring

SPAM-1 Is A Well-Documented Discrete CPU With An Impressive Software Library

Here at Hackaday we love projects that are so well-documented that you can spend days reading up on what the designer has achieved. [John Lonergan] didn’t disappoint when he designed the SPAM-1, an 8-bit CPU built from discrete logic gates. His detailed log contains a wealth of information on such things as designing opcodes, optimizing program counter logic, running a digital simulation, as well as his thoughts on microcode design. The sheer volume of it may be a bit off-putting to beginners, so it might be best to start with the video series that describes the architecture and goes into detail on several sub-blocks.

The design has changed a bit since [John] first started on the project, as he decided to add more and more features, but the final result is a well-thought out architecture that keeps the simplicity needed for discrete hardware but still has enough features to keep it interesting for seasoned CPU aficionados. The instruction size is rather large (48 bits) to simplify the instruction decoding at the expense of larger code size. Conditional jump instructions are not present; instead, all instructions have an optional control flag to make them conditional, a feature inspired by the ARM instruction set.

Once the design was mature enough, [John] modelled the entire thing in Verilog and simulated his design to verify correct operation and to check the timings, estimating it to be workable up to 5 MHz or so. A large stack of breadboards and DIP chips from the 74xx series then brought the design to life.

Not content with simply designing, simulating and implementing a custom CPU in hardware, [John] also spent significant effort on the software side of things, writing an assembler and even a C-like compiler for the SPAM-1 platform. And if that wasn’t enough, he also added an emulator for the classic CHIP-8 language, which allows it to run existing programs like Pong and Tetris. Input and output for all this software is mostly through a UART connection to a PC. A VGA interface is still on [John]’s to-do list, but he did build an adapter to connect a classic NES controller to the system.

The SPAM-1 is a worthy addition to the long list of discrete-logic CPUs we’ve seen here, such as this breadboard computer running a UNIX-like OS or this minimalistic one. If you’d like to see one that implements an existing instruction set, try this homebrew RISC-V computer.

Continue reading “SPAM-1 Is A Well-Documented Discrete CPU With An Impressive Software Library”