Building A Plasma Piano Ain’t Easy

Electronic arcs can be made to “sing” if you simply modulate them on and off at audible frequencies. We’ve seen it done with single Tesla coils, and even small Tesla choirs, but [Mattias Krantz] took this to extremes by building an entire “plasma piano” using this very technique.

The build relies on ten transformers more typically used in cathode ray tubes. The transformers are capable of generating high enough voltages to create arcs in the air. The transformers are controlled by an Arduino, which modulates the arcs at musical frequencies corresponding to the keys pressed on the piano. Sensing the keys of the piano is achieved with a QRS optical sensor strip designed for performance capture from conventional pianos. For the peak aesthetic, the transformer outputs are connected to the metal hammers of the piano, and the arcs ground out on a metal plate in the back of the piano’s body. This lets arcs fly across the piano’s whole width as its played. Ten transformers are used to enable polyphony, so the piano to play multiple tones at once.

Building the piano was no mean feat for [Mattias], who admitted to having very limited experience with electronics before beginning the build. However, he persevered and got it working, while thankfully avoiding injury from high voltage in the process. This wasn’t easy, as Arduinos would regularly freeze from the noise produced by the arcs and the system would lose all control. However, with some smart software tweaks to the arc control and some insulating panels, [Mattias] was able to get the piano playable quite well with a beautiful chiptune tone.

It bears stating that HV work can be dangerous, and you shouldn’t try it at home without the proper understanding of how to do so safely. If you’re confident though, we’ve featured some great projects in this space before. Video after the break.

Continue reading “Building A Plasma Piano Ain’t Easy”

An image of a Modulex brick (left) next to a LEGO brick right. Both are 4x2 studs, but the Modulex brick is much smaller at 20x10x5 mm vs the LEGO's 32x16x9.6 mm.

Modulex Is LEGO’s Long Lost Cousin

We love LEGO here at Hackaday, but did you know that LEGO spun off a parallel product line made for architectural models called Modulex?

[Peter Dibble] takes us on a deep dive through the history of Modulex, starting with Godtfred Kirk Christiansen needing a better way to model actual buildings after trying to design a house in LEGO. The LEGO brick’s 5:5:6 ratio proved challenging for modeling full-sized projects, so Modulex was conceived around a 1:1:1 ratio 5 mm cube. This change means Modulex is not compatible with LEGO System bricks.

As architectural styles morphed through the mid-20th Century, designs based around blocky shapes became passe, and Modulex pivoted to targeting factory and city planning customers. Products later branched out to include wall charts and Plancopy photocopy-able planners along with reconfigurable signage. Modulex (now ASI) still goes on as one of the biggest signage companies in the world, but discontinued the bricks in 2004. An attempt was made to revive Modulex bricks in 2015, but LEGO Group bought the company that had the rights to the bricks and has no intention of producing Modulex.

For more LEGO hacks, checkout this machine learning LEGO sorter or these giant LEGO-like pieces.

Continue reading “Modulex Is LEGO’s Long Lost Cousin”

Linux Fu: The Shell Forth Programmers Will Love

One of the most powerful features of Unix and Linux is that using traditional command line tools, everything is a stream of bytes. Granted, modern software has blurred this a bit, but at the command line, everything is text with certain loose conventions about what separates fields and records. This lets you do things like take a directory listing, sort it, remove the duplicates, and compare it to another directory listing. But what if the shell understood more data types other than streams? You might argue it would make some things better and some things worse, but you don’t have to guess, you can install cosh, a shell that provides tools to produce and work with structured data types.

The system is written with Rust, so you will need Rust setup to compile it. For most distributions, that’s just a package install (rust-all in Ubuntu-like distros, for example). Once you have it running, you’ll have a few new things to learn compared to other shells you’ve used. Continue reading “Linux Fu: The Shell Forth Programmers Will Love”

With ChatGPT, Game NPCs Get A Lot More Interesting

Not only is AI-driven natural language processing a thing now, but you can even select from a number of different offerings, each optimized for different tasks. It took very little time for [Bloc] to mod a computer game to allow the player to converse naturally with non-player characters (NPCs) by hooking it into ChatGPT, a large language model AI optimized for conversational communication.

If you can look past the painfully-long loading times, even buying grain (7:36) gains a new layer of interactivity.

