Tag Archives: CNC

3040Z CNC Router

Complete 3040Z CNC System

I’ve been fascinated with machine tools and mechatronics for well over a decade, and have been indulging that fascination with a series of little benchtop CNC machines since about 2008, especially since my collection of related degrees lend legitimacy to my desires. Because of my other lifestyle choices I’m more or less restricted to a machine which is small and well-behaved enough to operate in an apartment, is roughly man-portable, and fits in normal vehicles, at least for the time being. Possibly fortunately, this restricts me from going off the deep end and buying a small VMC, or even building out the heavier classes of benchtop machine.

Last year I started to feel like my old V1 Shapeoko (ca. 2012) was not really usable as a machine tool – it was a good toy, and I learned a ton of cool things from it, but it wasn’t stiff enough, reliable enough, or laid out in a way that made it practical to use for much of anything. After I had my Shapeoko on campus for a demo day, my adviser was inspired to buy himself a complete package Chinese 3040 CNC router, and I got a chance to play with that for a few days. I wasn’t terribly impressed with the electronics on it, but the frame proper impressed me enough that I decided I wanted one as an upgrade.

…So near the end of the spring semester, I ordered myself a bare 3040Z frame and a pile of parts to kit it out. The machine is built almost entirely from inexpensive Chinese components, purchased via a mixture of Aliexpress, eBay, and Amazon sellers (I’ve become fond of uxcell for small parts). I don’t have accurate or current price quotes for the whole thing because I bought as I went, and various parts are reused from previous projects. I suspect the total is in the neighborhood of $1200 – comparable to buying a slightly more powerful finished system without the enclosure or limit switches.

It was my intention to write this up in sections as I built it out, but kept opting to play with work on the machine instead of doing more writing – particularly since such a large part of the things I’m supposed to be doing with my time of late are also writing. I finally got the last of the major parts “done” to my satisfaction a few weeks ago, so it’s time to gather the pictures and notes from what should have been half a dozen topic posts and make a gigantic brain-dump.

Continue reading

Posted in Computers, DIY, Electronics, General, Objects | Tagged | 4 Comments

Shapeoko: Part 5

SH6-1
This was originally posted as Shapeoko: Part 6, because I apparently can’t count.

A while ago I ordered a 300W ER-11 DC spindle kit from China to install in my Shapeoko. I finally got to the post office yesterday (stupid recipient-must-be-present shipping) to pick it up, am impressed with the whole process. Most of this post is about the spindle, there is some more belt tensioner tinkering down at the bottom.

Continue reading

Posted in DIY, Electronics, Entertainment, General, Objects | Tagged , | 9 Comments

Shapeoko: Part 4

I got some more time to work on my Shapeoko over the last few days, and now have mostly correct 3-axis motion. As before, details under the fold.

Continue reading

Posted in Computers, DIY, Electronics, Entertainment, General, Objects | Tagged , | 1 Comment

Shapeoko: Part 3

Naturally, this post is a follow-on to Shapeoko: Part 1 and Shapeoko: Part 2. I’ve basically put the machine together now, and can move the X and Z axis around from the host computer, but still have to figure out belt attachments for the Y axis, and run the wiring in a sane way. I was holding up a microswitch to the various relevant spots for end-stops as I went, and everything but detecting the upper extreme of the Z axis should be easy. As in the last two posts, there is an assembly gallery under the fold.

Continue reading

Posted in Computers, DIY, Electronics, General, Objects | Tagged , | Leave a comment

Shapeoko: Part 2

This continues from where I left off in my previous post Shapeoko: Part 1.

I alternated my Sunday afternoon/evening between tackling my grading backlog and building pieces of the Shapeoko. This pattern works well for tapping since they are both exceptionally tedious tasks, but in different ways. Gallery with captions below the fold:
Continue reading

Posted in DIY, Electronics, Entertainment, General, Objects | Tagged , | Leave a comment

Shapeoko: Part 1

My Shapeoko kit arrived from Inventables while I was away at SC.

I’ve been trying to build myself a small CNC milling machine since 2009, and contemplating it for longer than that. It became clear that my original design, however educational, was a dead end sometime last year. I’d been idly watching the Shapeoko project for some time as it had similar aspirations to my design, and a couple months ago I was in a particularly mechanical mood when I saw that a batch had reached enough buyers to be produced, so I bought in for a mechanical kit to mount my existing electronics on.

The Shapeoko community is really excellent, and the kit was designed to be flexible, so I’m starting off with some suggested modifications – I’m using NEMA23 motors instead of the usual NEMA17 on the X and Y axis, because I already had some nice Lin Engineering 130 oz-in NEMA23 motors and the frame can fit them. I’m configuring for dual Y motors, which give more even force across the Y axis, and routing my belts on the outside of the frame, since I needed to buy different hardware for the NEMA23 motors anyway and this particular modification is widely recommended.

There is a gallery to document my first round of assembly below the fold (captions don’t display properly in the RSS feed).
Continue reading

Posted in Announcements, DIY, Electronics, Entertainment, General, Objects | Tagged , | 2 Comments

Drive Nuts

Another bit of progress on the CNC project: Better drive nuts!

The design is attempting to avoid expensive, difficult-to-source, or chicken-and-egg problem machined parts. The biggest issues because of that policy come from the couplers which attach the lead screws to the motors, and the drive nuts which attach the axes to the lead screw. Because my leadscrews are 3/8-16 Unified Coarse thread, there isn’t a “proper” solution to the problem, as any professional mill would be using Acme or Ball threads for the leadscrews. Therefore it has been hobby engineering all the way on those parts.

