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”

All-Mechanical Coil Winder Is A Scrap-Bin Delight

If there’s something more tedious than winding coils, we’re not sure what it is — possibly rolling and wrapping coins; that’s really a bother. But luckily, just like there are mechanical ways to count coins, there are tools to make coil production a little less of a chore, but perhaps none that have as much charm as this all-mechanical coil winder.

We’d say that [Ralph (VK3ZZC)]’s amazing invention firmly falls under the “contraption” category, without a hint of the term being used as a pejorative. The rig was based on the MoReCo Coilmaster, a machine that was once commercially available at a fairly steep price, according to [Ralph], and still seems to command a premium even today. Never being able to afford an original, [Ralph] spun up his own from scrap metal and tooling no more sophisticated than a drill press. It’s a riot of brass and steel, with a hand crank that drives the main winding shaft while powering a cam that guides the wire along the long axis of the coil form. Cams can be changed out for different winding patterns, and various chucks adapt to hold different coil forms to the winding shaft.

Continue reading “All-Mechanical Coil Winder Is A Scrap-Bin Delight”

Illustrated Kristina with an IBM Model M keyboard floating between her hands.

Keebin’ With Kristina: The One With The QWERTY Drum Set

What does portability in a keyboard mean to you? For Hackaday’s own [Brian McEvoy], the image evokes that quintessential 80s instrument, the keytar.

But those left-hand keys aren’t just for show — they’re macro keys. It runs on an Adafruit Feather 32u4 Bluefruit, so [Brian] can forego the cord and rock out all over the room.

I love the construction of this keyboard, which you can plainly see from the side. It’s made up of extruded aluminum bars and 2 mm plywood, which is stacked up in layers and separated with little wooden donuts acting as spacers. Unfortunately, [Brian] accidentally made wiring much harder by putting the key switches and the microcontroller on different planes.

Although you could theoretically use any key switches for this build, [Brian] chose my personal and polarizing favorite, browns. If you’re going to use a travel keyboard, you’re probably going to be around people, so blues are probably not the best choice. With browns, you kind of have yourself a middle ground, best-of-both-worlds thing going on. The keycaps are among the best parts of this build, and it seems [Brian] chose them because the legends are on the sides, which makes it much easier to type on while wearing it. Kismet!

Continue reading “Keebin’ With Kristina: The One With The QWERTY Drum Set”

Selectric Typewriter Goes From Trash Can To Linux Terminal

If there’s only lesson to be learned from [alnwlsn]’s conversion of an IBM Selectric typewriter into a serial terminal for Linux, it’s that we’ve been hanging around the wrong garbage cans. Because that’s where he found the donor machine for this project, and it wasn’t even the first one he’s come across in the trash. The best we’ve ever done is a nasty old microwave.

For being a dumpster find, the Selectric II was actually in pretty decent shape. The first couple of minutes of the video after the break show not only the minimal repairs needed to get the typewriter back on its feet, but also a whirlwind tour of the remarkably complex mechanisms that turn keypresses into characters on the page. As it turns out, knowing how the mechanical linkages work is the secret behind converting the Selectric into a teletype, entirely within the original enclosure and with as few modifications to the existing mechanism as possible.

Keypresses are mimicked with a mere thirteen solenoids — six for the “latch interposers” that interface with the famous whiffletree mechanism that converts binary input to a specific character on the typeball, and six more that control thinks like the cycle bail and control keys. The thirteenth solenoid controls an added bell, because every good teletype needs a bell. For sensing the keypresses — this is to be a duplex terminal, after all — [alnwlsn] pulled a page from the Soviet Cold War fieldcraft manual and used opto-interrupters to monitor the positions of the latch interposers as keys are pressed, plus more for the control keys.

The electronics are pretty straightforward — a bunch of MOSFETs to drive the solenoids, plus an AVR microcontroller. The terminal speaks RS-232, as one would expect, and within the limitations of keyboard and character set differences over the 50-odd years since the Selectric was introduced, it works fantastic as a Linux terminal. The back half of the video is loaded with demos, some of which aptly demonstrate why a lot of Unix commands look the way they do, but also some neat hybrid stuff, like a ChatGPT client.

Hats off to [alnwlsn] for tackling a difficult project while maintaining the integrity of the original hardware.

