2022 Hackaday Prize: Hack It Back And Make It Yours

The 2022 Hackaday Prize continues to hurtle along, with two of the five Challenges already in the rear-view mirror. While we’re naturally excited about every phase of this year’s contest, we’ve got particularly high hopes for what the community can do with this third Challenge: Hack it Back.

It’s a simple formula: find some outdated and disused piece of gear, spruce it up, and keep it out of the landfill. But extending the lifetime of consumer hardware is only one side of the coin, by upgrading and modifying something instead of buying an off-the-shelf replacement, you also turn the mundane into something unique and personal. But of course, we hardly have to explain the benefits to you fine folk — this is the sort of bespoke engineering we see on a nearly daily basis here at Hackaday. The difference now is that there’s cash prizes on the line.

Custom iPod, some Assembly Required

So if there’s an old iPod collecting dust in your desk, perhaps now is the time to replace its guts with some modern silicon and teach it a few new tricks. Sure a brand-new robotic vacuum might be nice, but you could save yourself some money by picking up a second-hand Roomba and tucking an ESP8266 onboard. Got a nice piece of test equipment that predates the handy data export functions we take for granted these days? You might need to use the nuclear option and skim the desired data right off the unit’s LCD controller. We could spend all day pulling examples from the archives, but you get the picture.

What’s that you say? You aren’t the type to be seduced by shiny new features? Happy to keep things local while others ship it all off to the cloud? You’ll get no complaints from us, and that’s why the Hack it Back Challenge also recognizes repairs that simply put a piece of gear back into service. But don’t be fooled, as fixing something can often be harder than rebuilding it from scratch.

When you’ve got to crack out the x-ray machine to find all the damaged traces on a decades-old PCB, only to then tediously replace them all with microscopic bits of wire, you may find yourself wondering what you’ve done to anger the Keeper of the Magic Smoke. On the other hand, plenty a gadget has been disabled due to nothing more exotic than a single bad solder joint. In either event, there’s a certain sense of satisfaction when you can return a literal piece of history to working condition.

Ready to put your hardware-reviving skills on display? Just head over to Hackaday.io, make a new project page, and get hacking. But don’t wait too long, you’ve only got until July 24th to enter the Hack it Back Challenge and stake your claim on one of the ten $500 awards up for grabs.

The Secrets Of The Pop Pop Boat

Many kids get an early introduction to mechanics with tin pop-pop boats. If you haven’t played with one – you’re missing out! Pop Pop boats are fun toys – but how they work is often misunderstood. To clear this up, [Steve Mould] takes a deep dive into the theory of operation of the pop pop boat.

Most people think these toys operate like a simple steam engine, with water being flashed into steam inside a tiny tin boiler. Turns out that’s not the case. To explain the physics, [Steve] commissioned a glass version of the boat.

The glass boat shows that during normal operation, there isn’t any water at all in the “boiler” at all. The water is only in the boat’s small exhaust tubes. The air inside the tank is heated by a candle. The air expands and pushes the water out of the tubes. This allows the air to cool, and return to the tank. The water then rushes back up the tubes, and the process repeats.

One of the more interesting facts of the video is that the glass boat doesn’t pop. The popping sound associated with the boat is actually made by the tin diaphragm on top of the “boiler”.

[Steve] has gotten pretty good at explaining complex topics using clear cutaway models. If this tickles your fancy, check out his water computer.

Continue reading “The Secrets Of The Pop Pop Boat”

The circuit, assembled on a purple PCB, with a large capacitor and a sizeable white resistor, wires soldered to holes in the PCB

Protect Your Drivers When The Motor Stalls

[Mark Rehorst] tells us about a tragic incident involving an untimely demise of $200 worth of motor driving hardware, and shares a simple circuit so that we can prevent such tragedies in the future. His Arrakis sand table project has quite a few motors involved, and having forgotten to add limits into the software, he slammed a motor-driven mechanism into a well-fixed part of the table. The back EMF of the motor created a burst of energy, taking out the motor driver, the controller board, and the power supply.

With the postmortem done, he had to prevent this from happening again – preferably, in hardware. Based on a small appnote from Gecko Drives, he designed a simple PCB that shunts the motor with a high-power resistor, as soon as the current starts flowing into a direction it’s not supposed to flow into. He goes in depth about the way that the circuit works and the reasoning behind parts selection, as well as shows an LTSpice simulation and shares the PCB files. This was his first time designing PCBs in KiCad, and we believe he’s done a great job! This worklog is certainly worth reading if you’d like to understand how such circuits work and what goes into building one.

