$20 CNC Machine

$20 CNC Machine
I got inspired for this instructable when I viewed the Easy To Build Stepper Controller

instructable .When I read the instructable I knew I could make a decent looking and functioning cnc machine for under 20 dollars with a recycled twist, Not to mention I did this in under a week.

I expect you to have basic knowledge on power tools and hand tools
and of course this instructable requires you to have a rotary tool such as a dremel.
Even if you don't have knowledge on power tools or hand tools I advise you to try this instructable because you will learn a lot about hand and power tools and you can build this for less then 20 dollars
so if you mess up it's no biggie and it would not cost to much to replace a part.

Let's Build!

Update 02/01/10

{Hi everyone just thought I would give you an update on this instructable since Ive been getting
a lot of emails and messages and such.

I'm getting really close to completing the electronics for the CNC,
as stated in a comment the steppers I found in the printer were bi-polar stepper motors which the circuit
would cost quite a bit more if you went this route. If you were lucky to find some Unipolar stepper motors
then you could build the electronics for under 3 bucks however unipolar motors have less torque. I will be selling CNC kits soon and they will be of better build quality as well as a cheap price tag because I know how it is to be on a budget and not have the tools I need to create simple things and even complex things and this world needs more DIY builders.

The CNC kits will be available roughly 1 to 2 weeks after the electronics Instructable has been released
their will actually be a video showing this CNC working when the electronics Instructable is completed} 

 
Remove these adsRemove these ads by Signing Up
 

Step 1Find recycled material

Find recycled material
Now this is the most enjoyable part of building the cnc machine
which is trying to find garbage that people want to throw away.

Here's what you need to locate

Flat bed scanner

Old printer

These two items are going to have your juicy stepper motors and the
beautiful harden steel rods, that's not the only thing you can get out of these green machines.

You will find gears, bushings, cold cathodes, capacitors, buttons, parallel ports and there is
so much more.

