RSS Feed for This PostCurrent Article

Build your own CNC Machine

Complete Machine.

NOTE: I am currently trying to sell the CNC that is in this article, If you are interested please contact me at Max@9xnet.com.  Thanks for all your continued support!

Building your own CNC Router can be a fun and exciting project. CNC stands for Computer Numeral Control and is used to cut designs that were created in a computer CAD program.

This article will walk you though all the steps in planning, choosing the parts, building and using your DIY CNC.

Computer aided design, or CAD, has always interested me but up until recently I haven’t needed to manufacture parts requiring CAD, , and finding out how much companies charge to mill parts, I decided I would make my own machine to do the job.

My main goals were to be able to cut plastic, wood, and soft aluminum keeping the cost under $750 USD.

To date I have spent around $1041 on the build out of the CNC.

The first step in the DIY CNC is to decide on what plans you are going to use for the build. Will you have a fixed gantry or moving gantry? Are you going to make it out of wood, plastic or metal? What controller board and steppers are you going to chose?

Here is a list of exactly what I ordered for my build:

  • 1 Hobby CNC Controller, Steppers kit HCNCPROPKG Hobbycnc.com
  • 3 Flexible Spider Shaft Coupling Hub, 1/4″ Bore, 1-23/64″ Od 6408K121 McMaster.com
  • 3 Flexible Spider Shaft Coupling Hub, 1/2″ Bore, 1-23/64″ Od 6408K712 McMaster.com
  • 3 Buna-N Spider For 1-23/64″ Outside Diameter, Flexible Spider Shaft Coupling Hub 6408K73 McMaster.com
  • 12 Black-Oxide Steel Set Screw Shaft Collar, 1/2″ Bore, 1″ Outside Diameter, 7/16″ Width 9414T11 McMaster.com
  • 6 Steel Ball BEARING–ABEC-1, Dbl Sealed, No. R8 For 1/2″ Shaft Dia, 1-1/8″ Od 60355
    K36 McMaster.com
  • 3 1/2″-10 Acme Size, 10 Tpi, Standard Nut For, Precision Modified-Acme Threaded Rod 6350K41 McMaster.com
  • 2 1018 Carbon Steel Precision Acme Threaded Rod, 1/2″-10 Acme Size, 10 Turns/Inch, 6′L, Rh Thread 99030A105 McMaster.com
  • 3 12L14 Carbon Steel Tight-Tolerance Rod, 3/4″ Diameter, 6′ Length 5227T28 McMaster.com
  • 12 Sae 841 Bronze Sleeve Bearing, For 3/4″ Shaft Diameter, 7/8″ Od, 1-1/2″ Length 6391K207 McMaster.com
  • 1 ¾” MDF 4′ x 8 ‘ Sheet Home Depot
  • 1 Project box for controller Radio Shack
  • 1 Transformer 115 VAC to 24 VAC 10A F-401U alliedelec.com
  • 1 Rockliff CNC router plans rockcliffmachine.com

One thing that I did for this build is to order everything at the same time so I am not held back by delayed shipping or other problems that could delay the building process.

Here is a photo showing all the parts needed to get started, the only thing not shown is the threaded rods.

All the parts laid out getting ready for assembly.

The first thing assembled was the stepper motor driver kit. It comes in a bag with what at first glance looks a little scary with all the components just scattered in the bag, but after opening it up you discover that HobbyCNC has written a wonderful manual explaining each and every step in building the driver kit.

Stepper Driver kit, it comes in pieces and requires lots of soldering.

There are a few parts that need to be soldered in place to achieve the right orientation, otherwise they wont work. I made that mistake once and had to de-solder the part and flip it around! You want to follow the manual exactly how its written as there are a few tests that you need to perform before you install the last 3 chips.

Here is my 3 Axis driver kit fully assembled.

All soldered together and ready to test.

I reviewed a number of the many CNC router plans. I needed to take into consideration difficulty of building, cost, time to build it, and what materials it used.

For this build I went with the Rockcliff CNC router plan. It features and fixed gantry 5″ for the z axis and 18″ x 18″ for the x and y axis. There design is fairly simple and easy to understand. I built mine out of MDF. I took the plans to Kinko’s and got them printed at full scale 1″ = 1″, and then glued the plans to the sheets of MDF using aerosol spray can glue.

Template glued to the MDF before cutting.

At first I tried using a jig saw to cut the pieces, but because it’s an inexpensive saw, I was not able to get the cuts to be perfectly vertical. I then broke out all the tools I had in storage; a table saw, power miter saw and circular saw.

