Transform Kicad Design To Patchwork For Isolation Routing

Tuning a desktop router and your board designs for isolation routing can be a bit tricky, with thin traces usually being the first victim. For simple prototype boards you usually don’t need tightly packed traces, you just want to isolate the nets. To do this with a minimum amount of routing, [Michael Schembri] created kicad-laser-min, a command-line utility that takes a Kicad PCB design and expands all the tracks and pads to their maximum possible width.

Laser scribed PCB with maximum track widths

The software takes one layer of the PCB layout, converts it to black and white, and then runs a C++ Voronoi algorithm on it to dilate each track and pad until it meets another expanding region. Each region is colourised, and OpenCV edge detection is used to produce the contours that need to be milled or etched. A contour following algorithm is then used to create the G-code. The header image shows the output of each step.

Full source code is available on GitHub. [Michael] has had good results with his own boards, which are scribed using a laser cutter before etching, but welcomes testing and feedback from other users. He has found that OpenCV doesn’t always completely close all the contours, but the gaps are usually smaller than the engraving width of his laser, so no shorts are created.

This is basically “Scribble style” prototyping with CAD and CNC tools. If you prefer scribe and etch, you might consider building a simple PCB shaker for faster etching. If you have a router but want to avoid the dust, you can use a carbide scribe to scratch out the tracks without needing to etch.

The Mother(board) Of All CNC Controllers

If you’re building a CNC machine from scratch, the number of decisions you have to make is nearly boundless. Metal or wood construction? Welded or bolted? Timing belts or lead screws? And even once the mechanical bits are sorted, you still face a universe of choices in terms of control electronics. That’s where something like this modular CNC controller could really prove to be a game-changer.

The idea behind [Barton Dring]’s latest creation started with his port of GRBL to the ESP32. In fact, the current controller bears a strong family resemblance to his version 1.0 dev board, with a few conspicuous and intriguing additions. First, everything is modular — the main PCB is basically a motherboard with little more than a 5-volt power supply and some housekeeping electronics, plus a lot of headers. There’s support for up to six channels of steppers, either directly on the board with Pololu-style modules or as external drivers using pluggable screw terminal blocks. There’s also room for five IO modules; the current collection of modules includes a four-channel switch input, a relay output, an RS-485 module and a 0-10-V interface for talking to a variable frequency drive (VFD) spindle controllers, and buffered 5-V output module. The best part is that the IO module spec is completely open, so designing custom modules should be a snap.

The video below gives a quick tour of the controller. We’re really impressed with the thought that went into this, and we’ll venture a guess that having something like this available is going to kickstart a lot of stalled CNC machine projects. We can think of one shop that finally lost its last excuse for making the move.

Continue reading “The Mother(board) Of All CNC Controllers”

Interactive CNC Foam Cutter Churns Out Abstract Art

Foam is certainly an indispensable raw material for various craft and construction projects. Any serious sculptor however, inevitably grows tired of grinding through a foam block using a simple preheated utensil. The next step up, is to assemble a simple but thoroughly effective hot wire cutting contraption, formed out of a thin guitar wire held taut on a “C” shaped mounting frame. Finally, the addition of some electronics to regulate the power delivery makes this simple tool useful for most settings.

[Freddie] has taken this basic idea a step further, by building a complete multi-axis CNC foam cutter intended as an interactive exhibit on computational art. The CNC has the traditional three Cartesian axes but the platform hosting the foam piece can also rotate, introducing an additional degree of freedom. As this is indented to be controlled by attendees, there is no G-code in the mix, rather the inputs of an Xbox controller are applied directly to the work piece.

What is very interesting is how the resulting tool path is visualised and displayed. [Freddie] explains that while the user input tool path could be generated and displayed as equivalent G-code, it does not capture and convey the inherent organic nature of the finished pieces. The solution [Freddie] came up with is to display the toolpath much like a series of musical notes!

We would have loved to have a go at this machine in person, but seeing that isn’t possible in the current circumstances, you can either build a simpler machine we featured earlier or [Freddie] could perhaps fire up a camera and let us control it via the interweb, with a live video feed ofcourse!

Continue reading “Interactive CNC Foam Cutter Churns Out Abstract Art”

Hackaday Made Me Buy It!

Reading Hackaday is great! You get so many useful tips from watching other people work, it’s truly changed nearly everything about the way I hack, especially considering that I’ve been reading Hackaday for the past 15 years. Ideas, freely shared among peers, are the best of the free and open-source hardware community. But there’s a dark downside: I’m going CNC mill shopping.

It all started with [Robin]’s excellent video and website tutorial on his particular PCB DIY procedures. You see, I love making PCBs at home, because I’m unafraid of chemistry, practiced with a rolling pin and iron, and super-duper impatient. If I can get a board done today, I’m not waiting a week, even if that means an hour of work on my part.