The current couplers (with which I am becoming ever more unsatisfied; they slip badly on direction reversals) are constructed by seizing a 3/8” coupling nut onto the end of the rod, drilling a 1/4” hole through the rod/nut assembly, and drilling and tapping a hole for a set screw into the side of the nut to grab the flat of the motor shaft. Because the frame won’t accommodate Lovejoy-type couplers (the canonical solution for such things), I suspect the eventual replacements may look something like the nested fuel line couplers this and other similar designs employ. I don’t like the lack of stiffness in those configurations, but things don’t appear to be tightly enough aligned for the inflexible couplers, and the slippage problem will be a show-stopper for actually milling with it.

The old solution for the drive nuts was roughly-bent steel brackets, wrapped around coupling nuts. The theory was that the steel would be springy enough to pull things into alignment, and malliable enough to beat, bend, twist, or otherwise adjust the fit. In actual fact, no amount of adjustment could get them to align perfectly, and the springiness wasn’t enough to prevent them from contributing to the axes walking in their rails. That design was eventually abandoned, and no good alternative came to mind, so one of my collaborators and I performed one of the best techniques for mechanical problem solving; we wandered around a home improvement store until we found parts to make something that would work. The solution? — Pairs of Tee nuts (the kind with screw holes, not tacks), attached together with machine screws (adjusting the tightness of the screws controls the preload, which gives free anti-backlash effects), mounted in blocks of Trex (A plastic/wood fiber composite material), which is cheap, easy to obtain, and works similarly to HDPE (Which is to say, wonderfully. Think soft, forgiving wood with no grain). These seem to be better than the old ones, and (possibly with a bit of shimming) workable for a usable mill.

Check out deez nutz:
Rough-fit Outside the block (that is a bar of Trex stock next to it):
drivenutopen_sm.jpg
and one nut complete and sitting in place:
drivenutcomplete_sm.jpg
There is a fair amount of fiddly fitting and drilling to putting those together, but nothing too awful. The machine screws have been trimmed and the edges of the block dressed a bit with a file after the other one went together, so they look pretty solid. In addition to better nuts, the other good discovery is that I suspect that Trex will make excellent, low cost, easily available material to mill objects without any particular material constraints from once the machine is working, I just wish it didn’t have tacky looking faux-woodgrain molded into the stock.

Posted in DIY, General, Objects, OldBlog | Tagged , | 1 Comment

Stepper Drivers

3492483015_e33027182a.jpg?v=0
I got a set of RepRap Stepper Driver v.2.3 kits to use for my CNC project, and was having no end of trouble with them, but finally had a breakthrough that has two of the three working…and one definitely, definitely dead; the magic smoke escaped from #3. The trick: the SOIC packages were ever so slightly bent in shipping, and I was a little too conservative in the application of solder paste, so some of the contacts around the IC were intermittent. After I finally found it, which was a little difficult because the pressure of a test probe temporarily fixed the problem, all that was needed was punching down a couple pins with a hot soldering iron. With two boards working I’m now in business to finish off the XY table.

Because I’m getting proud of it, a picture of the framing and drive for the XY table in the state it was in the other night.
3493302894_b1f2a8277b.jpg?v=0
All it (just for the table) really needs mechanically now are the bolts attaching the lower lead nut assembly to the middle crossbar, and the table itself to be attached to the rails and lead nut assembly on top (need to pick up some short flathead screws to countersink in for that). To be safe it should probably also have the bearing assembly/leadscrew protector/encoder mount tubes installed where the floating brass nuts are in that picture.
The workspaces in both images are noticeably horribly, horribly messy; both pictures were taken at the end of a couple hours of work, right before cleanup. I (unsurprisingly) tend to keep my workspaces compulsively clean.

Posted in DIY, Electronics, General, OldBlog | Tagged | 1 Comment

CNC Beginnings

The beginnings of my CNC project, in the form of parts for the XY table, and associated tool pile:
XYParts_sm.jpg
The motion capability will be 9” in the X dimension and 6” in the Y direction, the Z axis is on hold until after the semester is over, there just isn’t time to design it in now.
Drives:
Each axis will be driven by a 130 oz-in NEMA23 Stepper (Lin Engineering 5618S-58-01)
The lead screw to run the axis is a 3/8” coarse threaded rod, cut to length
The travel nuts are 1.125” coupling nuts (long, to help with backlash without spending money)
One remaining problem is couplers for attaching the lead screw to the drive shaft, there are lots of options, but they all seem to cost at least $10/axis. I suspect unless something better appears I’ll end up with lovejoy couplings.

From aluminum square tubing (1” OD, .062” walls):
8”x8” (outside) square frame for Y axis
6”x12” (outside) rectangle for X axis
The framing will be assembled with bolts, tabs cut from 90deg angle stock, and a bit of epoxy to make it easier.

The next big fuss is figuring out the driver circuits. The motors are rated for 2A at any practical voltage, and only show about 2.6Ohms/coil of resistance, so its going to require proper current-controlled drivers, which may be expensive.

The thing I’m liking most about this project is that I’m learning a huge amount of practical, hands-on knowledge about metalworking and mechanical devices in a hurry, in a low-investment environment so I can experiment and really get a feel for things. I’m not sure if I’ll ever do much more metalwork, but its a good skill to have.

Posted in Announcements, DIY, Electronics, General, Objects, OldBlog | Tagged | 1 Comment