Hackaday Links Column Banner

Hackaday Links: January 24, 2021

Code can be beautiful, and good code can be a work of art. As it so happens, artful code can also result in art, if you know what you’re doing. That’s the idea behind Programming Posters, a project that Michael Fields undertook to meld computer graphics with the code behind the images. It starts with a simple C program to generate an image. The program needs to be short enough to fit legibly into the sidebar of an A2 sheet, and as if that weren’t enough of a challenge, Michael constrained himself to the standard C libraries to generate his graphics. A second program formats the code and the image together and prints out a copy suitable for display. We found the combination of code and art beautiful, and the challenge intriguing.

It always warms our hearts when we get positive feedback from the hacker community when something we’ve written has helped advance a project or inspire a build. It’s not often, however, that we learn that Hackaday is required reading. Educators at the Magellan International School in Austin, Texas, recently reached out to Managing Editor Elliot Williams to let him know that all their middle school students are required to read Hackaday as part of their STEM training. Looks like the kids are paying attention to what they read, too, judging by KittyWumpus, their ongoing mechatronics/coding project that’s unbearably adorable. We’re honored to be included in their education, and everyone in the Hackaday community should humbled to realize that we’ve got an amazing platform for inspiring the next generation of hardware hackers.

Hackers seem to fall into two broad categories: those who have built a CNC router, and those who want to build one. For those in the latter camp, the roadblock to starting a CNC build is often “analysis paralysis” — with so many choices to make, it’s hard to know where to start. To ease that pain and get you closer to starting your build, Matt Ferraro has penned a great guide to planning a CNC router build. The encyclopedic guide covers everything from frame material choice to spindle selection and software options. If Matt has a bias toward any particular options it’s hard to find; he lists the pros and cons of everything so you can make up your own mind. Read it at your own risk, though; while it lowers one hurdle to starting a CNC build, it does nothing to address the next one: financing.

Like pretty much every conference last year and probably every one this year, the Open Hardware Summit is going to be virtual. But they’re still looking for speakers for the April conference, and just issued a Call for Proposals. We love it when we see people from the Hackaday community pop up as speakers at conferences like these, so if you’ve got something to say to the open hardware world, get a talk together. Proposals are due by February 11, so get moving.

And finally, everyone will no doubt recall the Boston Dynamics robots that made a splash a few weeks back with their dance floor moves. We loved the video, mainly for the incredible display of robotic agility and control but also for the choice of music. We suppose it was inevitable, though, that someone would object to the Boomer music and replace it with something else, like in the video below, which seems to sum up the feelings of those who dread our future dancing overlords. We regret the need to proffer a Tumblr link, but the Internet is a dark and wild place sometimes, and only the brave survive.

https://commiemartyrshighschool.tumblr.com/post/640760882224414720/i-fixed-the-audio-for-that-boston-dynamics-video

Scratch Building A Supersized CNC Router

Many of us have spent the better part of a year on COVID-19 lockdown, and what do we have to show for it? Bit of progress on the Netflix queue? Maybe a (slightly) cleaned up garage or workshop? Not if you’re [Bob] of Making Stuff fame: he’s spent the last nine months working on a completely custom CNC router big enough to take a whole sheet of plywood.

The build is documented over a series of nearly a dozen YouTube videos, the first of which was put out all the way back in January of 2020. Seeing [Bob] heading to the steel mill to get his frame components with nary a mask in sight is a reminder of just how long he’s been working on this project. He’s also put together a comprehensive Bill of Materials on his website should anyone want to follow in his footsteps. Coming in at only slightly less than $4,000 USD, it’s certainly not a budget build. But then when we’re talking about a machine of this scale, nothing comes cheap.

Every component on this build is heavy-duty.

Even if you don’t build you own version of this router, it’s impossible to watch the build log and not get inspired about the possibilities of such a machine. In the last video we’re even treated to a bit of self-replicating action, as the jumbo CNC cuts out the pieces for its own electronics enclosure.

You can tell from the videos that [Bob] is (rightfully) proud of his creation, and isn’t shy about showing the viewer each and every triumph along the way. Even when things don’t go according to plan, there are lessons to be learned as he explains the problems and how they were ultimately resolved.

Of course, we know a home-built CNC router doesn’t need to cost thousands of dollars or take up as much space as a pool table. The average Hackaday reader probably has no need of a monster like this, and wouldn’t have anywhere to keep it even if they did. But that doesn’t mean we can’t look on with envy as we wait to see what kind of projects [Bob] churns out with such an incredible tool in his arsenal.

Continue reading “Scratch Building A Supersized CNC Router”

Mobile Power From Cordless Tool Batteries

For years, [Michael Davis] has been using a large lead-acid battery to power the electronic components of his custom Dobsonian telescope; but that doesn’t mean he particularly enjoyed it. The battery was heavy, and you always had to be mindful of the wires connecting it to the scope. Looking to improve on the situation somewhat, he decided to build an adapter for Ryobi cordless tool batteries.

[Michael] had already seen similar 3D printed adapters, but decided to make his the traditional way. Well, sort of. He used a CNC router to cut out the distinctive shape required to accept the 18 V lithium-ion battery pack, but the rest was assembled from hardware store parts.

Bent mending plates with nuts and bolts were used to create adjustable contacts, and a spring added to the top ensures that there’s always a bit of tension in the system so it makes a good electrical contact. This setup makes for a very robust connector, and as [Michael] points out, the bolts make a convenient place to attach your wires.

