Saturday, February 12, 2011

Hobby CNC

For quite some time now, I had been wishing for a CNC router. On almost every project I did, whether that be woodworking or electronics, there was usually some part that made me think "if I had a CNC router, this would be easy;" but I couldn't justify spending thousands of euros on something (no matter how cool) I'd only be using for hobby work.
Recently, I found a manufacturer, CNCDIY, that makes affordable desktop CNC routers. They have (at the time of this writing) two very cheap models, the 2520 and the 3040, both under $1000. I decided to buy the 3040 as it has a slightly larger working area and has ball screws instead of trapezoids. According to the manufacturer, the 3040 can mill soft materials like wood, plastic and even aluminum. I would guess milling aluminum is very slow work on a machine like this compared to a "real" milling machine, but this machine should be just perfect for my needs. (Wood, acrylic, PCBs, possibly thin aluminum parts)



So far, I've been quite satisfied with my new CNC router. It seems to be solidly built and fairly accurate. (Note that as I'm still new to CNC, this endorsement should be taken with a grain of salt.)
Of course, there are a few negative points as well:
  • No home or limit switches. This means I have to rely on the controller software's (EMC, BTW) soft limits and home the machine manually. Until I build my own home switches, my interim solution is to tape markers to the home positions of each axis. This allows me to home the machine quickly and accurately by eye, if not very precisely.
  • No inputs for home or limit switches in the controller box. I'll have to build a parallel port breakout/pass-through board when I add my own home switches.
  • The emergency stop button doesn't actually cut power to anything. I noticed this when I had the estop input inverted and the machine would only run with the button pressed down... Not really a problem as long as you're aware of the behaviour. The real power switches are right next to the button.
I use my old PC running Ubuntu 8.04 (installed with the EMC live CD) as the controller. I first tried the latest 10.04 version, but couldn't get the latency down to an acceptable level. The worst case latency with 10.04 was something on the order of 2 milliseconds, which is way too much for real-time work. After installing 8.04, the max latency reported by latency-test dropped to about 14 microseconds. Interestingly, the EMC version of 8.04 has ACPI disabled but 10.04 doesn't. Disabling it didn't help the latency score though. It appears 8.04 works better on some computers and 10.04 on others.
Normally I'd like to run the latest OS version, but in this case it doesn't really matter as the computer is not connected to a network and only needs to do two things: Run EMC and copy files off memory sticks.

Edit 11.3.2011: Here is my EMC2 configuration file. The scale is inverted because otherwise the axes would move in wrong directions. If you regenerate the configuration with stepconf, you may need to add the - signs back manually.

Last, some notes on CAD/CAM software. There appears to be a dearth of good (or any) CAD or CAM software for Linux. So far, I've found the following that appear promising:
Finally, there's always your favorite text editor and custom code generators.

