Auto Xylophone Uses Homemade Solenoids

Want to play the xylophone but don’t want to learn how? [Rachad]’s automatic xylophone might be just the ticket. It uses homemade solenoids to play tunes under computer control. Think of it as a player piano but with electromagnetic strikers instead of piano keys. You can hear the instrument in action in the video below.

Since the project required 24 solenoids, [Rachad] decided to build custom ones using coils of wire and nails. We were amused to see a common curling iron used as an alternate way to apply hot glue when building the coils. The other interesting part of the project was the software. He now uses a toolchain to convert MIDI files into a serial output read by the Arduino. Eventually, he wants to train an AI to read sheet music, but that’s down the road, apparently.

Honestly, we were a bit surprised that it sounded pretty good because we understand that the material used to strike the xylophone and the exact position of the strike makes a difference. We doubt any orchestra will be building one of these, but it doesn’t sound bad to us.

The last one of these we saw did have more conventional strikers if you want to compare. Honestly, we might have just bought the solenoids off the shelf but, then again, we don’t make our own relays either.

Continue reading “Auto Xylophone Uses Homemade Solenoids”

Smart Coffee Replaces Espresso Machine Controller With Arduino, Sensors

A common hacker upgrade to an espresso machine is to improve stability and performance with a better temperature controller, but [Schematix]’s Smart Coffee project doesn’t stop there. It entirely replaces the machine’s controller and provides an optional array of improvements for a variety of single-boiler machines (which is most of them).

Smart Coffee isn’t free, it costs 16 NZD (about 10 USD) but there is a free demo version. There is no official support, but there are wiring guides and sources aplenty from which to purchase the various optional parts. It runs on an Arduino MEGA 2560 PRO (or similar microcontroller) and supports a wide array of additional hardware including pressure transducer, water level sensor, flow meter, OLED display, and more.

Modification of one’s espresso machine is a rewarding endeavor, but the Smart Coffee project provides a way for one to get straight to the hacking and function modifying, instead of figuring out the wiring hardware interfacing from scratch.

We’ve seen [Schematix]’s work before with a DIY induction heater which showed off thoughtful design, and it’s clear he takes his coffee at least as seriously. Check out the highly comprehensive overview and installation video for Smart Coffee, embedded just below the page break.

Continue reading “Smart Coffee Replaces Espresso Machine Controller With Arduino, Sensors”

2023 Halloween Hackfest: Treat Trough Of Terror Is Actually Pretty Cute

Even though it seems the worst of COVID has passed, October generally kicks off cold and flu season, so why not continue to pass out Halloween treats in a socially-distanced fashion?

That is, of course the idea behind [Gord Payne]’s Halloween Treat Trough of Terror. Lay a treat at the top of the trough and it will activate the LED strips that follow the treat down to the end, as well as some spooky sounds. The treat in question is detected by an SR-04 ultrasonic distance sensor connected to an Arduino Nano.

All in all this was a highly successful build as far as neighborhood entertainment value goes. Toddlers stared in awe at the blinkenlights, teenagers proclaimed it ‘sick’, and we can only assume that the adults were likely happy to see something aimed at kids that’s not scary.

[Gord] has a nice how-to if you want to build your own, and of course, the Arduino sketch is available. Be sure to check it out in action after the break.

Don’t have room to build a treat slide? Here’s a socially-distanced dispenser that lets them stomp a giant button.

Continue reading “2023 Halloween Hackfest: Treat Trough Of Terror Is Actually Pretty Cute”

That’s Not A Junker… That’s My Generator

If you live somewhere prone to power outages, you might have thought about buying a generator. The problem is that small generators are cheap but — well — small. Big generators are expensive. [Jake von Slatt] had an idea. He has a “yard car” which we thought might be a junk car but, instead, it is an old car he uses to drive around his yard doing tasks. It has a winch and a welder. Now it has a big generator, too. You can follow the project in the three videos found below.

The project started with a scrap generator with a blown motor. Of course, the car has a motor so — in theory — pretty simple. Remove the generator from the motor and graft it to the car’s motor. But the details are what will kill you.

Continue reading “That’s Not A Junker… That’s My Generator”

Kinetic Sculpture Intermittently Lights Up The Night

We absolutely love the impetus of this project, as it definitely sounds like something a Hackaday reader would go through. After finally deciding between a CNC router and a laser cutter, [Eirik Brandal] was planning to “Hello, World” the CNC with something quick and simple, like maybe a few acrylic plates with curves and some electronics. Instead, feature creep took over, “things escalated out of control”, and [Eirik] came up with this intriguing and complicated kinetic sculpture.

As you’ll see in the demo video below, this is a motor-driven sculpture with sound and intermittent light. It has an Arduino Nano Every, two motors, and eight gears with various cog counts to accommodate the project. The light comes from LEDs that are attached to the DIY gears with their legs bent and their little feet sliding around homemade slip rings in order to alight.

But what about the sound? There’s an affixed piezo disk that picks up the gears’ vibrations and chafing, and this gets amplified to augment the acoustic sounds of the sculpture. Be sure to check out the quite satisfying demo video after the break, and stick around for the build video.

Are you as fascinated by kinetic sculptures as we are? Here’s on that uses machine learning in order to bring balance to itself.

Continue reading “Kinetic Sculpture Intermittently Lights Up The Night”

Clock Hack Gives DEC Rainbow A New Lease On Life

In retrocomputing circles, it’s often the case that the weirder and rarer the machine, the more likely it is to attract attention. And machines don’t get much weirder than the DEC Rainbow 100-B, sporting as it does both Z80 and 8088 microprocessors and usable as either a VT100 terminal or as a PC with either CP/M or MS-DOS. But hey — at least it got the plain beige box look right.

Weird or not, all computers have at least a few things in common, a fact which helped [Dr. Joshua Reichard] home in on the problem with a Rainbow that was dead on arrival. After a full recapping — a prudent move given the four decades since the machine was manufactured — the machine failed to show any signs of life. The usual low-hanging diagnostic fruit didn’t provide much help, as both the Z80 and 8088 CPUs seemed to be fine. It was then that [Joshua] decided to look at the heartbeat of the machine — the 24-ish MHz clock shared between the two processors — and found that it was flatlined.

Unwilling to wait for a replacement, [Joshua] cobbled together a temporary clock from an Arduino Uno and an Si5351 clock generator. He connected the output of the card to the main board, whipped up a little code to generate the right frequency, and the nearly departed machine sprang back to life. [Dr. Reichard] characterizes this as a “defibrillation” of the Rainbow, and while one hates to argue with a doctor — OK, that’s a lie; we push back on doctors all the time — we’d say the closer medical analogy is that of fitting a temporary pacemaker while waiting for a suitable donor for a transplant.

This is the second recent appearance of the Rainbow on these pages — [David] over at Usagi Electric has been working on the graphics on his Rainbow lately.

This Arduino Debugger Uses The CH552

One of the things missing from the “classic” Arduino experience is debugging. That’s a shame, too, because the chips used have that capability. However, the latest IDE has the ability to work with external debuggers and if you want to get started with a classic ATMega Arduino, [deqing] shows you how to get started with a cheap CH552 8-bit USB microcontroller board as the debugging dongle.

The CH552 board in question is a good choice, primarily because it is dirt cheap. There are design files on GitHub (and the firmware), but you could probably pull the same trick with any of the available CH552 breakout boards.

Continue reading “This Arduino Debugger Uses The CH552”