Magic Wand Learns Spells Through Machine Learning And An IMU

Jennifer Wang likes to dress up for cosplay and she’s a Harry Potter fan. Her wizarding skills are technological rather than magical but to the casual observer she’s managed to blur those lines. Having a lot of experience with different sensors, she decided to fuse all of this together to make a magic wand. The wand contains an inertial measurement unit (IMU) so it can detect gestures. Instead of hardcoding everything [Jennifer] used machine learning and presented her results at the Hackaday Superconference. Didn’t make it to Supercon? No worries, you can watch her talk on building IMU-based gesture recognition below, and grab the code from GitHub.

Naturally, we enjoyed seeing the technology parts of her project, and this is a great primer on applying machine learning to sensor data. But what we thought was really insightful was the discussions about the entire design lifecycle. Asking questions to scope the design space such as how much money can you spend, who will use the device, and where you will use it are often things we subconsciously answer but don’t make explicit. Failing to answer these questions at all increases the risk your project will fail or, at least, not be as successful as it could have been.

Continue reading “Magic Wand Learns Spells Through Machine Learning And An IMU”

1970s Lab Equipment Turned Retro Pi Terminal

When it was released, the Beckman Model 421 CRT controller represented the latest and greatest in liquid chromatography technology. Its 12 inch screen would allow the operator to view critical information such as flow rate and concentration, and its integrated keyboard simplified system control. It made liquid chromatography faster and easier, allowing lab technicians to focus on analysis rather than the complexities of operating the equipment.

But none of that matters right now. What matters is that [Igor Afanasyev] found one of these gloriously vintage devices at a local swap meet and decided it deserved a second chance at life. With a Raspberry Pi and a surprising amount of support hardware, he was able to turn this roughly 40 year old piece of scientific equipment into a multipurpose device that does everything from classic gaming to multimedia playback. It’s got a few quirks, but overall this is a gadget that any hacker would love to have kicking around their modern-day lab.

[Igor] explains that the Model 412 is essentially just a dumb terminal with no internal logic, so in theory it should have been possible to just hang the thing on a serial port and be done with it. But unfortunately the display drive board was dead, so a full rebuild was in order. This meant that there’s little left of the original device other than the keyboard and the case itself, but since it isn’t exactly a “vintage computer” in the traditional sense, we think the purists will allow it.

For the display, [Igor] used an LCD he salvaged from an old digital picture frame. It was the right size to fit the opening, and thanks to an unpopulated VGA header on the board, wasn’t too difficult to get connected to the Pi with an HDMI adapter. He also added a hardware VGA scanline generator board so that no matter what the Pi shows it will have that classic old-school look; a fantastic detail we don’t usually see on builds like this.

The keyboard on the Model 412 was more of a control panel than a traditional input device, so not only does it have keycaps which say things like “FLOW RATE” and “WRITE TAPE”, but it has a fairly weird layout. After reverse engineering the somewhat unusual key matrix, he spun up a custom firmware for the Arduino Pro Micro using QMK which would let him use the board on the Pi as a standard USB input device. But rather than replace the keys, [Igor] created a little cheat-sheet overlay that he could put over the board to see what keys translate to which letters. It’s awkward for sure, but we really appreciate that he preserved the unique nature and look of the Model 412.

Like the Heathkit H19 that was brought back to life with an internal Raspberry Pi or the DEC VT100 with a BealeBone inside there’s something about the visual aesthetic and no-nonsense approach of these vintage terminals which continue to make them compelling into the 21st century.

Editing GameCube Memory With A Raspberry Pi

[James] has been working with GameCubes, emulators, and Animal Crossing for a while now, and while emulators are sufficient, he’d like to play on real hardware. This means he needs to write to a GameCube memory card. While there are a few options to do this, they either require a Wii or hardware that hasn’t been made in a decade. The obvious solution to this problem is to reverse engineer the GameCube memory card to read and write the memory with a Raspberry Pi.

There’s an incredible amount of unofficial documentation for every console, and [James] stumbled upon a GC-Forever forum post that describes the electrical signals inside the GameCube memory card. There’s your standard compliment of power and ground pads, along with a DI, DO, CS, Clk, and an INT pin. [James] broke out the magnet wire and soldered up a pin header to these cards. Data was then captured with a Salae logic analyzer, and lo and behold, it looked like a standard SPI protocol.

With the low-level protocol worked out, [James] checked out the Yet Another GameCube Documentation to get the main functions allowed through the SPI bus. The ‘read block’, for instance, starts off with 0x52 and an address offset. A little bit of Python on a Raspberry Pi meant [James] could read and write the entire GameCube memory card. Right now the code is a little rough, but all the work is available should you want to edit your Animal Crossing save with a Raspberry Pi.

This work follows [James]’ earlier work on getting into the debug menu of Animal Crossing, allowing him to add items to his inventory. With this latest advancement, it’s only a matter of time before we plug Raspberry Pis directly into a GameCube.

