Building a Homemade Wire EDM Machine: From CNC Router to Precision Gear Cutting
Introduction: The Unique Appeal of EDM
Electric discharge machining (EDM) is often overshadowed by faster cutting methods such as laser cutting, water jets, or conventional milling. However, EDM holds a distinct advantage—it can cut through any conductive material regardless of hardness, and it does so without introducing mechanical or thermal stress into the workpiece. This makes it indispensable for certain applications, particularly when working with hardened steels or intricate geometries. Best of all, EDM machines are surprisingly accessible for resourceful makers. A prime example is [Inofid], who recently completed a second-generation desktop wire EDM built from off-the-shelf components.

Building a Desktop Wire EDM
The foundation of [Inofid]'s machine is a low-cost desktop CNC router. The spindle was removed, and a water tank was mounted in its workspace. In place of the spindle, a wire-management mechanism was installed. This mechanism continuously winds a tensioned brass wire from one spool, through the cutting zone, and onto a second spool. The wire acts as the electrode, eroding the workpiece through controlled electrical discharges.
Tension Control and Spark Monitoring
A critical aspect of wire EDM is maintaining consistent wire tension. [Inofid]'s system uses two motors: one pulls the wire forward, while the second counteracts slightly to create tension. An Arduino reads a tension sensor and adjusts the motors to keep the tension within a safe range. If the controller detects a wire break, it automatically stops the CNC router to prevent damage.
To avoid short circuits or wire breakage, a current monitor counts the sparks between the wire and workpiece. This data helps predict when the wire is approaching the metal too closely. When the gap becomes too narrow, the machine slows down its feed rate. This closed-loop control ensures stable cutting without damaging the wire or workpiece.

Testing the Machine
For its first test, [Inofid] cut a block of aluminum measuring 5 cm by 3 cm thick. The cut took two hours but produced remarkably clean edges. Eager to improve speed, the builder added a pump and filter to remove sludge from the cutting zone. This simple upgrade significantly reduced debris buildup.
The next challenge was cutting a gear from aluminum, followed by a meshing steel gear. The steel gear required about ten hours of cutting time, yet the final result was accurate and functional. The photos show a well-defined gear profile with minimal burring—a testament to the machine's precision.
The Appeal of DIY EDM
Homemade EDM machines frequently appear in maker circles, especially since the rise of 3D printers. The open-source nature of CNC controllers and the availability of inexpensive linear motion components make it easier than ever to build one. We've even seen EDMs integrated into lathes. [Inofid]'s project demonstrates that with careful attention to wire tension and spark monitoring, a scrappy CNC router can transform into a tool capable of cutting hardened steel.
For those interested in building their own, starting with a simple CNC router is a viable path. The key components—wire spools, tensioning motors, a water tank, and an Arduino for control—are all accessible. As [Inofid] proved, the results can be impressive. If you have a tip for a similar project, let us know—thanks again to [Keith Olson] for bringing this one to our attention.
Related Articles
- Life After the CEO Chair: Joel Spolsky's Sabbatical and New Ventures
- 7 Key Insights from the JetStream 3 Benchmark Overhaul
- AI and Democracy: 7 Key Questions Shaping Our Future
- How to Track and Analyze Internet Disruptions Using Cloudflare Radar: A Q1 2026 Case Study
- Reclaiming the American Dream: A Guide to Building a Future of Fairness and Opportunity
- DJI Osmo 360: The Ultimate 360-Degree Action Camera Guide
- Navigating ASML's Lithography Roadmap: From DUV to Hyper-NA and Beyond — A Comprehensive Guide
- Inside the Courtroom: Musk vs. Altman Trial Heats Up Over OpenAI's Mission