Machining With Electricity Explored in the Hack Chat [Hackaday]

View Article on Hackaday

As a Hackaday reader, it’s safe to assume you’ve got a better than average understanding of electricity. There’s also an excellent chance you’re familiar with machining, and may even have a lathe or old mill in the workshop. But combining the two, and actually machining a piece of metal with electricity, isn’t something that many home gamers can boast first-hand experience with.

Daniel Herrington

Of course, that doesn’t mean there isn’t an interest. To help answer the burning (or at least, sparking) questions from the community, CEO and founder of Voxel Innovations Daniel Herrington stopped by this week’s Hack Chat to talk about the cutting edge of both electric discharge machining (EDM) and the closely related field of electrochemical machining (ECM). While his company uses the technology to produce components at incredible scales, Daniel got his start tinkering in the garage like so many of us, enabling him to provide both a professional and hobbyist prospective on the technologies.

Naturally, the first big question to be addressed was the difference between EDM and ECM. Put simply, electric discharge machining uses high-voltage to literally blast away material from the workpiece. The resulting finish is generally rough, and progress through the material tends to be slow, but it’s relatively simple to implement.

In contrast electrochemical machining could be thought of as a sort of reverse electroplating process, as the material being removed from the workpiece is dissolved and transferred to the cathode — though in practice the flow of pressurized electrolyte keeps it from actually plating the negatively charged tool. ECM is a faster process than EDM and allows for an exceptionally smooth surface finish, but is considerably more challenging from a technical perspective.

Of the two, EDM is easier to achieve in the home shop.

So why use electricity to machine metal instead of traditional tools? Both ECM and EDM have a unique advantage: the tool never actually touches the piece being worked on. This obviously places less stress on the material than cutting, but also means the machine itself doesn’t need to be as mechanically rigid, the motors don’t need to be as strong, etc. The non-contact nature of ECM/EDM is especially compelling for hobbyists, as it means a cheap 3D printer can be repurposed to move the tool over the workpiece.

Unfortunately, hacking a 3D printer to move the tool around is perhaps the only aspect of ECM or EDM that could really be called “easy” from a hobbyist perspective. As Daniel explains, one of the biggest issues is that of tooling. If you’re doing EDM your electrode will be made of something like graphite or brass, which on the plus side isn’t terribly expensive and is fairly easy to work with. Unfortunately, the electrode is consumed during the process, so you’ll need to make a lot of them. As for ECM, the good news is that the cathode doesn’t get worn down while machining like in EDM. On the other hand, it needs to be made of something like stainless steel to survive the chemical processes at play. Producing tools for complex shapes can therefore become very expensive, and only makes sense in commercial applications if you can amortize the cost over many parts.

Of course, if we’re talking about a personal project, maybe you aren’t concerned about the time and effort involved in creating the ECM tooling. In that case, you’re biggest problem is going to be the electrolyte. There’s various specific mixtures used, but generally speaking you’re going to be running your tool through salt water. In fact, Daniel says Voxel usually uses sodium nitrate, which is commonly used for preserving food. There’s nothing inherently dangerous about that, but in practice, the corrosive liquid splashes all over the place as the tool moves around. If that wasn’t bad enough, electrolysis breaks down the salt water into hydrogen and oxygen — a potentially explosive combination. As an added bonus, if you try and do it with standard table salt, you’ll produce poisonous chlorine gas as well.

This homebrew ECM machine, put together by Cooper Zurad, shows incredible promise.

Several attendees in the Chat chimed in with their own stories about trying to wrangle ECM on the desktop, and it doesn’t sound pretty. No matter how you try and seal up the work area, the salt water gets into everything, rusting linear rails and shorting out electronics. All the while, you’ve got to make sure all of the gasses being generated are properly vented. But if you’re willing to put in the effort, the results can be extremely impressive.

The short version of all this is that pulling off EDM or ECM in the home shop is difficult, maybe even a bit dangerous, but certainly not impossible. Whether or not it makes sense to spend time chasing the ability to machine metal with electricity rather than just picking up an old Bridgeport from Craigslist is of course another story. Even in the commercial world, Daniel says the technology really only makes sense when you’re looking to produce thousands or even millions of parts. Of course, turn back the clock 20 years or so, and who could have imagined that hackers and makers would have personal 3D printers and laser cutters? Perhaps in the coming decades, EDM/ECM rigs will be a common a sight at the hackerspace as an Ender 3 is today.

Special thanks to Daniel Herrington for sharing his knowledge about this fascinating technology with the Hackaday community. We were also glad to see others chime in with their own success stories and projects — while there may only be one official host, that doesn’t mean others can’t share their relevant experience with the group. It was a great way to kick off a new year of Hack Chats, and we’re excited to talk with a whole new slate of hosts in 2023. If you’d like to host a Chat of your own, simply fill out the application form and let us know what you’d like to talk about.


The Hack Chat is a weekly online chat session hosted by leading experts from all corners of the hardware hacking universe. It’s a great way for hackers connect in a fun and informal way, but if you can’t make it live, these overview posts as well as the transcripts posted to Hackaday.io make sure you don’t miss out.