« Previous StepDownload PDFView All StepsNext Step »
150 comments
1-40 of 150next »
Apr 18, 2011. 7:35 PMthecrow117 says:
what software do you use
Jul 2, 2011. 12:16 AMsquiggy2 says:
LinuxCNC is a good open source software that runs on linux
Jan 9, 2012. 6:50 PMlev22 says:
would that software run that step motor ? or would you need something different ?
Jan 22, 2012. 12:19 PMsquiggy2 says:
Haha sprung. I'm in the process of building a cnc myself. From my research those are the two names that come up the most and with the best reviews, but to be honest I've never actually used them XD
From my understanding they take G-code (or a vector drawing and turn it into G-code) and output a signal through a serial port or usb or something?
Can someone who knows stuff confirm this?
Jul 2, 2011. 12:20 AMsquiggy2 says:
Mach3 is also good, but you have to pay for it (you can get a trail version for free)
Jan 1, 2012. 4:21 PMbricabracwizard says:
I would really love to build this but I am waiting on your electronics instructable for this.
Sep 22, 2011. 7:40 PMComputothought says:
Cool. I might try this one.
Aug 18, 2011. 4:36 PMElectronics Man says:
OK I have taken my share of scanners and printers apart, and I know that the stepper motor pictured in step 5 did not come from a printer or a scanner. Where did you get it?
Aug 19, 2011. 6:14 AMElectronics Man says:
WOW thats a huge motor to come out of a printer! I need to find one of those...
Aug 20, 2011. 8:17 PMElectronics Man says:
Well apparently the images are misleading. Even if they are small, they are definately bigger than the ones I pulled out of my printers.
Aug 21, 2011. 4:22 PMElectronics Man says:
Alright...but are those steppers strong enough to work properly? Could you provide the brand and the ratings for them please???
Jul 18, 2011. 11:08 PMprogers1 says:
cant find the link for the wiring, help please, or do i have to be pro member to see it?
Jul 26, 2011. 9:46 AMMdob says:
I believe that he used this (http://www.instructables.com/id/Easy-To-Build-Stepper-Controller-from-a-Recycled-M/) controller. At the top it said that he was inspired by it and it is probably the cheapest stepper controller you can find for unipolar steppers.
Jul 11, 2011. 10:17 PMcommonersbeef says:
this is great! i can finally finish my various projects lol
Jun 14, 2011. 8:26 PMzack247 says:
i have 3 cd drive lens assemblies (EG: the lens shell holder, the rods, the stepper motor and the base)

could i use those to make this?
Jul 2, 2011. 12:09 AMsquiggy2 says:
you just have to check if the stepper motors are uni polar or bipolar. both will work, but they require different circuit boards. other than that I'd be worried if they are strong enough, but hey, worst you can do is try and they break
Jun 12, 2011. 5:58 PMimBobertRobert says:
sorry but im not good with tools. what is a tap and die set?
Jun 12, 2011. 6:08 PMasteidl says:
A tap is a tool used to create screw threads (like on a bolt) on the inside of a hole. A die is a tool used to create threads on the outside of a rod. Often times taps and dies are sold together, along with a handle to turn them. Link: http://en.wikipedia.org/wiki/Tap_and_die
Jun 12, 2011. 6:10 PMimBobertRobert says:
that clears up alot! thanks!
Jun 1, 2011. 8:49 AMtinker234 says:
wow could i upscale it
May 10, 2011. 6:19 PMpfred2 says:
In case anyone is looking for some electronics these are the cheapest assembled stepper motor drivers I've ever seen:

http://www.pololu.com/catalog/product/1201

I'm not affiliated with Pololu just passing along the information.

I've built some for a little cheaper but really for the extra $2 you may save just buy them! OK the ones I made may be a little beefier. But still ...

Video of my homemade $10 stepper motor drivers:

http://www.youtube.com/watch?v=cgbeyNNBZ68

Can't even really see it reversing at 800RPM.

Difficult and time consuming vs. plug it in and go.


May 9, 2011. 3:07 PMLeelaKrishna says:
Where is the electronics istructable?
Apr 27, 2011. 9:01 PMbuilderkidj says:
Wow! pretty cool.
Apr 12, 2011. 10:47 AMcivicbynature says:
Nice project looks really clean. I'm afraid the 20 dollar price tag would be a little closer to 50-70 bucks tho unless we all had a magic scape acrylic genie near by.
Mar 25, 2011. 8:08 AMdaveand5 says:
i think you would be much better off using UMHW for the bearing marterial, its nearly indestructible and can be found as common place as the acrylic, and a bonus is it doesnt get brittle like acrylic.
Jan 8, 2010. 11:16 PMrandhee says:
 What kind of glue?
Mar 6, 2011. 10:55 AMGroszek64 says:
CH2CL2
Obraz 005.jpg
Feb 10, 2011. 4:57 AMmoondoongoo says:
I'm from Argentina... My problem is that acrylic here is so expensive! it's about U$D 130 the board of around 1 m^2
I really like it project, i wanted to do it 1 year ago, but... so much money ¬¬
Feb 15, 2011. 2:48 PMrpicivil2011 says:
For the slides I would suggest that you replace the acrylic parts with UHMW Polyethylene. You may or may not have a supplier near you. But you could get a 1/2in x 3/4in x 1ft piece on mcmaster for USD 2.98, I don't know how much shipping would be but it is a place to start, pricing materials in your area. I would also replace the 5/8"-24 with something smaller like 5/16"-18. Or since you are in the metric world I would suggest a M8 with a Pitch of 1.25 . Of course for this I would buy what ever rod was least expensive down to that diameter, I wouldn't go much smaller though, due to whipping effects.

The 1/2in x 3/4in x 1ft bar is enough to make 12x 3/4in x 1in x 1/2in thk slides (They are smaller but still adequate) plus 3x 3/4in x 1in x 1/2in thk threaded pieces. You could actually thread the UHMW instead of inserting couplers which would have a couple benefits:

1) less backlash (assuming you make a tap using the actual rod that it will slide on)
2) less friction between the threaded rod and the threaded piece, which translates to less torque needed from your steppers, and less racking of the slides.
3) UHMW is softer than the steel rod, the threaded piece will be the one to where, instead of both parts, so when you start to notice a lot of backlash you only need tor replace the one part instead of both. Though because of the super low coefficient of friction for UHMW, it will take a very long time to wear out.