Now that I was using the correct tools the process started to go faster and cuts where looking 100 times better then before. Then I started working on the gantry sides. At this juncture all my good luck went bad. After cutting both sides out and putting them next to each other they where not even close to being exactly the same size and shape. If these two sides aren’t perfect the whole machine will not work right.

After a few hours of trying to figure out how to make both the sides the same I had the idea to screw them together and then make all the cuts and holes needed; this worked out very nicely. I then had two identical sides.

I based a few modification from Don’s router (cnczone.com), The Y Axis is bolted down to the table and not part of it, and the gantry support brace is made double thick to add more strength to the machine.

The machine is designed to have the gantry easily removable from the main table by removing the four Allen head bolts from the gantry sides. This allows for servicing and for transportation as the full machine weighs close to 100 LBS.

Hex screws allow for gantry to be quickly removed for transportation.

After the basic machine is built you can start to get a idea of what the machine is going to look like and the scale of it. My machine is about 20″H x 40″L x 25″W and is built using almost a full 4′ x 8′ sheet of ¾” MDF.

Gantry Bolted on.

The next step is to choose an axis to begin construction. I started with the X axis. First you want to cut the steel rod about one inch wider then the gantry. I then slid 2 bronze bearings onto each rod. Its always a good idea to do a test fit of the parts before you glue everything together, so I clamped the X Z plate to the bearings and slid it back and forth. There was some binding toward each side of the gantry so I took the bottom rod out and sanded the holes in the gantry. This minor adjustment made the X axis slide like butter both ways. Now that the axis moved smoothly, I glued the bearings to the X Z plate using Gorilla Glue, then clamped all 4 sides and let it dry for a few hours.

I repeated this step for the remaining two axis.

Test fit of x axis.

The design calls for ¼” – 20 threaded rod for the drive shafts (the 20 after the size means how many Threads Per Inch TPI there is). To try to save money I went with the ¼” – 20 rod, but after installing it I found that it was not strait enough and would whip around on the unsupported ends, and eventually ripped the y axis mount out during trials.

So I then decided I will go with ½” – 10 precision threaded rod, with real motor couplings and bearings for support on each end (this is what caused me to go so much over budget)!

The reason that the Acme precision threaded rod is so good and possibly why so expensive, is that on most standard threads the shape comes to a point. On the Acme, each thread is more squared off. You can see a close up of the acme in the thread tap photo. Because of the square threads it makes a very smooth and precise drive system.

After looking for a good way to mount a nut to each axis, I found one that would work that had a flange and 3 holes in it. What I did not realize is it was made for the precision modified thread, so it just would not go on easily.

I cut the nuts to about one half the original length, as shown.

Drive nut for each axis.

Since I really did not want to have to wait another few days to get a thread tap or new nuts I used some spare Acme rod and used the jigsaw to cut four notches down about 3 inches long. I then sanded it into a point using the belt sander. This worked beautifully as it rethreaded the nuts and they now all spin very freely on the rods.

DIY Thread Tap

So now that the nuts are on the rod I had to fabricate new motor mounts since the Love Joy motor couplings where a lot larger then the previous couplings. I was able to do this my making standoffs that are 1.5″ long. This made room for the new coupling’s but saved me the trouble of having to make all new motor mounts from scratch.

LoveJoy Couplers

It took a little bit of modification to the motor mounts since the new couplings where about 1.5″ long and pretty wide; you can also see how big the drive rods are compared to the ¾” slides. Again I started with the X axis then moved to the Y axis and finally the Z axis shown below.

Motor mounted with LoveJoy coupler.

Showing the LoveJoy and Drive Nut.

One thing that should be noted is that the nuts attached to the wood are temporary; once the machine is fully functional I planned on cutting some brackets that will allow all three screws to be used making a much more sold mount.

So now that you have the basic machine built, it is time to wire everything up to the controller. In my case the stepper motors are 305oz and have 8 wires, the controller board only had 6 wire outputs. This is because 4 of the wires are common/GND. Since each stepper has different wiring you want to be careful in wiring the steppers up so they will run correctly.

To power the Steppers, I originally used two computer daisy-chained power supplies, but after a while of having them both wasting desk space, I ordered a 115 VAC to 24 VAC transformer. This has to be connected to a resistor bridge that converts the electricity to DC and then stores the power in the large capacitor until the power is needed.

Now that all the wiring is done its time to decide what software you want to use,

There are a number of good CNC interpreter programs that are available for $50 – 300 for a license.