[Bloc] modified the game Mount & Blade II: Bannerlord to reject traditional dialogue trees and instead accept free-form text inputs, using ChatGPT on the back end to create more natural dialogue interactions with NPCs. This is a refinement of an earlier mod [Bloc] made and shared, so what you see in the video below is quite a bit more than a proof of concept. The NPCs communicate as though they are aware of surrounding events and conditions in the game world, are generally less forthcoming when talking to strangers, and the new system can interact with game mechanics and elements such as money, quests, and hirelings.

Starting around 1:08 into the video, [Bloc] talks to a peasant about some bandits harassing the community, and from there demonstrates hiring some locals and haggling over prices before heading out to deal with the bandits.

The downside is that ChatGPT is currently amazingly popular. As a result, [Bloc]’s mod is stuck using an overloaded service which means some painfully-long load times between each exchange. But if you can look past that, it’s a pretty fascinating demonstration of what’s possible by gluing two systems together with a mod and some clever coding.

Take a few minutes to check out the video, embedded below. And if you’re more of a tabletop gamer? Let us remind you that it might be fun to try replacing your DM with ChatGPT.

Continue reading “With ChatGPT, Game NPCs Get A Lot More Interesting”

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

Keebin’ With Kristina: The One With The Breadboard Macropad

For their first custom, hand-wired keyboard, [terryorchard] aka [70rch] didn’t want to mess with making a total split, and we don’t really blame them. However, as you can see, they ended up with a monoblock split, which aside from being our own personal preference, looks fantastic, and also happened to be what fit on the print bed.

What you’re looking at is a 40% remix of the Alice layout with a columnar stagger. It’s also a bit 6×3 Corne-inspired on the ergonomic front. Brain-wise, it’s got an exposed Elite Pi driving a matrix of Kailh Choc pinks and an EC11 encoder. The encoder scrolls by default, and then becomes a volume knob on the numbers and symbols layer. One super cool thing about this keyboard is the secret third layer, which is unlocked by pressing the rotary encoder. This leads to some home row mods and disables the outside columns, culminating in a test 3×5 with two layers.

Via KBD #112

Continue reading “Keebin’ With Kristina: The One With The Breadboard Macropad”

Developing Warp Drive Might Take Antifreeze

In Star Trek, dilithium crystals — whatever those are — are critical to the operation of a starship’s warp drives. But a Texas professor thinks he can make a baby step towards a warp drive using ethylene glycol, which is commonly found in antifreeze.

While superluminal travel has been regarded as impossible for many years, recent work has suggested ways we might be able to circumvent the light-speed barrier. Unfortunately, all of these mathematical theories require energy and types of matter that we don’t know how to create yet. But [Dr. Chance Glen] believes that by shaping the energy in a specific way through a dielectric, the math can work out so that there’s no exotic negative energy required.

The experiment involves shooting RF energy into an antifreeze container and using a laser interferometer to detect gravity waves.  Of course, that will involve some very sensitive measurements to account for other tiny perturbations that might give false readings. As we’ve seen in the past, that’s a task easier said than done.

Does this make sense? Beats us. Our physics and math are too out of date to make a good guess about how much of this is real and how much is hype. Of course, if he does detect gravity waves, that will get us as close to warp drive as the invention of the telegraph got us to cell phones. Then again, you have to start somewhere.

If you want to know more about the state of rocket engines, including the nascent possibility of warp drives, we’ve discussed that before. Incidentally, if you think the experiment sounds a bit like the the Laser Interferometer Gravitational-wave Observatory (LIGO), you aren’t wrong.

Model Train Delivers Fresh Coffee

Model trains are good fun, though few of them serve any purpose beyond amusement or authentic railway simulation. [ProjectAir] decided to put his model train to practical use by having it deliver fresh espresso, and faced plenty of difficult challenges along the way.

It sounds simple, but the practicalities of the task proved difficult. After all, even a slight wobble is enough to tip a coffee cup off a small train. Automating everything from the railway itself to the kitchen coffee machine was no mean feat either. Plus, the aim was to deliver coffee from a downstairs kitchen up to an upstairs office. This meant finding a way to get the train to climb a steep staircase and to carry the coffee over a 20-meter journey without losing the caffeinated beverage in the process. That required the construction of a fancy train elevator to do the job — an impressive accomplishment on its own.

The final system is a joy to watch. Having a train roll into the upstairs workshop with a fresh brew certainly beats having to go all the way downstairs for a cup. Just don’t think about the fact that moving the coffee machine upstairs might have been a quicker solution.

Continue reading “Model Train Delivers Fresh Coffee”