Yet Another Restomod Of The Greatest Computer Ever

The best computer ever made is nearly thirty years old. The Macintosh SE/30 was the highest-spec original all-in-one Macs, and it had the power of a workstation. It had expansion slots, and you could hang a color monitor off the back. It ran Unix. As such, it’s become the prize of any vintage computer collector, and [Kris] recently completed a restomod on our beige king. It’s a restored Macintosh SE/30, because yes, we need to see more of these.

The restoration began with the case, which over the last thirty years had turned into an orange bromiated mess. This was fixed with RestOBrite, or Retr0Brite, or whatever we’re calling it now. This was just Oxyclean and an off-the-shelf bottle of 3% hydrogen peroxide, left out in the sun for a little bit.

Of course the capacitors had spilled their magic blue smoke over the last three decades, so a few replacements were in order. This is well-trodden territory, but [Kris] also had to replace the SCSI controller chip. Three of the pads for this chip had lifted, but this too is something that can be fixed.

With the restoration work complete, [Kris] turned his attention to doing something with this computer. The spinny hard drive was replaced with a SCSI2SD, currently the best solution to putting SCSI disks into old computers. There are a few more additions, including a Micron Xceed color video adapter, a video card that allows the SE/30 to drive two monitors (internal included) in color.

The current plans are to attach a modem to this SE/30, have it ring into a Raspberry Pi, and surf the web over a very slow connection. There is another option, though: You can get a WiFi adapter for the SE/30, and there’s a System 7 extension to make it work. Yes, we’re living in the future, in the past. It’s awesome.

The Circuit Sculpture Contest

Many artists are inseparably associated with their medium: Vincent Van Gogh had oil paint, Auguste Rodin had bronze, and Banksy has the spraycan and stencil. You have ICs, passives, wire, and solder. So often electronics are hidden away, but not today! We want to see you build electronic circuits that are beautiful in and of themselves.

This is Hackaday’s Circuit Sculpture Contest and we bet you already have everything you need to enter. Leave behind the drab flatland of 2D PCBs and break out into the third dimension! Or break away from the PCB entirely. Our inspiration comes from a few recently featured projects by Mohit Bhoite and by Eirik Brandal that show functional electronic circuits supported by their own wiring:

There’s something beautiful in these works. They take what would be unnoticed traces and bring them to the forefront of the project. The core of the challenge is simple: built a sculpture where an electronic circuit is the main building material (or medium if you prefer the artistic vernacular).

Continue reading “The Circuit Sculpture Contest”

Henry The Hoover Gets A Weapons Upgrade

In this day and age of unprecedented military expenditure, we’re used to seeing weapons upgrades across all manner of war fighting hardware – tanks, helicopters, attack aircraft, you name it. We’re somewhat less accustomed to seeing the same on a domestic appliance. Regardless, we now have Henry the Hoover packing some serious heat.

Originally a mere vacuum cleaner, Henry was given movement through two motors and gearboxes sourced from a children’s ride on vehicle. A tank was created out of copper pipe to store the flammable gas (which appears to be butane, as used in cigarette lighters), and discharge is controlled with a solenoid valve. Ignition is then handled by a pair of electric ignitors fired by relay. It’s all controlled over a standard hobby radio controller, so you can stand at a safe distance while flambeeing your rug.

It’s a dangerous project, but one that is particularly fun when Henry’s dazed and amused countenance is taken into account. But then again, you might like your flamethrowers wrist mounted, instead. Video after the break.

Continue reading “Henry The Hoover Gets A Weapons Upgrade”

Homebrew Battery Discharger

Rechargable batteries are great – they save money and hassle when using portable devices. It’s pretty common to want to recharge a battery, but less common to intentionally discharge one. Regardless, [Pawel Spychalski] is working on a device to do just that – in a controlled fashion, of course.

[Pawel] himself notes that the device isn’t something the average person would necessarily need, but it does have its applications. There are times when working with various battery chemistries that it is desired to have them held at a certain state of charge. Also, such devices can be used to measure the capacity of batteries by timing how long they take to discharge when placed under a given load.

The build is one that takes advantage of the available parts of the modern hacker’s junkbox. An Arduino is used with an N-channel MOSFET to switch a resistive load. That load consists of load resistors designed for automotive use, to allow cars originally designed for filament bulbs to use LED indicator lights without the flash frequency speeding up. The resistors are 10 ohms and rated at 50 W, so they’re just about right for ganging up to discharge small LiPo batteries in a short period of time.

[Pawel] has tested the basic concept, and has things working. Next on the agenda is to find a way to get rid of the excess heat, as the current design has the resistors reaching temperatures of 158 °F (70 °C) in just a few minutes. Use some of that power to drive a fan?

Perhaps you’re working with lead acid batteries, though – in which chase, you might want to consider blasting away the sulphates?