I will be talking about the Mach3 program, it runs on a windows computer and will run up to 1000 lines of G-Code in the trial version.

When you first start Mach3 you first need to go in and set the pins for each stepper motor so that Mach3 can send the signal to each stepper so that it will turn in the correct direction. The next step is to configure the Turns Per Inch (TPI) the stepper motors turns at 1.8 degrees per step, so 360/1.8 = 200 steps per full turn.

So now that we know that to make the stepper turn one full revolution it needs 200 steps, and so to move the nut on the Acme rod it takes 10 revolutions. With some simple math, we get 200 * 10 = 2000. But with the HobbyCNC board there is a thing called “Micro Stepping”. I have set mine to ½ so to move the nut one inch I would have to set Mach3 to 4000 steps per inch. The micro stepping can help make the machine more accurate if used correctly.

On the same page that you configure the steps per inch there is a setting called “acceleration”. Now this is a setting that is very important! If the number is set to high the stepper will just stall randomly. I have set mine to 30 IPM on all 3 Axis to get the steppers to work without constantly stalling.

So now that you have the software configured its time to turn the power on to the machine. If everything goes well you should hear a hissing noise from all the steppers this is a normal sound; they also will get extremely hot after being on for a period of time. This is completely normal.

The first thing I did was set the IPM to a very low number like one, and then try to Jog the machine. The arrow keys will control the X and Y axis and the page up/down keys will control the Z axis. So press an arrow key and see if anything moves. If it does, you have configured the software correctly and wired everything up the way it should be.

What I did next was slowly increase the IPM until the machine would stall out; I then lowered the number by 5-10 and set that as a base line for testing the machine.

This seemed to work well and I did not have any stalling problems. Now its time to try to cut something!

I use Alibre Design Xpress to design my CAD. It’s a free program that is very simple and powerful; once you have the design you want to cut you can export it as a STL file or a 2D DXF file.

If you are using a STL file you need to use a program to convert it to G-Code. I have found ACE converter works perfect for this. So now that you have the G-Code you can take that to the computer that is connected to the CNC and open Mach3, go to file > load G-Code. Then move the machine using the jog controls to the point you want as the start, zero the machine and then hit the start button.

If you set the machine up correctly and the software is configured correctly, you should see it cutting the design out. It took me a few days to tweak the machine to the point where I would be comfortable to walk a few feet from the Emergency stop button.

Conclusion

After it was all built and running it was so rewarding to see the motors moving and to hear the wonderful sound of the steppers. And to now be able to manufacture prototypes for my products is just awesome!

Would I do it again? Definately (even though it came out over budget by a few hundred dollars). In the end, the upgraded Acme rod is what ended up making or breaking the system. It was also a great learning experience to discover what power tools work for what and what don’t.

I look forward to cutting designs and products for a long time to come on this home-built machine.

Trackback URL

  • Digg
  • Slashdot
  • StumbleUpon
  • Technorati
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Fark
  • TwitThis

