Get your PCBs made
(→Polygon fill isolation)
|Line 107:||Line 107:|
==Zip up the files==
==Zip up the files==
Revision as of 11:56, 14 February 2012
Under construction: PCB making guide
There are many inexpensive PCB services around. Seeed Studio (our preferred) and ITead Studio make two-sided PCBs with the works starting at $1 per 5x5cm PCB. Both use the same prototyping PCB factory in Shenzhen China. Turnaround is fast, shipping starts at $3.
Others like DorkBotBox, BatchPCB, etc. pool up multiple orders and send them to the fab. Laen at DorkBotPBX offers purple PCBs that have been quite popular.
We wanted to write a tutorial on how to get your PCB manufactured using these cheap services from source Eagle files.
Check for airwires
First check if all yore connections are on the board. To do this you'll need the zoom-unrouted script.
- Download the zoom-unrouted.ulp
- Run it. (File > Run... > zoom-unrouted.ulp)
- Connect the air-wire, if any is found.
- Re-Run the script, and keep repeating until no air-wires are found.
Polygon fill isolation
A common error on cheap PCBs is when the ground fill crosses to a trace. If you have filled polygons on your board, be sure to increase the isolation to at-least 12mils(16+ recommended). This is done by right clicking on a polygon's edge and going to Properties > Isolate.
Design rule check
Before sending your files to be manufactured you have make sure your design is within the specifications of the PCB service you will be using. To help you with this, the associated PCB service provides Design Rule Check files for Eagle. Grab a design rule file from your prefered PCB maker:
To run a DRC follow these steps:
- Open your PCB layout in Eagle
- Go to Tools > DRC... A DRC window will open from which you can load the manufacturers .dru file you previously downloaded. From this window you can also make adjustment to the various design specifications like minimum trace width (Sizes > Minimum Width), and trace clearance (Clearance). It is usually a good idea to increase these two settings a few mils if your board doesn't require absolute minimum the board house can produce.
- Once you've set it up just click (Check).
The DRC will scan your board and log all the errors on your board that go outside the scope of the specifications. By clicking on various log entries the portion of the board where they occur will be zoomed in, and the error in question highlighted. You go through them one by one. Once you've fixed all the errors you simply re-run the DRC again and check if everything is alright.
Once you are sure your board is electrically sound, and that it falls within the manufacturing specifications of your PCB service you need to generate files that the manufacturer can use for production. These files are called Gerbers. To generate them PCB manufacturers provide a .CAM file.
Grab the CAM file for your preferred PCB maker:
Follow these steps to build gerber files:
- Start the CAM processor (File > CAM Processor). A CAM Processor window will pop-up.
- Go to File > Open > Job... and point to the previously downloaded .cam file.
- Once it is loaded, just click on the process job button.
- The gerber files will be saved in the same directory your source Eagle files are.
The generated files are representations of various layers the manufacturer requires for building PCBs. The files you need to manufacture your boards are:
|TXT||Routing and Drill|
Check the files before sending them to the PCB house. To view them you'll need a Gerber viewer. Here are some free ones:
We use ViewPlot, and here is how to set it up to view your files.
- Start it up.
- Go to File > Load Files, select the 7 above mentioned files, and click "Open".
- A window with a list of the files will pop-up, click "OK".
- Another pop up screen will show up, here you need to select the "Leading zero suppression" radio button, and select "2 4", and then click OK.
You should get a similar image to the one below. From there you can scroll through the layers in the lower left corner drop down menu.
Look for any errors in the board you can spot. More common ones are: Problems with the footprint, the solder pad is sometimes buried by mask. Drills outside board or flipped. CAM didn’t export expected silkscreen layers. Evaluating not only whether a silkscreen is present, but if it’s legable (size, location, etc). For the more complicated footprints, its useful for evaluating exactly where masks are applied. Quickly seeing whether all of the vias on a board are tented or not. On output from older design packages, it was sometimes necessary to double check copper fills, but this generally isn’t a problem with current ECAD packages. One last doublecheck to make sure soldermask is on the correct side for the correct component (PCB’s that have components on both sides).
Zip up the files
Put it in an archive. We include a readme.txt with....
For Seeed Studio and Itead order the PCB online and email the files. BatchPCB has a web interface, DorkBotPCX has XXXXX.
Get your boards
In our experience, services take about this long:
- Seeed Studio
- ITead Studio
Seeed and ITead offer cheaper boards if you only test 50% of them. The tested boards will be wrapped in masking tape and/or marked on the side with a marker.
How to inspect the board, what to look for (via alignment, shorts, missing traces, etc, example images from the forum).