96 comments:

  1. Hi Calle,

    Thanks for replying to my questions via ebay. I will follow your blog. I'm completely new to cnc so I don't understand most of the technical bits.

    Gavin

    ReplyDelete
  2. Any chance you might post your EMC2 configuration for the 3040? Mine's on the slow boat from China. Having a working configuration would save me some time when it gets here.

    ReplyDelete
  3. Hi Joseph.
    I'll post the config this weekend. It was pretty easy to set up though. I just plugged in the values from the manual into stepconfig and it just worked right away. The only problem I had was that the axes were reversed. I fixed it by making the scale value negative in the configuration file, but inverting the direction select pin might have worked too.

    ReplyDelete
  4. Awesome. Got it. Thanks! Mine just arrived today. I'm busy setting it up right now. X-Mas came really early this year.

    ReplyDelete
  5. Calle, I'm in the same space, but building my own. With the CAD side, I'm having great fun with Blender. It may seem an unusual choice, but I'm looking for something that has an easy way to maniputlate meshes (CNC routing of the contours of archtop guitars). mGcodeGenerator works well with the older versions Blender 2.4, but the edit interface is way better in 2.5. (I have both versions installed and gcode in the older version after editing in the newer one without problems. (DXF export to KCAM).

    I hope this is useful as you explore your software options.

    ReplyDelete
  6. Thanks for the comment Richard. I've tried mGcodeGenerator a little, but haven't actually used it for any real cuts yet.

    One neat blender trick is to make the camera orthographic and render the Z buffer, then feed that to a image to gcode converter. This works fairly well on some type of images.

    For 2D/2.5D cuts I'm mainly using Inkscape together with my own jgcgen g-code generator right now. A proper CAD program would be better, but for artistic work where exact measurements aren't critical, Inkscape is pretty good.

    ReplyDelete
  7. plz can someone help me with emc2 configuration for this cnc? Thanx.x.

    ReplyDelete
  8. I bought one and like it very much.

    ReplyDelete
  9. This is so beautiful and creative. DTG Printer I just love the colors and whoever gets it in the mail will be smiling.

    ReplyDelete
  10. Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have. Business problem specialist

    ReplyDelete
  11. Your latest description regarding context external seemed to be immaculate. Whereas i reward lates destination an cardstock journalist get coupled this sort of gallops. This is really the disregarded site of various minstrels. Disorganization is exceptionally visualize-ended internal the penmanships. Books hitch to be suitable to ignore about if your snapshot is individual lacking. It very is analogous this skeletal abacus on the hard. The supposition resolutions locale beside the thesis. CET coaching class in Mumbai

    ReplyDelete
  12. I really liked this publish. It is truly amazing. The writer might be quite skilled. I fairly appreciate to be able to study such content on this site. Biomedical Engineering Subjects

    ReplyDelete
  13. I really enjoyed this article as it pointed out a bunch of interesting points and made me think a little bit differently about the issue. I can't say that I agree completely, but you have many valid points and appreciate the thought and time you put into this post. Thanks for the great read. Marijuana vape pens

    ReplyDelete
  14. I must say that the articles in this blog are very interesting to read. The second one, I must say this blog loads a lot quicker then most. amazon internationale rezensionen

    ReplyDelete
  15. I really enjoyed this article as it pointed out a bunch of interesting points and made me think a little bit differently about the issue. Cannabis business plan template Canada

    ReplyDelete
  16. I really love this article. It is filled with great enthusiasm, passion and great excitement. cannabis dispensary business

    ReplyDelete
  17. I want you to thank for your time of this wonderful read!!! I definitely enjoy every little bit of it and I have you bookmarked to check out new stuff of your blog a must read blog!! magician hire melbourne

    ReplyDelete
  18. I wish to show thanks to you just for bailing me out of this particular trouble. As a result of checking through the the net and meeting techniques that were not productive, I was thinking my life was done. apartments for rent in pompano beach

    ReplyDelete
  19. Interesting articles are published here. By reading it I acquired great deal of knowledge on various subject. Thank you for sharing with us. sublimacion en tela

    ReplyDelete
  20. It was great to see the old print shop and everyone who works there again. I am excited to see a printing business still operating and growing, great job guys. buy fortnite weapons

    ReplyDelete
  21. Looks awesome, I never noticed you could publish about it, excellent to know thanks! You show very latest and problems. This is very awesome post! I will save this weblog. herramientas para colocar porcellanato

    ReplyDelete
  22. I visit this site regularly and I love reading blogs posted here. I have this site already bookmarked in my browser. Thanks for this post. Indian black granite

    ReplyDelete
  23. I got some sort of ordnance in my organise put together my own move forward request upwards for the prolonged avow although before remove analysiss nova scotia, I had obtained my own reduction. Almost always there is some sort of halfways useless in addition that you are doggy. As i denomination that will chafe associated with revolve around, the actual fabulous is usually add languish posterior My partner and i combatant an individual since doer. You might be some sort of apogee assassin. Electrical engineering lectures

    ReplyDelete
  24. Hello,
    I will read your whole article, that is very nicely written and informative also. Thanks for sharing keep sharing these type of article.

    dua for marriage

    ReplyDelete
  25. The post is written in very a good manner and it entails many useful information for me. I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. toefl speaking question 1 and 2

    ReplyDelete
  26. Hi what brilliant post I've encounter and imagine everyone Image looking out due to this similar sort of post with regard to earlier 7 days and scarcely found this specific. Many thanks very much and will try to find additional postings coming from an individual.fully braided wigs

    ReplyDelete
  27. I did enjoy reading articles posted on this site. They are impressive and has a lot of useful information. bamboo towel set Online

    ReplyDelete
  28. Wow really a great post is here to whom I was searching for a long time and now I found it here, today I am feeling glad after finding this precious post and also would like to say thanks to Author of this blog for his good work and hope that you will be keep posting such type of information Article. recombinant cytokines

    ReplyDelete
  29. Great tips, many thanks for sharing. I have printed and will stick on the wall! I like this blog. dakboard alternatives

    ReplyDelete
  30. I just got to this amazing site not long ago. I was actually captured with the piece of resources you have got here. Big thumbs up for making such wonderful blog page! KBF India

    ReplyDelete
  31. I cant understand this language. It is to difficult. Please, can you write this post in English. I am interested in this post. Occupational Therapy Services

    ReplyDelete
  32. Wonderful net blog. Every thing the following is superb. The gender chart are often absolutely mind-blowing! My wife and i wish to analyze these records yet again another day. Plus When i most likely will analyze it. mobile car detailer

    ReplyDelete
  33. As i undoubtedly enjoy your site and locate nearly all your own personal information being just what I am in search of. backpage Corpus Christi

    ReplyDelete
  34. The reasoning been found a stunning buyer set of solicitation as for the uncommon the doing measures. The examination been discovered truly vital on a to a great degree central level fulfillment to handle to discover. They're no two ways about it phenomenal while offering different successful examination material. Wholesale kitchen appliances

    ReplyDelete
  35. Fantastic internet site plus We are considering with the amount of create. I simply at this point enjoy Website Motor additionally. Door to Door relocation service

    ReplyDelete
  36. I simply at this point couldn’t leave your site prior to helping you learn of which most of us truthfully liked the most important high quality details anybody reveal any readers? ALL RIGHT, I am going to another usually to see brand-new facts. Natural Herb to Boost Sex Drive in Female Naturally

    ReplyDelete
  37. I thought this was quite a fantastic tournament and ideally I can show up at the next 1. It had been an enjoyable experience and I liked me personally.. cbd daily supplement for health

    ReplyDelete
  38. I truly savored the product quality facts an individual within your blog readers exclusively for this specific website. My goal is to hunt for your blog and also have our people check-up in this article usually. medical marijuana extract

    ReplyDelete
  39. I want to share this excellent site truthfully self-confident most of us so that they can perform which will! Relation, high quality write-up. ufo in philippines

    ReplyDelete
  40. Incredibly gratifying write-up. truthfully valuable. dermis so-called web sites We've got accomplished recognize for only the transporting lavish trouble, that one is often useful. Priepos for erectile dysfunction

    ReplyDelete
  41. It is a excellent document, Offered much facts inside it, A lot of these style of articles maintains this shoppers desire for your website, and persist throughout discussing further... enjoy.
    black cotton face mask

    ReplyDelete
  42. When i review people publish. that ended up amazing. Your approach will probably be excellent. dell laptop stickers

    ReplyDelete
  43. I truly appreciate this post.The design of the home is very beautiful. I am very lucky to be able to come to see your weblog.Keep up the good work. BRAIDED WIGS

    ReplyDelete
  44. The idea looks really breathtaking. And document allows everyone many details. possibly be grateful, I truly identified really awesome and exceptional aspects. Which means this could be helpful to everybody... Many thanks with regard to making this specific intriguing blog site. European License Plate Holder for BMW M Power

    ReplyDelete
  45. Hello! This post couldn’t be written any better! Reading this post reminds me of my previous room mate! He always kept chatting about this. I will forward this page to him. Fairly certain he will have a good read. Thank you for sharing! Abu Dhabi hotel escort

    ReplyDelete
  46. In fact your creative writing abilities has inspired me to start my own Blog Engine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it. Best Home Espresso Machines

    ReplyDelete
  47. When i finished up being hunting this signal which can be used by pros. I observed your blog. I would really like to be able to congratulate an individual with this kind of excellent website. Buy A Business Australia

    ReplyDelete
  48. When i recognize web sites having a the exact same trouble, even so this associate plus our husband or wife and we all usually do not recently been targeted toward your blog. When i further which will to the majority favourite plus i’ll grow to be your exclusive repeated marketplace. Shop Aviation Themed Clothing

    ReplyDelete
  49. When i savored people website. It’s almost all to be able to easy to lookup within, the knowledge will probably be helpful, and you’re an educated document writer unlike the majority of sites When i learn every time reckoning in this particular difficulty. Louer voiture Maurice

    ReplyDelete
  50. When i transpired through to this kind of write-up getting very educative. Love created for advancing this know-how with this different material. Surely this a fantastic write-up additionally. Relation Amazon fotograf

    ReplyDelete
  51. When i transpired through to this kind of write-up getting very educative. Love created for advancing this know-how with this different material. Surely this a fantastic write-up additionally. Relation Oak beam north wales

    ReplyDelete
  52. Which can be completely a tremendous auto tires. I do feel which can be utilize 1st huge & significant occupation. Hefty products certainly. appreciate it a great deal with the reveal within in this article. شراء سيارة في أمريكا

    ReplyDelete
  53. Whoa.. it’s a fantastic place to buy facts... Given that at the moment any kind of scaled-down teeny facts might actually be almost any significant.. Outstanding Particulars برنامج إدارة الموارد البشرية

    ReplyDelete
  54. You have to realize are not able to, your exclusive publish actions as part of your nutty-gritty within material. Your existing lucidity actually in fact ends in most of us considering further. Only thus another person realize, i am going to promptly receive the one of a kind allow maintain thus far together with your on the net web site. best vegan protein

    ReplyDelete
  55. Hey there just wanted to give you a quick heads up. The words in your post seem to be running off the screen in Chrome. I'm not sure if this is a format issue or something to do with browser compatibility but I figured I'd post to let you know. The layout look great though! Great Commercial barrister

    ReplyDelete
  56. I also benefit from learning the assessments, but learn that a lot of people ought to stay on essay to try and add worth in the direction of the authentic weblog release. Exciting collection of Home decor London

    ReplyDelete
  57. This is just the perfect article! Everything is totally right in this article. I cannot find anything wrong with this. Thank you very much for providing this amazing stuff to us! best BIM training program

    ReplyDelete
  58. First You got a great blog .I will be interested in more similar topics. i see you got really very useful topics , i will be always checking your blog thanks. علاج اسنان

    ReplyDelete
  59. Thanks for your post. I’ve been thinking about writing a very comparable post over the last couple of weeks, I’ll probably keep it short and sweet and link to this instead if that's cool. Thanks! Cambodian Magic Mushrooms

    ReplyDelete
  60. I am also interested in this topic. I have spent a lot of time on searching this kind of topic. It is very informative. Cloud Storage Tiering

    ReplyDelete
  61. Excellent and decent post. I found this much informative, as to what I was exactly searching for. Thanks for such post and please keep it up. Cheap Madden 21 coins

    ReplyDelete
  62. Your site is one of the beautiful place and I am delighted. livres à bulles pour les tout-petits

    ReplyDelete
  63. Thanks due to this write-up. That's nearly all As i can easily explain. An individual the majority of undoubtedly include things like designed this kind of website website straight into anything special. An individual clearly genuinely understand what you're doing the job absent at, you've insured a lot of attributes. best wishes! libri personalizzati per i più piccoli

    ReplyDelete
  64. This short article you've got put involves massive information came into existence useful. slitherio débloqué en ligne

    ReplyDelete
  65. Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. I wanted to thank you for this websites! Thanks for sharing. Great websites! maßgeschneiderte Geschenke Online

    ReplyDelete
  66. Really appreciate this wonderful post that you have provided for us.Great site and a great topic as well i really get amazed to read this. giochi sbloccati gratis online

    ReplyDelete
  67. This article is very useful. I really learn many from it. The next time I read a blog, I hope that it doesn’t disappoint me as much as this one. τίτλους ειδήσεων της ημέρας

    ReplyDelete
  68. Best article. The amount if information here is sufficient and as needed. I know many people will appreciate this but they won’t comment about that. Best VR Porn Sites

    ReplyDelete
  69. Looks awesome, I never noticed you could publish about it, excellent to know thanks! You show very latest and problems. This is very awesome post! I will save this weblog. Casino Bonus

    ReplyDelete
  70. I am bookmarking this page, in the future I might try to write a book to go along with my blog, but I will see. Looking forward for more post with useful tips and ideas. how to make a book for kids

    ReplyDelete
  71. Great blog article about this topic,I have been lately in your blog once or twice now.I just wanted to say hi and show my thanks for the information provided. rolling door jakarta

    ReplyDelete
  72. Simply wish to say your article is as astonishing. The clarity in your post is simply great and i could assume you are an expert on this subject. Well with your permission let me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please keep up the gratifying work. New laptops near me

    ReplyDelete
  73. Very good article, not only feel good, I nearby of all the friends all say this is a very good article,Believe that will see more such a good article to share. libros personalizados con nombre personalizado

    ReplyDelete
  74. Most of the time I don’t make comments on websites, but I'd like to say that this article really forced me to do so. Really nice post. holster sneakers

    ReplyDelete
  75. Thank author for it. I like such topics and everything connected to this matter. I definitely want to read more soon. baby boy wedding suit

    ReplyDelete
  76. Great write-up. As i have been examining continually this kind of website and also I’m surprised! Incredibly effective data specifically one last part As i deal with this type of facts a good deal. As i have been trying to find this certain data for some time. Thanks and also good luck.. lose fat supplements

    ReplyDelete
  77. Best article. The amount if information here is sufficient and as needed. I know many people will appreciate this but they won’t comment about that. Proofreading services

    ReplyDelete
  78. I truly appreciate this post.The design of the home is very beautiful. I am very lucky to be able to come to see your weblog.Keep up the good work. chicwish review

    ReplyDelete
  79. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the excellent work. Jeux de Société

    ReplyDelete
  80. I am thinking about ones part certainly where an particular person explain you happen to be carrying out this to produce backside nonetheless i will believe by way of all of the suggestions which this is often helping you furthermore. buying a house in san diego

    ReplyDelete
  81. I enjoy and also the number of create and also discuss your own personal distinct sub-market! Incredibly enjoyable and various! Hold which coming! Reverse osmosis plant

    ReplyDelete
  82. In kolkata Rose did have sex with a person who was present in the chit fund scam. The case was highlighted in Rose valley group by cbi official.

    https://www.dnaindia.com/india/report-kolkata-cbi-summons-st-xavier-s-principal-felix-raj-in-connection-with-rose-valley-chit-fund-scam-2289583

    ReplyDelete

  83. Interesting story in kolkata...How Rose did have sex with a person who was present in the chit fund scam. The case was highlighted in Rose valley group by official person.

    https://www.dnaindia.com/india/report-kolkata-cbi-summons-st-xavier-s-principal-felix-raj-in-connection-with-rose-valley-chit-fund-scam-2289583



    ReplyDelete
  84. I really impressed after read this because of some quality work and informative thoughts. I just wanna say thanks for the writer and wish you all the best for coming! 1934 california license plate

    ReplyDelete
  85. My partner and i beast in order to busybody this terrorize is usually fabulous, magnificent composed pers minimize with regards to wholeness important infos. I would corresponding to ascertain in addition notifys blossom this. I would sensible in order to express an individual to the drifts you receive manufactured in dissertation this telegram. I'm hoping the actual homogeneous surpass division via an individual from the foreboding too. phemex exchange

    ReplyDelete
  86. When we talk about these awesome CNC router machines, we look for best in industry products.
    Check out aaradhnatech machines for now.

    ReplyDelete
  87. This post reflects what many are thinking but are have no platform from which to voice. You allow us to do that collectively. Great post. Dental Clinic near me

    ReplyDelete
  88. I really enjoyed the quality information you offer to your visitors for this blog. I will bookmark this page for my future reference. Thanks. alpha php

    ReplyDelete
  89. I'd like to thanks towards the pursuits a person generate although submitting this write-up. I'm hoping for the best run in the identical via a particular person inside of long lasting. Best realtors in Montreal 

    ReplyDelete
  90. Many thanks, We have finished up trying to find information about this kind of material forever plus the 1 you have is most beneficial We have discovered up to now. hemp CBD vertically integrated business

    ReplyDelete
  91. Many thanks in your marvelous placing! My spouse and i in fact liked studying that, that you are an incredible writer. Let me make sure that My spouse and i bookmark your site. apartamentos a venda riviera de sao lourenço

    ReplyDelete
  92. Any person concluded a number of helpful factors truth be told there. I did so the look up concerning these and based virtually all persons will unquestionably accept your blog.  The wholesale formula review

    ReplyDelete
  93. A sufficient source of knowledge! Thanks for the post House shifting services in Dubai

    ReplyDelete
  94. I just want to thank you for sharing your information and your site or blog this is simple but nice Information I’ve ever seen i like it i learn something today. Sunny Leone Nude Pics

    ReplyDelete