He dubs this a “bank account protection” circuit, and we can absolutely relate. It’s not just CNC tables that need such protections of course – we’ve seen a solution for small hacky makeshift electric vehicles, for instance. A motor’s generative properties aren’t always a problem, however – here’s just one example of a hacker trying to put them to good use.

Continue reading “Protect Your Drivers When The Motor Stalls”

Yes We Have Random Bananas

If you ask a normal person to pick a random number, they’ll usually just blurt out a number. But if you ask a math-savvy person for a random number, you’ll probably get a lecture about how hard it is to pick a truly random number. But if you ask [Valerio Nappi], you might just get a banana.

His post, which is in two parts, details how what computers generate are actually pseudo-random numbers. You can easily make sure that every number has the same probability of selection as any other number. The problem is that you have to start with something — usually called a seed. For the purposes of playing games, for example, you can grab some source of entropy like how many microseconds since a hardware timer last rolled over, the number of input pulses you’ve received from a mouse lately, or how long you had to wait for the enter key to depress after asking the user to press it. But if you know that seed and the algorithm you can perfectly predict what number the computer will generate next so it isn’t truly random.

Continue reading “Yes We Have Random Bananas”

Safety Not Guaranteed: Flying Motorcycle Might Be Coming Soon

According to [Victor Tangermann] over at Futurism, JetPack Aviation is showing a prototype of its P2 Speeder flying motorcycle and it looks both awesome and — to quote Ralph Nader — unsafe at any speed. The prototype can lift 1,000 pounds, travel at up to 500 miles per hour, and cover up to 400 miles. We assume those things are not at the same time, of course.

As you might expect, the thing isn’t FAA-approved yet and we wonder if it ever will be. The company plans remote control flights later this year and, even later, actual piloted flights. You can see more from Mayman Aerospace which is related to JetPack (which, of course, makes jet packs).

Continue reading “Safety Not Guaranteed: Flying Motorcycle Might Be Coming Soon”

Hackaday Links Column Banner

Hackaday Links: June 12, 2022

“Don’t worry, that’ll buff right out.” Alarming news this week as the James Webb Space Telescope team announced that a meteoroid had hit the space observatory’s massive primary mirror. While far from unexpected, the strike on mirror segment C3 (the sixth mirror from the top going clockwise, roughly in the “south southeast” position) that occurred back in late May was larger than any of the simulations or test strikes performed on Earth prior to launch. It was also not part of any known meteoroid storm in the telescope’s orbit; if it had been, controllers would have been able to maneuver the spacecraft to protect the gold-plated beryllium segments. The rogue space rock apparently did enough damage to be noticeable in the data coming back from the telescope and to require adjustment to the position of the mirror segment. While it certainly won’t be the last time this happens, it would have been nice to see one picture from Webb before it started accumulating hits.

Continue reading “Hackaday Links: June 12, 2022”

A Sipeed Tang Nano 9k board on a Thinkpad keyboard, with an LCD panel attached to it

An Open Toolchain For Sipeed Tang Nano FPGAs

[Sevan Janiyan] shares their research on putting an open FPGA toolchain together. Specifically, this is an open toolchain for the Sipeed Nano Tang FPGAs, which are relatively cheap offerings by Sipeed from China. The official toolchain is proprietary and requires you to apply for a license that’s to be renewed every year. There’s a limited educational version you can use more freely, but of course, that’s not necessarily sufficient for comfortable work.

This toolchain relies on the apicula project, an effort to reverse-engineer, reimplement and document the Gowin FPGA bitstream format, as well as the gowin integration for nextpnr (an open tool for FPGA place-and-route). With a combination of yosys, apicula, nextpnr and openFPGAloader, [Sevan] put together a set of commands you can use to build gateware for your Nano Tang FPGAs – without any proprietary limitations blocking your way. They show a basic blinkie demo, and also a demo that successfully operates a parallel LCD connected to the board.

The availability of open toolchains for FPGAs has always been somewhat of a sore point. Wondering about open FPGA toolchains? This Supercon 2019 talk by Tim [Mithro] Ansell will get you up to speed!

We thank [feinfinger (sneezing)] for sharing this with us!