CNC Build, Day 17 – homefield advantage

I got the CNC machine unpacked and put back together today. I had in my mind that this is one of the last times I am going to be doing this, so I was careful to make sure that the construction was put together the way I wanted it.

That resulted in my taking things apart and putting them back together again a few times.

Of course, I have no Z-axis motor at this point. But the rest of the machine is together, and the Z-axis motor mount is ready and waiting for the new unit to get here.

All the leadscrews are back in, and the X and Y axis motors are hooked up to the G540.

I spent a little time thinking about how I am going to add a switch to the (AC side of) DC power supply. I would like to have a lighted switch, but I don’t have one that I love. So I will be using a non-lighted one for now. It also looks like if I want to build the CNC case out of 3/4″ plywood (rather than some sheet metal), I am going to have to do some pocketing. No biggie, just something to think about. I am thinking about CNCing the case up, but I may end up doing it with the drill press.

Things look pretty sharp. I am almost ready to post a photo.

And of course I am also almost ready to start cutting stuff.

Welcome home, CNC machine. You need a name.

Posted in Electronics, Making, Woodworking | Tagged | Leave a comment

CNC Build, Day 16 – on the road again

Keling has agreed to replace my faulty stepper motor; I just have to send it back with a copy of the invoice.
Gecko has agreed to replace my faulty motor controller (I confirmed that it is just the single axis, and not the motherboard, with the help of a friendly Gecko support person).

I should have done all of this earlier in the week; in theory, I could have had a new motor and a new board sitting on my driveway when we get home. But, I went fishing, spent some time with the family, and generally “was on vacation”, and so it didn’t happen. No big deal.

Now we’re headed back to CA so we can have a weekend to decompress before getting back in the swing. So the CNC machine is being dismantled. I am finding that there are large bits that can stay bolted together for the trip, and in general the packing is going easier than it did last time.

The leadscrews make things a little complicated to pull apart. There is probably a way to make that easier, but I haven’t thought of it yet. Anyway, how many times is the rig going to get pulled apart anyway, right?

While I’m waiting for the returns to all complete, I ordered a spare stepper motor (the G540 comes with a spare controller, of course). It should arrive in CA no later than Thursday next week. Then I will be able to keep on testing while I am waiting for parts. woo.

Posted in Making, Woodworking | Tagged | Leave a comment

CNC Build, Day 15 – first major roadblock

