Build Your Own CNC Milling Machine

49K37015

Intro: Build Your Own CNC Milling Machine

Now that I'm retired, I have time to create things that I've always wanted to, like this CNC milling machine. I did a lot of research here on Instructables, which provided me a lot of ideas of how I wanted mine to look and work. I have no experience in this area, so the project itself was fun and enjoyable to see if I could actually do it! My goal was to make one that was accurate, reliable, with a reasonable work area and cheap as possible. Accurate, yes, it can retrace the same path over and over, consistently. Reliable, not sure yet as I have only been using it for a month or so. Work area 32.5" by 18.5". Cheap, perhaps, all in at $400 excluding laptop which I already had.

By the way I already have an ANET A6 3D printer which I love. So I figured how hard can this be, LOL!

My main goal for submitting this instructable is not to provide every single step (that's too complicated for me), but to help inspire those out there with the interest and passion to do so, as so many have done for me.

Again, I'm no expert, just a hobbyist as many of you are and have a lot to learn yet. The choices I made here may not be right for everyone, but worked for me.

STEP 1: Tools

I decided to make mine out of 1/2" MDF since its cheaper than extruded aluminum. Thus, I only needed conventional wood working tools. I used a table saw, miter saw, drill and bits and a drill block for perpendicular holes, since I don't have a drill press.

3D Printer is optional; I designed and printed many little pieces like brackets, etc. Many of those could be made out of wood or metal brackets from the hardware store.

A soldering iron to solder all the wire.

STEP 2: The Mechanical Build

Because this is my own design I had no plans to follow nor did I create any. The rails dictated what the size of the unit would be. The Y rails are 1000mm, X rails are 600mm and the Z rails are 300mm.

I started with the base and built a torsion style box which makes it very rigid and strong. I would cut a piece of 1/2" MDF and keep adding to the puzzle. There are ribs or reinforcements anywhere its needed to keep the MDF from flexing. There is no flex in the entire machine

The base was easy...now to all the other tidbits...

To get 25 holes drilled with some sort of accuracy I would draw the board layout in Fusion 360 and print the 2D drawing on a standard computer printer in actual size. I would then use a center punch to mark the center of each hole and then use a hand drill to drill them out as seen in the 3rd and fourth picture above.

After it was all together, I took it all apart and put a couple coats of polyurethane on it, those are the pieces in the seventh picture.

An important note: I took a considerable amount of time making sure everything was perfectly aligned and square to each other, especially the rails. This way there was absolutely no binding and everything moved very smoothly.

STEP 3: Electrical

Since the gantry, etc. slid with such ease I decided to try NEMA 17 motors (only 92 oz. holding torque). With those motors I can move any axis at 3200mm/min or 125 inches per minute and cut at 1600mm/min without the motors missing a step. I haven't tried to cut any faster as that seems fast enough for me.

I used an Arduino UNO, running GRBL and a CNC GRBL Shield with 8825 drivers. I had no experience with an Arduino (again, I'm old, LOL), but there are may instructables here that will teach you!

I did however design a board with 4 opticouplers to prevent false triggers on the limit switches and Z-probe as seen in the second picture. So all that, plus an emergency switch and fan was packed into that little box.

I ran all the wires in cable drag chains, motor and limit switches together thus the need for the opticoupler isolation.

I used a 20V - 7A laptop type power supply for all the motors, etc. The actual draw is only about 2 Amps.

I used a Dewalt 660 cutout tool since its half the price of a trim router, has the same capabilities and comes with both 1/8" and 1/4" collets. I removed the nose cone and designed and 3D printed the mount for the tool.

I made a slide out drawer and mounted a docking station for the laptop. I use a wireless keyboard with built track pad as a remote pendant.

STEP 4: Software

I use Fusion 360 to design my models and use their built-in CAM to set up the tool paths. I run CNCjs on the laptop which sends the g-code to the Arduino. CNCjs can use a USB connected camera to display the picture right in its user interface. Again, I'm no expert as these are the only programs I have ever used. They seem to meet my needs.

Of course the CNC is out in the garage, so instead of waiting out there, I use remote desktop software to see the desktop of the laptop from inside my house on my desktop PC. I can then see how much time is left and see it actually milling too.

STEP 5: Finishing Touches

I then realized I had no place to put the CNC machine and it weighs in at 120 pounds, so I had to build a rolling base. Then after working with it briefly, I realized it made way too much dust and noise. I figured I could address both of those with a cover. I bought art foam board at the dollar store and created a hinged cover that tilts back. Its much quieter and there is no more dust outside of the box! Inside its a mess, LOL. I also milled the removable fence, cam clamps and hold-down clamps on this machine.

STEP 6: Conclusion


I thought I would have to redesign and rebuild this several times to get it right, but luckily I haven't. It works just fine for me. I still have a lot to learn about modeling, bits and tool paths. But in the mean time I have designed and created these projects. The first two pictures are a laptop stand and the rest are some plaques. The video is this machine milling some HDPE. I milled these flags and have it published in another Instructables - Click Here

Again, its almost impossible to provide every detail and plans since so many of the items depend on each other as you build it. But please let it be known that it can be done as so many others have made similar ones.

Thanks for viewing and if I can answer any questions please ask.

36 Comments

BonJiba, this is awesome....are you open to sharing your CAM files?
Thanks. Yes, i'd be willing to share files. However, CAM to me means the tool paths to machine a part. CAD files are the drawings, which I really just cut and designed as I went with out creating CAD files, except a few for templates for precise hole placement. What is it exactly that your looking for to see if I can help. Thanks.
Hello BonJiba, how impressive your project, not only because of its functionality, but also because of the way you comment on how you developed it, a thousand congratulations for it and a worthy example to follow.

Now, I would like if you can help me with the following, you mention that you designed a board with 4 optical couplers to avoid false dissparos of the limit switches and the Z probe. type of integrated you used. Thank you for your kind response and many successes. a greeting
As I mentioned I used PC817, This is the schematic I drew up.
Thanks for your kind words and interest in my project. The integrated circuits I used were PC817 I bought them off eBay. I will post the schematic when I get back in town next week.
Fantastic guide, thanks for taking your time to share it.

What are the dimensions of the linear rails? Are they 20mm?
Consider adding a list with affiliate links for us to buy then!
This is fantastic! I am a highschool student (definitely not retired), but I may try to make a similar machine. I wish I had the templates for all your parts, but going off the pictures, I hope I can get similar results.

Great job with this!!!
Thanks, I wish I had templates too, LOL. Basically everything was designed in my head around some components I had. So every part is customized to every other part. So, If anything in that chain of parts changes it affects everything down the path. So I was very patient and progressed forward slowly making sure it fit my overall plan. But feel free to hit me up with any questions in your process. Thanks and good luck!
Although I don't believe you stated your age, you referred to yourself as old. I am old as well, but I would love to try to build this exceptional piece of work or at least one very similar. I'm an ''old'' analog guy so the programming of an Arduino may be an issue. I've been an electronic tech. for around 40 years & worked on/repaired almost everything that was either electrically or electronically controlled, but again, nearly all of it dealt with analog rather than digital circuitry. I've also built several electro-mechanical devices where I used relays, microswitches, etc. to control things. I was wondering how much of an issue it was for you to program the Arduino & where you got the info. or software to program it. If I can figure a way to use my relays & microswitches to operate this, I will, but since you used stepper motors, I'm afraid I'll have to go with the Arduino or something similar to control the steppers. I like to design & build speaker systems & I believe a machine like this could be handy when making the cutouts in the panels the speakers are mounted in so I could get a cleaner than freehand cutout. Thank you for sharing this machine you made with us. Take care, Sir.
Amazing project and as another Tech from the 70’s I worked on digital equipment computer systems, but did woodworking in my spare time. I’ve always wanted to combine the two in one project, and this is perfect! I have the electronics sorted using Nema 23 steppers with Arduino mega 2560 running Marlin and GRBL shield with 8825 drivers. I was fortunate to be given the steppers and a basic MDF frame with 1” square tubing for the rails. I have the three lead screws, blocks, bearings and flexible couplings but feel the round rails would be better. Don’t worry about building digital projects with Arduino, there is tons of information out there and the beauty of digital is it either works or dose not. Analogue on the other hand can vary and get funny results... take your time, do your research and instructables.com is loaded with great information!
Much like you, I discussed the analog to digital transition with the builder of that CNC machine with it's maker, BonJiba. I thank you for the words of encouragement from another fellow former analog guy. BonJiba & I had a fair amount in common except for the fact that he'd made that transition very well & was now able to incorporate it into his projects, as we saw. I've been doing a lot of reading/studying of this digital or computer lingo as well as teaching myself about using Arduinos. It's been frustrating since a great deal of this ''lingo'' is merely abbreviated or altered forms of analog terms formerly used. As I told BonJiba, ''it's hard to teach an old dog new tricks''. To word it another way, it's hard for an old dog to teach himself new tricks.
Thank You,
Too funny our backgrounds are very similar, was also an electronic tech and I also made my own speakers and amps too. This whole journey was educational for me, as I was all analog too. You clearly must be good at problem solving and researching, etc., with your background and that's all you need. I had absolutely no experience with an Arduino. You download the GRBL software from GitHub. I found all that type of info on this site, Instructables! One young lad who inspired me was Nikus, he created the 3D printed Dremel CNC and published it here, please check it out. Your biggest challenge will be drawing up the model of what you want to mill in a CAD program and setting up tool paths, which is very feasible, as you can see from my work. I spent 6 months of research and construction, just taking my time and learning as I go. Good Luck!
I replied to ''your'' reply, but since I did via email rather than through here, I'm guessing you didn't receive it. I got an email from Instructables telling me I needed to respond to a fellow gadget enthusiast through the site so the message would get to the intended person otherwise it basically went nowhere. I don't recall what I said in that message other than complementing you on your much more successful transition to digital electronics from analog than mine. Although I have been doing a lot of reading & studying, it's going to take some time for me to reteach myself in the ways & terminology of the current technology. At 57, it's hard for this old dog to learn new tricks. I'm sure that any ''young'' gadget enthusiast reading this would laugh. Since they were fortunate enough to get educated at, perhaps, the beginning of as well as throughout the digital/computerized age, it might be difficult for them to understand how frustrating it is for a person to learn or understand all this new jargon, lingo, or language that's now being used in today's electronic world. Personally, I honestly hate it since there's already words formerly & still being used that mean the same thing as these abbreviated terms now used when discussing some form of electronic ''whatever''. Like I said, ''It's hard for an old dog to learn new tricks''.
Love this project and have similar background but in digital areas of electronics. I have all the electronics and steppers ready and like your base frame design. I used Arduino Mega and Marlin software with Nema 23 steppers. Although I have a frame to use I think your sliding gantry is a better design. Great project thanks, and keep up the good work!!
Sorry I posted my question on the wrong section. It’s a very neat project. Very inspirational 👍🏻. Keep up the good work /G\
Have you thought about having the machine head being able to rotate forward and back in a 180 degree path and also right and left in a 180 degree path to give a true 3D machining experience?
One suggestion: print a vacuum shoe for the router, and connect your shop vac while milling, that will greatly improve the dust collection Here's a bunch: https://www.thingiverse.com/tag:dust_shoe
Thanks...that will be next then!
Very nice project. Can I inquire where you sourced the Arduino UNO, GRBL Shield
and NEMA 17 Steppers?

Thanks
More Comments