Among other things, he’s got this great technique with a scriber pen and a cleverly designed registration base that make it easy for him to do nearly perfectly aligned two-sided boards with a resolution approaching etching. The ability to make easy double-sided boards, with holes drilled, makes milling attractive, but the low resolution of v-cutter milled boards has been the show-stopper for me. If that’s gone, maybe it’s time to take a serious look.

And heck, making PCBs is really just the tip of the iceberg for what I’d want to do with a CNC mill. Currently, I do dodgy metalworking with an x-y table and a drill press, some of which may someday land me in the hospital. But if I had a mill, I’d be doing all sorts of funny wood joinery and who knows what else. I lack experience with a mill, but coincidentally, we just had a Hack Chat on Linux for machine tools this week. You see? It’s all conspiring against me.

The only question left is what I should get. I’m looking at the ballscrew 3040 range of CNCs, and maybe upgrading the spindle. I’d like to mill up to aluminum, but don’t really need steel. What do you think?

Making PCBs The Easy Way

Building a PCB at home can be fraught. If you’re etching, there are chemicals and the nuances of toner transfer. If you’re milling, getting the surface height just right, and not breaking those pointy little v-cutters is always a challenge. [Robin] has tips for both of these cases, and solves a lot of the common hassles by using a milling machine.

Whether he’s scraping away etch resist or entire copper isolation lines, [Robin] uses a non-spinning scratching tool instead of a v-bit: they’re more robust and cut every bit as well. He’s got tips for using FlatCam and KiCAD to make scratched-out traces. His registration system allows him to get double-sided boards with a minimum of hassle. And as a bonus, he’s doing some experimentation with embedding SMT parts inside the boards as well. Be sure that you check out his whole guide, or just watch the video embedded below.

We’re pretty sure you’ll pick up a trick or two, and maybe you’ll be convinced to bite the bullet and invest in a nice mill. If you’d like a more traditional take on PCB milling, try out our own [Adil Malik]’s guide.

Continue reading “Making PCBs The Easy Way”

Turning A Waterjet Cutter Into A Wood Lathe, For No Reason

On the shortlist of dream tools for most metalworkers is a waterjet cutter, a CNC tool that uses insanely high-pressure water mixed with abrasive grit to blast sheet metal into intricate shapes. On exactly nobody’s list is this attachment that turns a waterjet cutter into a lathe, and with good reason, as we’ll see.

This one comes to us by way of the Waterjet Channel, because of course there’s a channel dedicated to waterjet cutting. The idea is a riff on fixtures that allow a waterjet cutter (or a plasma cutter) to be used on tubes and other round stock. This fixture was thrown together from scrap and uses an electric drill to rotate a wood blank between centers on the bed of the waterjet, with the goal of carving a baseball bat by rotating the blank while the waterjet carves out the profile.

The first attempt, using an entirely inappropriate but easily cut blank of cedar, wasn’t great. The force of the water hitting the wood was enough to stall the drill; the remedy was to hog out as much material as possible from the blank before spinning up for the finish cut. That worked well enough to commit to an ash bat blank, which was much harder to cut but still worked well enough to make a decent bat.

Of course it makes zero sense to use a machine tool costing multiple hundreds of thousands of dollars to machine baseball bats, but it was a fun exercise. And it only shows how far we’ve come with lathes since the 18th-century frontier’s foot-powered version of the Queen of the Machine Shop.

Continue reading “Turning A Waterjet Cutter Into A Wood Lathe, For No Reason”

Milling Dies And Injection Moulding Some Acrylic Lenses

[Zach] over at his channel Breaking Taps has put up an extraordinary account on manufacturing some homemade acrylic lenses. In the end, not only does he produce some beautiful concave lenses, he also covers the complete manufacturing process, from milling the aluminium die used for injection moulding to tweaking the parameters associated with injecting the actual acrylic, he even goes over the limitations of optics produced in this fashion.

What caught our eye in particular, was how [Zach] used the finished product to practically demonstrate photoelasticity originating from the stress induced by the moulding process. You might be familiar with describing the optical properties of a material by a single number, i.e its permittivity. But what happens if in addition to altering speed, the material also alters the polarisation and direction of light depending on the stress distribution within the material? Whilst a quantitative answer gets a bit complicated you can check out [Zach’s] additional videos to visualise the answer in a pretty and colourful way, without resorting to fancy computer simulations! If however, you really want to persist with the simulation route, check out our article on stress analysis in a totally different setting using Finite Element Analysis.

Continue reading “Milling Dies And Injection Moulding Some Acrylic Lenses”