The remaining parts made of acrylic and expanded PVC could be made with MDF. I recognize there will be expansion issues, but it really doesn't matter for a machine this small built with this quality of components. Please let me explain why, before I get flamed.

Please note this only applies to std. all thread, with regular couplers and nuts. General purpose ACME rods and nuts will have much higher tolerances. But unless you salvage them from an old machinem you won't come near $20 for just those components, let alone whole machine. Especially if you use precision ACME rods (Over USD 100 for just the parts for this machine_, yes there is a difference between, all-thread, general purpose ACME, and precision ACME, a difference other than the price.

A) Precision

Odds are the steppers used on this project are going to be 7.5deg per step, or 48 steps/rev, Unipolar or Bipolar motors, probably with only full step mode. Yes, going half step, eighth, 1/16, etc... will improve the precision, but we are pretending that the builder doesn't have the circuitry for such things. As even building your own board from scratch, to handle that functionality will cost a couple dollars each at a minimum, if parts need to be purchased. And as you can see below, fractional stepping won't really help for this machine other than part motion acceleration.

Now with the recommended threaded rod of 5/8"-24, that is equilalent to 24 revs/in * 48 steps/rev = 1152 steps/in which is 1/1152 in/step = 0.000868 in/step or 0.868 mil/step or 0.868 thou/step depending on how you like to think about it, (this is an estimate, I will explain why under the Accuracy header) Now consider that the typical backlash on a plain threaded rod using a regular nut or coupler (from my own experience and measurements) is on the order of atleast 1-10 mil (Making a custom nut, would greatly improve this number). With this in mind our effective precision is now 0.868 +/- 5 mil/step being very generous.

Then factor in that the nut will occasionally stick to the rod, torquing the whole slide mechanism. This will impact precision in that the theoretical distance traveled in this case 0.868 mil/step will in fact be 0 assuming it did not move at all. It is unlikely that it will stick for more than a few steps, but that is still a couple mil precision lost. A low friction nut would help in this case as well. Now we are 0.868 +/- 7 mil/step. Not to mention the pitch along a rod may vary to some degree.

Thrust deflection in the screw/stepper, can also be a major headache. If you have ever pushed or pulled on the spindle of a motor, you will have noticed there is quite a bit of play. This will translate into additional backlash (not technically the correct term, but the motion is similar). This can be eliminated through the use of thrust bearings. Unfortunately this project doesn't include any. The play on average in many of the steppers I have pulled out of printers and scanners is on the order of a 1/16th or 32nd of an inch or 62.5 and 31.25 mil respectively. That is huge. So we are left with 0.686 +/- 35 mil/step.

Does MDF expand yes, I am not going to contest this fact. However, it is _never_ going to expand to such a degree over the course of a single session (barring spilling something on it on it, or generally introducing it to a 100% relative humidity environment) that you will be able to measure an appreciable deformation from start to finish. Next because of how it is formed and used, it is probable that any expansion that does occur will happen proportionately along the x and y axis of the machine. The z dimension (typically the thickness of the base) will expand more but still at an extremely slow rate. MDF if exposed to a 30% to 90% relative humidity environment will expand ~0.3% in length and width, and in thickness up to ~5%. However, this often takes weeks or months to occur. for a 24"x24" piece that ends up being little more that a 1/16th of an inch change over the whole machine.