With the logistics of physically connecting to the Ryobi batteries sorted out, the next step was turning that into useful power for the telescope. A stable 12 V is produced by way of a compact DC-DC converter, and a toggle switch and fuse connect it to a pair of automotive-style power sockets. Everything is held inside of a wooden box that’s far smaller and lighter than the lead-acid monster it replaced, meaning it can get mounted directly to the telescope rather than laying on the ground.

If you want to build a similar adapter, the 3D printing route will potentially save you some time and effort. But we have to admit that the heavy-duty connection [Michael] has rigged up here looks quite stout. If you’ve got an application where the battery could be knocked around or vibrated lose, this may be the way to go.

Milling A Custom 6-Pin DIN Connector

When [Charles Ouweland] found himself in need of a DIN connector that had a somewhat unusual pin arrangement, he figured he could fashion his own in less time than it would take to have a replacement shipped to him. In the end it sounds as though it took a lot longer than expected, but given the worldwide situation, we don’t doubt this bespoke connector was still put to work before its eBay counterpart would have arrived.

More importantly, the connector [Charles] produced looks fantastic. If we weren’t told otherwise, we’d have assumed the finished product was commercially produced. Although to be fair, he did have a little help there. The housing and pins themselves were pulled from a sacrificial connector; his primary contribution was the insulating block that holds the pins in their proper position.

So how did he make it? He had considered using a piece of scrap material and just putting the holes in it with a drill press, but he was worried getting the aliment right. Instead, he decided to call his cheap CNC router into service. By routing his design out of copper clad PCB, he was even able to tie the appropriate pins together right in the connector.

Admittedly, we don’t see a lot of hardware that still uses DIN connectors these days. But this tip is certainly worth filing away just in case. You never know when you might find an old piece of hardware that just needs a little TLC to get up and running again. Who knows, you might even find a dumpster full of them.

Given Enough Time, Even A Circle Can Get Complicated

With the weather getting a little nicer, [Michael] thought that running some plant hangers off on his CNC router would be a simple stay-at-home project. After all, you just need to cut a couple circles out of a sheet of plywood…right?

Sure, but [Michael] realized that simply cutting out a ring wasn’t a very efficient approach. Unless you happen to need progressively smaller plant hangers, or maybe a new set of drink coasters, the center disc ends up being wasted material. That might not have been a big deal a few months ago, but when a trip to the Home Depot for more plywood could literally be hazardous to your health, that kind of inefficiency just won’t do.

He reasoned it would be better to break the ring down into sections, which could easily be nested so they fit neatly on a square plywood panel. Of course, now those sections need to be connected to each other in a way that’s strong enough for the ring to hold up the weight of the plant.

So that means extra pieces need to be cut out to serve as braces, and you’ll need to screw it all together, so better add some nuts and bolts to the BOM. You’ll probably want some eye bolts as well, but in a pinch you could just weld washers to the heads of screws like [Michael] did once he ran out of the good stuff.

Some would argue that the time [Michael] spent coming up with this revised design is more valuable than the wood he avoided wasting, which might be true if he was on the job and getting paid hourly. But when it’s a personal project, and quarantine has made sourcing materials difficult, we think it’s a fantastic example of working with what you’ve got on hand.

An Improved Bed And Custom Wasteboard For A CNC Router

[Adam Haile] has been spending some time improving his CNC router and his latest change is a custom wasteboard with improved bed support. Not only does the MDF wasteboard have plenty of threaded inserts to make for easy clamping solutions, but [Adam] replaced the frame underneath the board with a new set of aluminum extrusions to provide better support. Originally, there was only support for the edges of the wasteboard, which allowed the middle to sag. While researching the machine’s specs, he was able to recognize and order the exact extrusions he needed from Misumi and construct an improved bed to go with the new board. Should you wish to make your own version, [Adam] provides all the part numbers and CAD files required.

Embedded below is a video showing the machine drilling the holes, followed by surfacing the entire board so that it is flat. Since the bolt heads are well below the surface of the board, and the threaded inserts for the holes are on the bottom, there’s no worry of the tool hitting anything it shouldn’t during this process.

Continue reading “An Improved Bed And Custom Wasteboard For A CNC Router”

Casting The Bed Of A CNC Machine In Granite

If you’re looking at CNC machines, or machine tools in general, heavier is better. That old drill press or mill made of a few hundred pounds of cast iron isn’t just better because it’s stood the test of time for a hundred years — greater mass equals less vibration. Thanks to modern epoxy resins, we now have a replacement for tons and tons of iron. Epoxy granite, or chips of granite bound together with epoxy resin, is a viable and very good base for CNC machines, mills, and other tools that are served well with a ton of mass. [Joerg Beigang] is building his own CNC router, and he’s building the base out of epoxy granite. Here’s how he’s doing it.

Before you pour epoxy into a mold, you’ll need to figure out how you’re going to attach your ways, linear rails, and ball screws. [Joreg] is bolting these parts to pieces of aluminum he cut on his home made panel saw before carefully drilling and tapping them to accept the linear rails. These aluminum plates were then mounted to the bottom panel of the mold, in this case melamine-coated plywood.

As you would expect, the most intricate part of this build isn’t globbing up a mold with epoxy resin. No, the real trick here is making sure the rails of the CNC are aligned perfectly before the epoxy goes in. This was done by bolting the linear rails to the mold box and checking everything with a dial indicator. Once that was done it was time to pour.

The bed itself is made of 18kg of epoxy granite, with the entire pour done in four batches. The best way to settle a big pour of epoxy granite is through vibration, just like concrete, but it looks as though [Joreg] is getting some good results by tamping it down with a few sticks. You can check out the first part of this build series below.

If we’ve captured your interest, it’s worth reminding you that this isn’t the first epoxy granite CNC machine we’ve featured.

Continue reading “Casting The Bed Of A CNC Machine In Granite”