Continue reading “Selectric Typewriter Goes From Trash Can To Linux Terminal”

Solenoid Keyboard Sounds Very Much Like A Typewriter

Mechanical keyboards are muchly adored things. For many of us, they take us back to that loud clickity-clack that was so common before consumer keyboards went to membrane switches. For others, it’s just for the pure joy of the finger-powered symphony. The solenoid edition of the Red Herring keyboard from [Ming-Gih Lam] understands the beauty of this sound intimately. It can be nearly silent if you so desire, or it can clack away with the best of them (via Hackster.io).

It all comes down to the switches used in the design. [Lam] selected the Silent Alpacas from Durock, noted for their quiet operation, particularly when lubricated. You get just a faint slide-and-click noise from the keyboard under regular use.

The joy of the solenoid edition is in, you guessed it, the solenoid. It fires away with every keypress when enabled, creating a sound more akin to a real typewriter than any mechanical keyboard we’ve ever heard. Click-clack fans will love it, while those with sensitive ears will scream at any cube neighbours that dare to buy one and switch it on.

Files are available on Github for the curious. We’ve seen some other great keyboards over the years, like this nifty split-board design. Video after the break.

Continue reading “Solenoid Keyboard Sounds Very Much Like A Typewriter”

Taking Mechanical Keyboard Sounds To The Next Level

When it comes to mechanical keyboards, there’s no end to the amount of customization that can be done. The size and layout of the keyboard is the first thing to figure out, and then switches, keycaps, and then a bunch of other customizations inside the keyboard like the mounting plate and whether or not to add foam strips and other sound- and vibration-deadening features. Of course some prefer to go the other direction with it as well, omitting the foam and installing keys with a more noticeable click, and still others go even further than that by building a separate machine to make their keyboard activity as disruptive as it could possibly be.

This started as a joke among [ac2ev] and some coworkers, who were already teasing about the distinct sound of the mechanical keyboard. This machine, based on a Teensy microcontroller, sits between any USB keyboard and its host computer, intercepting keystrokes and using a small solenoid to tap on a block of wood every time a keystroke is detected. There’s also a bell inside that rings when the enter key is pressed, similar to the return carriage notification for typewriters, and as an additional touch an audio amplifier with attached speaker plays the Mario power-up sound whenever the caps lock key is pressed.

[ac2ev] notes that this could be pushed to the extreme by running a much larger solenoid powered by mains electricity, but since this was more of a proof-of-concept demonstration for some coworkers the smaller solenoid was used instead. The source code for the build can be found on the project’s GitHub page and there’s also a video of this machine in action here as well. Be careful with noisy mechanical keyboards, though, as the sounds the keys produce can sometimes be decoded to determine what the user is typing.

Is This The World’s Largest Dot Matrix Printer?

[RyderCalmDown] was watching a road painting vehicle lay down fresh stripes on the road one day and started thinking about the mechanism that lets it paint stripes in such a precise way. Effectively the system that paints the interspersed lines acts as a dot matrix printer that can only print at a single frequency. With enough of these systems on the same vehicle, and a little bit more fine control of when the solenoids activate and deactivate, [RyderCalmDown] decided to build this device on the back of his truck which can paint words on a roadway as he drives by. (Video, embedded below.)

Of course, he’s not using actual paint for this one; that might be prohibitively expensive and likely violate a few laws. Instead he’s using a water-based system which only leaves temporary lettering on the pavement. To accomplish this he’s rigged up a series of solenoids attached to a hitch-mounted cargo rack. A pump delivers water to each of the solenoids, and a series of relays wired to a Raspberry Pi controls the precise timing needed to make sure the device can print readable letters in much the same way a dot matrix printer works. There’s an algorithm running that converts the inputted text to the pattern needed for the dot matrix, and after a little bit of troubleshooting it’s ready for print.

Even though the printer works fairly well, [RyderCalmDown] had a problem thinking of things to write out on the roadways using this system, but it’s an impressive build based around a unique idea nonetheless. Dot matrix printers, despite being mostly obsolete, have a somewhat vintage aesthetic that plenty of people still find desirable and recreate them in plenty of other ways as well, like this 3D printer that was modified to produce dot matrix artwork.

Continue reading “Is This The World’s Largest Dot Matrix Printer?”