B) Accuracy

Accuracy on a CNC machine comes down to a few things. The theoretical distance traveled, 0.868 mil/step in this case, vs the actual distance traveled. The squareness or orthogonallity of the axis'. There are other accuracy points but for our purposes they are inconsequential, if I ever get around to writing this whole thing up as an instructable, I'll include them there.

As far as 24 rev/in on the 5/8"-24 rod, you should be skeptical as to that value. Precision ACME rod has a tolerance of +/- 9 mil travel per foot, not to mention the tolerance between each thread. This stuff is extremely expensive in relative terms and is far more accurate. I have seen regular all thread that was nominally 5/16"-18 with 18.1 or 17.9 threads per inch. That works out to be a difference of ~ +/- 66 mil travel per foot. This can be accounted for over the lenght of the whole machine by telling the machine to move a set number of steps then measuring how far it actually went to calculate a steps/in or in/step, Depending on what the cnc program you use. However, there is no easy way to account for the fact that while it may be 18.0 tpi in one area it could be 18.1 in an other area. I have see this happen on a 2 foot section of rod.

Right angles are very important when doing cnc, I'm sure someone could write a program that allowed you to enter the relative angles of your axis' and it would calculate the g-code to account for the skew. But as far as I know functionality for this is almost none existant. Now it seems that the main concern for using MDF is its propensity to expand. Warping on this scale, with a reasonably thick piece of material is for practical purposes non-existant. Now one way to handle this issue is to simply only attach each axis slide assembly on one end and allow the other to be free. You could also have a slot and bolt on the other end that would allow for it to be secured while cutting and when need be it could be adjusted. The Z access is suspended, and can easily be calibrated for each different job (usually it would be anyway), so as long as the 4 legs supporting the top are identical they should in theory have expanded/contracted at the same rate, thuse only lifting and lowering the z axis slides. Any deviation from vertical that occurs is going to be less than the runout of the tool and spindle.

This really belongs under precision but it has components here as well. The finally runout on the tool and spindle assembly, which in this case is the dremel and z axis slide. Because of how the z axis slide is supported. A cantilever beam for any engineers out there. There is a propensity for the whole assembly to deflect/bend. So when the cutter is moving through a piece force is exerted against the arm and it moves.

_Conclusion_

At the end of the day MDF for this type of project should be perfectly acceptable. The only structural parts that wood or mdf couldn't replace is bearings, bushings, and rods. As there is simply too much friction. Yes it will expand, and maybe warp a tad, but it won't happen while you are using it. And if you build your machine with that in mind you should be able to adjust the frames and and slides to acount for it, when the humidity changes. There is always sealing the MDF also which essentially lock your machine to one size within tolerances for motion I listed above.

I hope this is helpful, good luck with your project.
Jan 16, 2011. 2:56 PMnatman says:
i might have missed this some where but how do you connect it to the computer to actually use it???
Jan 9, 2011. 10:12 PMKungFuChicken says:
You mentioned you was selling this as a kit? Is it available now?
Jan 8, 2011. 7:42 AMPizzapie500 says:
What materials can this cut through?
Jan 2, 2011. 10:03 PMZ.K. says:
Where can I get this expanded PVC? I found some at http://www.budgetrobotics.com/shop/?shop=1&cat=103, but the thickest they have is 6mm which is about 1/4". I suppose I could bolt two together and use it that way. I really doubt this will be a $20 project though unless one already has all the materials. Still, this is a very good instructable and gives me some good ideas.
Dec 30, 2010. 4:55 AMGiorgiodeste says:
YOU ARE great ! I don't know if it works, I can't see how it works, BUT let me tell you, this is a GREAT machine, Yes, my personal congratulation for your ideas and for the simplicity you are able to use during the project....you are a great DIY GUY - BRAVO
Congratulation
1-40 of 150next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
130
Followers
1
Author:Techbuilder