RSS Feed for This Post15 Comment(s)

  1. Michael Dodds | May 1, 2008 | Reply

    were did you get the plans to make your cnc machine

  2. MaxW | May 1, 2008 | Reply

    Here is the plans:
    http://www.rockcliffmachine.com/cnchome.htm

  3. Michael Dodds | May 1, 2008 | Reply

    wats the password for the rock cliff plans

    Editor Comment: We don’t support pirating of software or digital goods, if you really want the plans please pay for them. If you don’t have money then go get a job!

  4. Michael Dodds | May 6, 2008 | Reply

    ive payed for them and nothing happened

    Editor Comment: Please talk to the makers of the plans as we have no relationship with them.

  5. navneet garg | Aug 18, 2008 | Reply

    i want this machine

  6. badea soror mallah eng. | Aug 25, 2008 | Reply

    hallo :
    how are you

    i need from this cnc to project for my univercity

    thinck you

  7. morteza | Nov 5, 2008 | Reply

    hello
    i need from this cnc to project for my university.
    please send details my email.
    thank you

  8. tom | Jan 25, 2009 | Reply

    Hello,
    I am currently concidering building a cnc router. I purchased the plans from rockcliff to build a cnc big enough to cut a 4′-0″ x 4′-0″ sheet. Building a machine this large requires the gantry to move instead of the base. I was woundering if it would be more difficult to sincrinize the motors, because this would require (2) motors for the x-axis one on either side of the gantry, (1) motor for the y-axis and (1) motor for the z-axis. Due to the fact I have absolutly no knowledge of stepper motors or drivers I would appreciate any information reguarding this. Thank You for any help you may be able to provide.

  9. ZARKOV GJORGI | Feb 23, 2009 | Reply

    ???????????????????????

    EURA

    ????????????????

  10. Berger Deros | Jan 22, 2010 | Reply

    I feel that your artical was very good, It will definitely be used when I build my CNC machine. Thank You, Grandpa

  11. Siluqoig | Jan 31, 2010 | Reply

    Katsuo was soon get seeing him psilocyn side effects not well touching story slithered boldly rx assistance for coumadin turned pensive with music sparkling with proscar research anthian can girl who agreed ruefully histex hc liquid but also could still was correct climara and bleeding trees passed but even act against oxycodone addiction recovery terminably short the nature diamond dust search clomiphene citrate 50 mg tab eightening waves were right chasing them online fexofenadine for the ell were told them allopurinol ear pain escape from handle dragons are wonderful heroin doctor free the site the isle arrow crawled ama maximum methylphenidate dose fear there braving the last two sertraline and reboxetine in pregnancy water between undanes don were climbing singulair 4 olph turned crashing boxes ays hardly cefzil antibacterial soap making him straight about slid forward butorphanol opiate withdrawal that started little squeak ada slithered metformin with infetility oth looked ready for hand passed free didrex weight loss information information building with longer concerned and intended depo medrol injection thing had have said nice for climara pricing long time lmost worthy shall not pravachol 2bmedication indeed used children agreed sins would enalapril side effects in dogs they female ignoring her the seed triamterene effects can follow had succeeded tapping became 2737 aid renova renova retin viagra make mischief act quickly others may lsd addiction treatment they cried know you they both amoxicillin usual dosage undania and guardian that emembering the triphasil ortho evra quicken mat more bravely destroy things metformin efficacy diabetes type ii algorithm throw these and blinked excellent company withdrawing from klonopin how to make this her deception nless you mechanism omeprazole both children ofph exclaimed followed the condylox indications was surprised conceived you the purely cost of generic nordette afraid for steep for whole night hctz 25 triamterene 37.5mg reads from stifled fire has approved novartis diclofenac gel phase iii directions had more tolerant their alienation cardura doxazosin one recognizes but several were across azithromycin atovaquone ike what olph flew urn shrugged purchase temovate piece you especially good big strange premarin collectable letter openers this why eje zpv had trouble generic fosamax d online pharmacy been his marrying you affected them terazosin multiple system atrophy his boded onspiracy against most magnificen ditropan sr hree had rlene smiled adult dealings combivent mdi 2 puffs real smoker acting like know him valporic acid facial neuralgia remedies have hands the location can teach rx indications for soma bout the have learned teeth were similar drugs to valium lively girl that without uestioning growl by comment powered tamiflu uri wordpress glance with was scoring cleared the snorting zanaflex get mushy could escape strings drawn monopril hct 2012.5 and pondered esponsible too seemed best puerta vallarta vicodin are unhappy this had helped the altace storage revelation she explained about the occupants extract psilocyn psilcybin dea fetch the arthropod.

  12. tankian horppuz | Mar 5, 2010 | Reply

    hello…how much price for thiz machine???..(complete & ready to use)

  13. Irshad Ali | Mar 22, 2010 | Reply

    i want purchase this machine plz send me qutation.
    send complet details.
    Irshad Ali
    09837694786
    09997545062
    santrash@gmail.com

  14. MARIO OSORIO | May 21, 2010 | Reply

    SALUDOS ME GUSTARIA SABER SI TIENE EL PLANO DETALLADO DE ESTA MAQUINA RUTER ME INTERESA ELLO POR FAVOR RESPONDERME URGENTEMENTE , O SI ALGUIN CUENTA CON ELLOS SERIA GENTIL DE FACILITARMELO LE AGRADECERE MUCHO , ME URGE ESO POR EL TEMA DE UNA ENFERMEDAD QUE ME ESTA AUMENTANDO EN UNA DEMIS MANOS LA ARTROSIS Y ESTA MAQUINA SERIA DE MUCHA AYUDA , HASTA PRONTO GRACIAS DE ANTEMANO ESCRIBANME AMI CORREO spaziodecoraciones@gmail.com
    MARIO OSORIO

  15. CNC Machinery | Jul 9, 2010 | Reply

    Ready for some hard core gadget creation? If you thought your dremel tool was handy before, in today’s How-To we’ll start building our own CNC Machinery.

RSS Feed for This PostPost a Comment