{"id":129,"date":"2009-12-05T16:54:34","date_gmt":"2009-12-05T21:54:34","guid":{"rendered":"http:\/\/ec2-50-16-52-214.compute-1.amazonaws.com\/?p=129"},"modified":"2012-04-19T22:33:09","modified_gmt":"2012-04-20T03:33:09","slug":"eaglecad-and-advanced-circuits","status":"publish","type":"post","link":"https:\/\/bardagjy.com\/?p=129","title":{"rendered":"EagleCAD and Advanced Circuits"},"content":{"rendered":"<div id=\"attachment_131\" style=\"width: 620px\" class=\"wp-caption alignnone\"><a href=\"wp-content\/uploads\/2011\/02\/ratsnest.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-131\" src=\"wp-content\/uploads\/2011\/02\/ratsnest.png\" alt=\"Ratsnest\" title=\"Ratsnest\" width=\"610\" class=\"size-full wp-image-131\" \/><\/a><p id=\"caption-attachment-131\" class=\"wp-caption-text\">Ouch. <\/p><\/div>\n<p><b>UPDATE<\/b> I have posted an automated tools for gerber export <a href=\"http:\/\/bardagjy.com\/?p=563\">here<\/a> <b>UPDATE<\/b> <\/p>\n<p>So congratulations! You just routed 3000 nets and placed 250 components! You are probably going a little crazy, seeing things that could be placed more efficiently and thinking about how you would route them. Well you&#8217;re not out of the woods yet! You&#8217;ve got at least another few hours of generating gerbers, panelizing them and passing DFM, and you&#8217;ve got a few hours of finding and ordering all the components on your parts list. <\/p>\n<p>These notes are relative to EAGLE CAD and Advanced Circuits (including 33each\/barebones). The instructions follow for most other board houses.<\/p>\n<p>I&#8217;ll talk about gerbmerge in another post.<\/p>\n<h2>Passing DRC<\/h2>\n<div id=\"attachment_142\" style=\"width: 148px\" class=\"wp-caption alignleft\"><a href=\"wp-content\/uploads\/2009\/12\/drc.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-142\" src=\"wp-content\/uploads\/2009\/12\/drc.png\" alt=\"DRC\" title=\"DRC\" width=\"138\" height=\"132\" class=\"size-full wp-image-142\" \/><\/a><p id=\"caption-attachment-142\" class=\"wp-caption-text\">DRC<\/p><\/div>\n<p>This should be no big deal because you have been regularly checking DRC (Design Rule Check) in Eagle right? This of course requires that you have a properly setup DRC file for whatever process you are using. You can get mine for Advanced PCB (and 33 each) <a href=\"wp-content\/uploads\/2009\/12\/advanced.dru\">here<\/a>. They allow 6 mil trace width, 6 mil spacing and 15 mil minimum drill size. <\/p>\n<p>Of course, when routing a board, <b>do not<\/b> use the minimum trace widths and spacings <b>unless you have to!<\/b> There is no sense in pushing their manufacturing process if you don&#8217;t need to. Thinner traces and spacings may get fargled up in fabrication and you may have electrical errors.<\/p>\n<h2>Generating Gerbers<\/h2>\n<div id=\"attachment_147\" style=\"width: 190px\" class=\"wp-caption alignright\"><a href=\"wp-content\/uploads\/2009\/12\/Untitled.001.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-147\" src=\"wp-content\/uploads\/2009\/12\/Untitled.001.png\" alt=\"Layers\" title=\"Layers\" width=\"180\" class=\"size-full wp-image-147\" \/><\/a><p id=\"caption-attachment-147\" class=\"wp-caption-text\">Advanced PCB Layers<\/p><\/div>\n<p>\nFirst, in the command line, run drillcfg to generate a .drl file. This tells the manufacturer which drill bit to use for which hole size. Some manufacturers only have a certain list of drill sizes they support, you can edit this file (carefully) such that the drill sizes match which drills which are available.\n<\/p>\n<p>\nNext, create excellon drill files by clicking <b>file -> cam<\/b> or press the <b>cam<\/b> button. This will open the CAM processor. The cam processor turns the board layout into instructions for a numerically controlled machine (NC).\n<\/p>\n<p>\nTo generate the drill files, from within the CAM dialog, select <b>file -> open -> job<\/b>. Select excellon.cam. Press process job. This will generate .drl and .drd files.\n<\/p>\n<p>\nTo create Gerber files for Advanced circuits, download <a href=\"wp-content\/uploads\/2009\/12\/advance.cam\">advance.cam<\/a> and place it in the Eagle CAM folder. From the CAM dialog, go to <b>file -> open -> job<\/b> select advance.cam. Press process job. This generates .cmp, .sol, .stc, .sts, .plc, and .pls files.\n<\/p>\n<p>\nIf you prefer to use 33each (which is only the top and bottom copper) use <a href=\"wp-content\/uploads\/2009\/12\/barebones.cam\">this<\/a> cam file.\n<\/p>\n<p>\nUse gerbv to preview those files. Make sure that none of the layers are mirrored or flipped. Zip up the above list of files and submit them to <a href=\"http:\/\/freedfm.com\">freedfm<\/a> to check your files for manufacturing problems.\n<\/p>\n<p>\nWhen the report comes back and you&#8217;ve fixed all the errors, you can choose to submit those files for manufacture or you can submit them to another manufacturer. I prefer using <a href=\"http:\/\/33each.com\">33each<\/a> (an Advance Circuits deal) for quick prototypes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UPDATE I have posted an automated tools for gerber export here UPDATE So congratulations! You just routed 3000 nets and placed 250 components! You are probably going a little crazy, seeing things that could be placed more efficiently and thinking about how you would route them. Well you&#8217;re not out of the woods yet! You&#8217;ve [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":130,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[19],"tags":[22,20],"_links":{"self":[{"href":"https:\/\/bardagjy.com\/index.php?rest_route=\/wp\/v2\/posts\/129"}],"collection":[{"href":"https:\/\/bardagjy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bardagjy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bardagjy.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bardagjy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=129"}],"version-history":[{"count":27,"href":"https:\/\/bardagjy.com\/index.php?rest_route=\/wp\/v2\/posts\/129\/revisions"}],"predecessor-version":[{"id":186,"href":"https:\/\/bardagjy.com\/index.php?rest_route=\/wp\/v2\/posts\/129\/revisions\/186"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bardagjy.com\/index.php?rest_route=\/wp\/v2\/media\/130"}],"wp:attachment":[{"href":"https:\/\/bardagjy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bardagjy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bardagjy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}