I am pretty sure that I have a blown motor. I did all the troubleshooting that I could, and the failure follows the motor. Also, while trying to diagnose the problem, I am pretty sure that I blew a motor controller, too. ouch. So now the G540 has a dead Y axis, and my CNC machine is down to 2-axis movement (I moved the working Z motor over to Y, so now I can float over the table, but can’t tell the router bit when to come up or down.

Sadness. 🙁

I wrote to the company I bought the motor and controller from; hopefully they will be able to replace the parts.

On the “good news” front, I was able to figure out that I have decently accurate movement in X and Y (Y has the new motor installed). I haven’t pulled out the micrometer or anything, but when I tell it to move 1″, it moves 1″.

BTW, I’m sure there is a “relative” vs “absolute” setting in Mach3. But when I type “G00 X1″ it goes +1” in X. when I tell it “G00 X-1″, it moves back 2″; that is, it moves the X axis to the -1″ position. So to do a 2” square with one corner at (0,0) and the other at (2,2), you would do:
G00 Z0.25
G00 X2
G00 Y2
G00 X0
G00 Y0
G00 Z0

And if I had 3 working motors, I could even do that and would probably produce a decent square right now.
I am so sad.

Posted in Electronics, Making | Tagged | Leave a comment

CNC Build, Day 14 – Troubleshooting begins

I only got a small session on the CNC machine today.
When I left it, both X and Y axes had locked up. I have several suspects, not the least of them being non-linearity of the various bearings and holes, etc.

However, I also knew that I needed to lube the leadscrews, so that was the first order of business. Only a little lube dripped onto the wood parts. I hope this makes the axes run smoother and quieter.

Then I started tearing into the axes themselves. It turns out that the problem in X was that the end of the coupling attached to the leadscrew had come loose. I reattached, and cranked on the setscrews a little more. An aside.

I picked up some Loctite to keep the various screws from rattling loose, and some 8-32×1-1/4″ screws to hold on the router. The screws went in fine, and the longer 8-32 screws can go back to motor mount duty.

The Loctite did not get installed, but it seems that the setscrews on the motor couplings could use some. Back to the show.

I had loosened the X-transmission nut while testing out the axis, and so I didn’t get a full test of the X-axis. But, with the setscrew re-tightened, the X-axis now moves smoothly, at least to the point I tested it.

I moved on to the Y-axis. I pulled the motor and checked the coupling. It is secure. I turned the axis by hand. No problem. Now I am starting to worry. I jogged the motor (disconnected and with no load) manually, and it makes a godawful noise and doesn’t turn much. Yikes. I did a quick check of settings and everything looked OK. I was just about to start tearing into the problem (testing the motor against a different driver, etc) when I had to quit for the day.

I really hope I haven’t done anything destructive to my electronics. 🙁

Posted in Electronics, Making | Tagged | Leave a comment

CNC Build, Day 13, part 2 – First sawdust

I got a chance to install the control software (Mach3) and try out the machine tonight.

It went about as well as I expected.

I got all 3 axes to jog, but I need to tune the step size, because the squares I tried out never came out anything like square.

Also, the Y-axis is very tight and noisy. I will try lubricating the axes tomorrow before my next test.
I kept playing with settings until the motors overheated and I had to shut down.

It was very cool to send G-code and watch the machine do its thing.
Now I just need to figure out how to get it to do the thing I want, and I’ll be all set. 🙂

Posted in Electronics, Making, Woodworking | Tagged | 3 Comments

CNC Build, Day 13 – Finished!

I came to the machine today knowing that I just had a few last pieces to complete before the machine was done.

I drilled the Z-axis motor mounts (no measuring required — I just taped them to an already-complete motor mount), then counterbored the X- and Z-axis motor mounts. Then I installed all 3 motor mounts. I realized as I was installing the Z-axis motor mount that I was going to have to counterbore 2 of the BRA hold down bolts.

While I was doing that, I learned how I *should* have been installing the router gantry all this time — with the Y-leadscrew in, the top of the Z-gantry can be pulled off without the whole thing falling apart. sigh. Things you learn after you need them. 🙂

While I had the BRA off, I decided to throw some washers under the BRA, to tighten up the movement in the Y-axis. That all went back together well. Y-axis is nice and tight now.

Once the motor mounts were installed, I got started installing the motors. Not a problem, those went on fast.

One last thing to do, install the router itself. I knew I was going to have to find screws to bolt it on with. And this is where it’s better to be lucky than good. It turns out that the same screws that are holding on the motors also fit the router! So I removed one bolt from each motor, so that I would have enough to attach the router. And with a little head-scratching, I got the 3 mounting holes and the center hole for the end mill all drilled. The router moutned right up, although I figured out after I had it on that I had blocked the collet wrench because my bolts are too long. Once I replace those with a proper length, that will work like a charm.

With the router installed, I started looking for the next thing to do.

And I stopped dead in my tracks.

X-axis complete, with motor installed.
Y-axis complete, with motor installed.
Z-axis complete, with motor installed.
Router installed.

Machine’s done!

I spent some time hooking up the electronics; 3 motor cables, Gecko, parallel cable, and PC.

And I spent some time cleaning up all the tools and sawdust.

I’m ready to install software and then start cutting!

Posted in Making, Woodworking | Tagged | Leave a comment

CNC Build Day 12 – Final cuts

I borrowed a mouse from my father-in-law, and worked on cleaning up the CNC PC. It didn’t really go all that well, but I do have a working mouse.

I also checked the third critical measurement again, and cut the final 3 pieces of the superstructure, the router bracket, and router gantry bottom. The cuts went pretty quickly. Setting up the drill holes went well, too. I was a little worried about my hand-drilling. But that seems to have gone OK as well. I was getting a lot of chipout on both the saw and drill today. I think I was going too fast.

Once I started trying to put together the router gantry, the troubleshooting began. The first thing I noticed is that I had drilled the BRA hold down holes way too close to the edge of the router gantry sides. The measurement was 1-13/16″ and I cut it to 1-3/16″. sigh. So I set the new holes up and re-drilled. That worked just fine.

Then I noticed how tough it was to get the router gantry installed with the Z-axis in place. I think maybe I’m supposed to do it in a different order. Anyway, I got it in there, but getting the cross dowels into the bottom bracket was very tough.

Once I got everything installed, I realized that I’d cut the pieces too long. It took two iterations of tearing it all apart, setting up a new cut to trim off a small amount of wood, then putting it all back together, before I got to the point where the axis was now too tight. argh.

So I put in some washers to loosen things up a little; I needed to install them on each side before I found the right setup. Then the BRAs were still a little loose, so I installed washers under the BRA. Once that was done, I got everything tightened up one last time, and just like that, the superstructure was all together! w00t!

There are a number of places that need tweaking.
There are a few parts that still need cutting.

On the todo list:
– drill the Z-axis transmission holes and install the Z-axis transmission nut
– measure and drill the Z-axis motor mounts
– counterbore the X-axis motor mounts
– cut the Z-axis rail to length
– cut the X-axis rail to length
– mount the router and cut the router hole

At that point, I think that the “wood” part is done. I’m sure I’m forgetting some small tweaks, but at that point, this becomes an electronics project. With one good afternoon of work, I should be able to get there.

Already on the PC todo list:
– save off anything that needs to be archived
– install the CNC software
– test the motor cables
– install motors

If all goes well, I should be able to attempt some sawdust tomorrow or the day after.

Posted in Making, Woodworking | Tagged | Leave a comment

CNC Build, Day 11 – back in the saddle

I got a good solid evening in today.

I decided to drill the holes to attach the Y-axis rail, because it was bothering me. That was pretty easy, although I busted a 1/8″ drill bit. Probably needed a new one of those anyway. Both the holes in the table and the holes in the angle went fine, and everything lined up without much drama at all. Oh, I installed one set of cross-dowels backwards. oh well. I’ll pop those around at some point.

Once the rails were on, I could concentrate on the Big Problem, boring out the holes for the Y-transmission nut (which are cut in the Z-gantry bottom, naturally). I decided to do it by running a drill bit through the axis bearing, and pressing the piece up against the end stops. That worked fine. The Y-leadscrew went in fine, without rubbing on anything. nice. The Y-transmission nut took a little work, mostly to get the hold-down bolts in place with the minimal room I had left (and without uninstalling too much stuff). Once that was done, I hooked up a drill to the Y-screw and had fun running the Z-gantry back and forth. Cool!

I decided to get the X-transmission nut installed, too. A short digression on my WA workspace.

I am trying to stay as low-profile as possible, since this is Not My Shop. So I brought as many of my own tools as I could, and cleared out my own space in my father-in-law’s shop. I did borrow a couple of sawhorses to set up the rig on, but if you can imagine trying to balance a 3/4″ piece of plywood edge-on atop a sawhorse, and then do another one 4′ away at the same time, well, you get an idea of what I’m dealing with. I look forward to getting this thing back on the table at home. In addition, the space I cleared out is large enough for the machine, but only barely. It has about 1′ of room on the machine’s right, about 2′ of space on the left, about 6″ of space (or less) in front, and a decent amount of space (3′ or so) to the rear. It’s a tight fit, and there is not a lot of room for a person to maneuver around the machine, so every move takes a little forethought.

I appreciate my father-in-law’s generosity, letting me take up a decent sized chunk of floor space in his shop. I’m just saying that it’s a scramble, OK? Back to the show.

I decided to install the X-transmission nut in the same way as the Y, run the gantry all the way to one end, mark the spot through the bearing (I tried directly drilling; between the end stop on the rails, and the transmission nut being centered in the Y-gantry bottom, my bit wasn’t long enough. Workarounds. So I put down a pencil mark, ran the gantry back out, and drilled the hole. I was doing a 3/4″ hole because the 5/8″ hole had been giving me problems in Y, in retrospect, 5/8″ would probably have worked just fine here. No biggie. The nut went in fine, I needed to throw some washers on the hold-down bolts, a fine idea that I will probably implement in Y at some point. I used the drill to run the axis back and forth, and marveled at my working X-axis!

I installed the fully-complete motor mounts on the Y-axis. I temporarily installed the almost-complete motor mounts on the X-axis (they need counterbored holes for the motor mount screws).

I installed the rails on the Z-axis (they are held on by friction). I have decided the the bottom Z-gantry side is OK at its current width, although it will be a tight squeeze. I may still cut it down a little while I’m cutting out the final pieces.

At this point, I have a 99% complete X-axis and a complete Y-axis. The Y-axis simply awaits the motor to be installed. The X-axis needs holes counterbored for same.

I suppose I could have done the counterboring, but I decided to hold off.

Instead, I moved on to the PC, intending to clean it up a little and get the software installed, so I could test out the new cables I built the night before last.

After wiggling the table a little to see if it would support the PC (seemed promising), I got the PC hooked up and turned on, and that’s when I found out that my mouse is dead. sigh. The PC also needs to be wiped. It was complaining about low disk space, and it’s generally unhappy. I spent some time deleting stuff, and finding all my old junk on the machine, seeing if there is anything worth salvaging. There is some stuff, so I will continue my testing while I’m in WA, then save off all the stuff I want to keep once I get back to CA. Actually, I could probably blow away a memory card and fill one up (a 32GB card would pretty much get anything off of the 80GB HDD I wanted). We’ll see how that goes. I got myself about 8GB, then gave up in frustration when the mouse really wasn’t going to work.

I tried the mouse out on my Macbook and it’s really dead. sigh. I knew I should have brought one of the wireless mouses.

Topping the todo list:
– counterbore the motor mount holes in X (that will complete X)
– cut the router gantry pieces
– drill the Z-motor mounts (including counterbores)
– cut the Z-axis screw to final length (keep the “good” end)
– install motors
– borrow usable mouse
– archive PC files to memory card (archive memory card files to Macbook first)
– install CNC software on PC
– test cables
– install router

The end of the build is getting really close. I can taste it.

Posted in Making, Woodworking | Tagged | Leave a comment

CNC Build, Day 10 – Things you can get done when you can’t get anything done

I spent the past couple of days driving up to WA for summer vacation. I packed the CNC machine in the trailer; it takes up a little less room than a telescope imaging rig.

Everything seems to have made it through the trip in working order, although there are a few scrapes here and there. The mouse, which I am sure that I tested as working before I left CA, is DOA, so I will have to borrow a mouse. Let me take this opportunity to say that I hate the fact that I have to drive this machine with a desktop PC. There is no reason (other than laziness / luddite) not to switch to USB. Yes, USB might have problems keeping up with the pulse rate. But that can be designed around. Come on, people. Figure it out.

Anyway, back to the PC later.

First night in WA, I unpacked the trailer, got everything stacked up inside my father-in-law’s shop, and while trying to figure out what I could work on, I hit upon the idea of building out the RJ45-to-DB9 connectors that I will need for the Gecko-to-motor connections.

I ohm-ed out the connectors, and found that a sane person created them, since the same color wires go to the same pins for both female and male. I decided to hook them up such that the power transmission wires were at the edges of the CAT5 cable (pins 1/2 and 7/8), and the current-limiting-resistor connections were right in the middle (pins 4/5), so there is a pin between the resistor and either power pair, and the power pairs are separated. I have no idea if this will make a difference, but it made me feel better.

I put together all 3 male and all 3 female ends, and that was about it for the night.

Once the sun came up, I did a little sorting. I cleared out a space big enough to work in the shop, and moved the parts pile to their new spot. There’s no power on that side of the shop, so I installed my extension cord (following the perimeter of the shop where I could, to reduce the possibility of someone tripping).

With Anthony’s help, I got the Y-gantry reinstalled on the X-table. It’s one of those jobs that could be done by one person, but is a lot easier with 2.

I thought about putting together an Arduino sketch to make the stepper motors produce music, but I couldn’t get it all together. I got as far as learning that there is a tone() function on the Arduino, and hooking up the piezo speaker to play a little song. But trying to convert it to stepper commands was giving the The Headache, so I moved on.

Not a lot of actual sawdust-making today, but a successful road trip is usually its own reward.

Posted in Electronics, Making, Woodworking | Leave a comment

CNC Build, Day 9 – under the gun

I realized last night that if I got the “wood parts” of the CNC machine up and running, I would still need to have the “electronic” parts working.

I also realized that I am essentially out of time before the road trip.

So today was a bit of a mad rush, trying to confirm that enough things were working properly that I could pack it all up and take it on the road and finish it while I’m on vacation.

I attached the included DB9 connector to one of the motors, hooked it up to the Gecko, fired up the power supply, and downloaded Mach3 on my laptop. If that sounds like a lot of stuff crammed into one sentence, you can start to get the idea of how my mind is going today.

I wrote out my first G-code, G00 Z1, and did a little dance of joy when the motor started moving. No magic smoke seems to have escaped from anything. The laptop was missing steps, though. I am beginning to understand why everyone says “only use a desktop”.

I also cut out the Z-table and the Z-gantry bottoms (which hold the Y-axis transmission nut). I chamfered the edges of the Z-table. Had to bust out the router table for that. I decided that I was going to narrow the Z axis by 1″ to better fit the small router I’m using. It will give me a slightly wider usable cutting area.

I also cut the Z-axis rails, and once I did that, I was able to take the third critical measurement, the width of the Z-axis (which determines the width of the router axis parts). It’s 5-1/16″. I’m ready to cut the last pieces!

I went to Fry’s to get parts for DB9 cables. I bought the wrong stuff (stupid RJ11 vs RJ45 — grr) and have to go back tomorrow.

I soldered on the DB9s to all 3 motors.

I came out with the intent of making the final cuts, but decided to construct the Z-gantry first. So I drilled the new parts, and started installing them. That took a bit, until I got the hang of it; if you don’t do it right, it’s impossible to get a screwdriver where you need it.

With the Z-gantry moving back and forth, I decided to try test-fitting the leadscrew.

And that’s where the night went from “construction” to “troubleshooting”. The Y-transmission nut did not line up with the Y-gantry sides. Ouch. I played with it some (this requires a lot of taking everything apart and putting it back together), and determined that either the Z-gantry sides (the infamous parts C&D) were incorrect, or the Z-gantry bottom (parts A&B) were incorrect. One way or another, stuff needs to be re-drilled to make the axis fit.

(an aside, as I’m writing this I had an epiphany and realized that I can drill the hole wider and just put the hold-down nuts in a vertical instead of horizontal configuration. voila.)

I still need to drill the Y-axis rails, too. Things would have gone a little faster if I didn’t have to fight the bottom rail coming off all the time.

The Z-gantry parts are a little too long I think. But I won’t be sure until I get the rail attached. I can either shim (like I did in X), or cut a very small slice off of the parts. I haven’t decided what to do yet.

Anyway, I realized that I’m not going to finish on time. If everything went together exactly right, I would have a working machine (since all the parts are there). But I certainly didn’t figure troubleshooting time into the equation. No big deal, I just have to finish up while I’m on vacation.

Now I have to figure out how to get this stuff all packed up.

Topping the todo list:
– drill the Y-axis rails and attach them permanently.
– re-drill the Y-axis transmission nut holes slightly larger (not too big; the nut shouldn’t fall through)
– cut the last pieces
– cut the X-axis leadscrew
– cut the Z-axis leadscrew
– download Mach3, CamBam, and FreeMill(?)
– wipe the CNC computer

To pack:
– wood parts
– rails for all 3 axes (Y and Z are not attached)
– motors/gecko/power supply
– DB9 parts / ethernet cable / ohmmeter
– drill?
– drill bits
– screwdriver set
– the book
– the dvd
– the plans
– the mac
– couplings / bearings
– 3 leadscrews
– nuts/bolts (including the extra stuff — all the 1/4-20 in the house)
– square / pencil / tape measure

Tomorrow we pack. Friday we drive.

Posted in Electronics, Making, Woodworking | Tagged | Leave a comment