{"id":529,"date":"2012-01-16T17:38:12","date_gmt":"2012-01-16T22:38:12","guid":{"rendered":"http:\/\/jmillerid.com\/wordpress\/?p=529"},"modified":"2012-02-07T09:14:55","modified_gmt":"2012-02-07T14:14:55","slug":"cnc-milled-pc-board","status":"publish","type":"post","link":"https:\/\/www.jmillerid.com\/wordpress\/2012\/01\/cnc-milled-pc-board\/","title":{"rendered":"CNC milled PC board"},"content":{"rendered":"<p>One of my goals for the CNC mill has been to help fabricate PC boards, primarily in terms of cutting out the overall shape and drilling any through holes. For simple boards, however, it is possible to machine the circuit traces into the copper and avoid the entire photo-etching process altogether. I recently had a chance to try this process out, and the results were quite good.<\/p>\n<p>This particular board needed to be circular, and needed to have a  rectangular opening for a switch, so CNC routing the outline is really  the way to go. The circuit is relatively simple, so it also lends itself  well to routing the traces. If I were to etch this circuit the usual  way with photoresist, developer, etchant, etc. etc. it would have taken  three times as long.<\/p>\n<p><a href=\"http:\/\/jmillerid.com\/wordpress\/wp-content\/uploads\/2012\/01\/brd_screenshot1.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-531 alignnone\" title=\"PC board layout in Cadsoft's Eagle\" src=\"http:\/\/jmillerid.com\/wordpress\/wp-content\/uploads\/2012\/01\/brd_screenshot1.jpg\" alt=\"PC board layout in Cadsoft's Eagle\" width=\"484\" height=\"482\" srcset=\"https:\/\/www.jmillerid.com\/wordpress\/wp-content\/uploads\/2012\/01\/brd_screenshot1.jpg 806w, https:\/\/www.jmillerid.com\/wordpress\/wp-content\/uploads\/2012\/01\/brd_screenshot1-150x150.jpg 150w, https:\/\/www.jmillerid.com\/wordpress\/wp-content\/uploads\/2012\/01\/brd_screenshot1-300x300.jpg 300w\" sizes=\"(max-width: 484px) 100vw, 484px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>The board was designed in Eagle as usual, but I then used an add-on to Eagle called <a href=\"http:\/\/pcbgcode.org\/\">PCB-gcode<\/a> to generate gcode from the traces. There are a number of settings to specify depths, tool settings, speeds, etc. but it is fairly self-explanatory.<\/p>\n<p><a href=\"http:\/\/jmillerid.com\/wordpress\/wp-content\/uploads\/2012\/01\/PCB-GCODE_screenshot.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-534\" title=\"PCB-GCODE screenshot\" src=\"http:\/\/jmillerid.com\/wordpress\/wp-content\/uploads\/2012\/01\/PCB-GCODE_screenshot.jpg\" alt=\"PCB-GCODE screenshot\" width=\"563\" height=\"392\" srcset=\"https:\/\/www.jmillerid.com\/wordpress\/wp-content\/uploads\/2012\/01\/PCB-GCODE_screenshot.jpg 880w, https:\/\/www.jmillerid.com\/wordpress\/wp-content\/uploads\/2012\/01\/PCB-GCODE_screenshot-300x208.jpg 300w\" sizes=\"(max-width: 563px) 100vw, 563px\" \/><\/a><\/p>\n<p>I chose some pretty basic settings, which resulted in the following preview:<\/p>\n<p><a href=\"http:\/\/jmillerid.com\/wordpress\/wp-content\/uploads\/2012\/01\/PCB-GCODE_screenshot2.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-535\" title=\"PC board layout in PCB-GCODE\" src=\"http:\/\/jmillerid.com\/wordpress\/wp-content\/uploads\/2012\/01\/PCB-GCODE_screenshot2.jpg\" alt=\"PC board layout in PCB-GCODE\" width=\"563\" height=\"439\" srcset=\"https:\/\/www.jmillerid.com\/wordpress\/wp-content\/uploads\/2012\/01\/PCB-GCODE_screenshot2.jpg 804w, https:\/\/www.jmillerid.com\/wordpress\/wp-content\/uploads\/2012\/01\/PCB-GCODE_screenshot2-300x233.jpg 300w\" sizes=\"(max-width: 563px) 100vw, 563px\" \/><\/a><\/p>\n<p>I was never able to figure out how to generate the outlines using PCB-gcode, so I re-drew them in Mastercam and went from there. PCB-gcode is supposed to have that ability but there appear to be some bugs in the software that limit its ability to deal with circles and arcs. If anyone has made better progress than me I&#8217;d love to hear about it.<\/p>\n<p><a class=\"tt-flickr tt-flickr-Large\" title=\"CNC machining a PCB\" href=\"http:\/\/www.flickr.com\/photos\/jmillerid\/6710510339\/\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft\" title=\"CNC machining a PCB on G0704 CNC mill\" src=\"http:\/\/farm8.staticflickr.com\/7146\/6710510339_fbe4ff1d5c_b.jpg\" alt=\"CNC machining a PCB on G0704 CNC mill\" width=\"332\" height=\"430\" \/><\/a> Anyway the final product came out pretty good. I was pretty pleased with myself having tightened up the backlash to only .004&#8243; per axis, but after machining .024&#8243; wide traces I realized how bad that is. Under the right circumstances this is a good technique to save time, but I wouldn&#8217;t try to machine extremely fine traces or tight-pitched pads until I work those last few thousandths of backlash out of my machine.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>[flickr video=6710516711]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of my goals for the CNC mill has been to help fabricate PC boards, primarily in terms of cutting out the overall shape and drilling any through holes. For simple boards, however, it is possible to machine the circuit traces into the copper and avoid the entire photo-etching process altogether. I recently had a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[38,33],"tags":[35,42,34,23],"_links":{"self":[{"href":"https:\/\/www.jmillerid.com\/wordpress\/wp-json\/wp\/v2\/posts\/529"}],"collection":[{"href":"https:\/\/www.jmillerid.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jmillerid.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jmillerid.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jmillerid.com\/wordpress\/wp-json\/wp\/v2\/comments?post=529"}],"version-history":[{"count":9,"href":"https:\/\/www.jmillerid.com\/wordpress\/wp-json\/wp\/v2\/posts\/529\/revisions"}],"predecessor-version":[{"id":571,"href":"https:\/\/www.jmillerid.com\/wordpress\/wp-json\/wp\/v2\/posts\/529\/revisions\/571"}],"wp:attachment":[{"href":"https:\/\/www.jmillerid.com\/wordpress\/wp-json\/wp\/v2\/media?parent=529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jmillerid.com\/wordpress\/wp-json\/wp\/v2\/categories?post=529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jmillerid.com\/wordpress\/wp-json\/wp\/v2\/tags?post=529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}