Professional PCBs Almost Cheaper Than Making Them at Home

163,906

162

66

Posted

Introduction: Professional PCBs Almost Cheaper Than Making Them at Home

While there is great satisfaction in home building PCBs, adding up the cost of the blank PCB, etchant and the drill bits comes to over $4 per board. But for $6.25 a board the whole thing can be made professionally. This Instructable takes you through the steps to create the Gerber files that the PCB manufacturers need. The total cost was $75US including shipping for 12 boards. 3 boards would be about US$62.

This Instructable builds on some great work at https://www.instructables.com/id/EXU9BO166NEQHO8XFU (Draw Electronic Schematics with CadSoft EAGLE) and https://www.instructables.com/id/EZ3WN1QUKYES9J5X48 (Turn your Eagle schematic into a PCB). Eagle is free.

Step 1: Designing the Schematic

The full schematic is at http://drvernacula.topcities.com/315_mhz_solar_powered_radio_rptr.htm and is the schematic for a solar powered radio repeater module.

Step 2: Place All the Components

The instructable links on the intro page show how to create a pcb from a schematic using EaglePCB. One main difference is that none of the design rules about track widths need to be changed at all (the drc design rule check). The defaults are all fine and while the tracks look really thin and close to pads it doesn't matter as the green solder mask makes it very easy to solder. In fact, these sorts of boards are much easier than soldering up prototypes. Some big pads were used for connecting external wires and there were a few extra comments added for the white component overlay layer.

The wonderful thing about having boards like this made compared with building homemade boards is you don't have to worry about trying to optimise the autorouter for a single layer. Just run the autorouter once and it defaults to double layer mode and it always produces a 100% design automatically within a few seconds. Even with components a lot denser than this board Eagle always autoroutes the whole board.

Step 3: Fix Any Errors

Sometimes one finds a better component in the library or changes a component. To rip up and replace the tracks click on the ripup symbol (green circle), click on the traffic light (red circle) and then reroute (yellow circle).

Over the last few years I've found a few tips and tricks to making better boards:
1) To get tracks closer - Tools/Auto/General and set the grid to something like 10mil
2) To make data tracks thin but power tracks fatter, Edit/Net (at the bottom) and start typing in a text box to name the class. I use three classes; Gnd, Power and one for all the rest.
3) In DRC, distance/copper dimension change from 40 to 20 - this allows two tracks to fit between IC pads, which can greatly increase board density.
4) In DRC - clearance/pad to via increase from 8 to 40. (leave all the rest at 8mil). This increases the distance between vias and pads so less chance of bridges when soldering. Surprisingly, this also sped up the autorouter too.

Step 4: Create a Drill File

The manufacturer needs to know what drills to use. Eagle has automatically used whatever drill fits the components that have been chosen. Go to File/Run and select the file "drillcfg.ulp". I selected inches rather than mm and that seemed fine with the manufacturer. Click ok then ok again. It will save a file with a .drl extension.

Step 5: Create an Excellon Drill Data File

Click File/Cam Processor

Step 6: Open the Cam Processor

In the Cam Processor click File/Open/Job

Step 7: Select the Excellon File

Select Excellon

Step 8: Click on Process Job

Click on Process Job. This will create some files. Close down this menu with the x at the top right.

Step 9: Create the Gerber Files

Repeat steps 5) and 6) to reopen the CAM processor and this time open the file gerb274x

Step 10: Create the Gerber Files

This is the important bit. You need to click on each one of the tabs circled in green and ensure that Mirror (circled in yellow) is off. As you click through the tabs you will notice the Nr and Layer lines highlighted on the right will change. One default you might want to change is component values - in my copy this was deselected and the silk screen ended up with U20 but not the actual chip - eg an IC might be 74HC04. Click along the tabs to Silk Screen Cmp, and click on 27 tvalues. Once all the mirror boxes are definitely unchecked, click on Process Job (red circle).

Step 11: Collect All the Files and Zip Them Up

I collected 10 files, put them in a temp directory and used winzip to create a single zip file. I have a feeling that one or two of these are not actually needed by the manufacturer but I sent them anyway. The file the manufacturer definitely does not need is the .sch schematic file.

Steps 4-11 are summarised in text format at http://drvernacula.topcities.com/creating_gerber_files_from_eagle.htm

Step 12: View Some of the Files Just to Make Sure

Download a free Gerber file viewer

Step 13: View a Gerber File

The drill files can be viewed with a text editor.

The Gerber files can be viewed with a free Gerber file viewer. I went to the website above and installed Viewmate. It appears in the Start menu of windows as Start/Programs/Pentalogic. In Viewmate I clicked on File\Open and browsed to C:\Program Files\EAGLE-4.16r2\projects\RadioRepeater and at the bottom of the windows changed Files of Type to *.*. As an example this is the .sol solder side file

Step 14: Find a PCB Manufacturer

This company OurPCB is in China and stood out from some of the others in that they freely advertised their price for small quantities. Shipping is FedEx and to the US they quote $22. The $40 above for a 10 sq inch board is for all the 3 boards, not per individual board. At a quantity of 100 the price per board is $1.80 each. They can give a firm quote once they get the zipped files.

These boards arrived in 9 working days. There were a few problems initially with me sending the wrong files (which is mainly why I wrote this Instructable!) and they were very patient and polite from their end. There were also some email problems in that emails coming back were totally blank. I was able to read the source text and at least work out who they were from but I nearly did delete the mail as junk mail. Finally I ended up communicating by Skype text. They all write very good English which is a bit embarrassing as my Mandarin is non existent. My kids are learning Mandarin at school though.

Payment was via Paypal which remains safer than using a credit card (for both parties) and far cheaper than an interbank transfer.

I hope this Instructable is useful. I have built many hundreds of prototype boards over the last twenty years but I think from now on I will be getting boards made professionally.

Share

    Recommendations

    • Microcontroller Contest

      Microcontroller Contest
    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    56 Comments

    Great guidelines. This will help PCB professionals to manufacturing. Very useful walk through.

    Your article mentioned here and I hope to be able to reprint my personal blog: http: //pcb.ui3g.com The Printed Circuit Industries Service, Product and Resource Guide, ok?

    I'd like to recommend a free, zero-install, Web-based EDA tool called EasyEDA which integrates powerful schematic capture, mixed-mode circuit simulation, PCB layout and PCB order service. With it, the process of making PCBs will become much easier and also can save your time and money. Details can be seen by https://easyeda.com/Doc/Tutorial/PCBOrder.htm#PCB-Order

    Also, With EasyEDA, once your done designing the PCB, you click the Fabrication Output button. If you look at the top left corner of the order form, you can download the gerber files free.

    You guys are
    really professional. When I started doing an international project, and I
    contacted Robert of SysPCB in China, always was very attentive and willing to
    give me the necessary help to avoid mistakes, today more than ever I appreciate
    all the time devoted to the project of PCBs and everything I learned from.

    thankyou for the wonderful walkthrough. This is really helpful because communicating with the manufactures about design requirements is really difficult without gerber files.

    How can I get a pcb board to buy?

    We are professional PCB Manufacturer in India. We specially work for small batch qty. shipped the PCB all over world.

    you can visit www.photozonegraphics.com for more details

    Hey, this is one instructable that I have been using as a reference material for the last 3 year, when ever I want to make a gerber file. I keep forgetting what to do while making a gerber file. I think its about time that I thank you. Thanks a bunch for this amazing instructable.

    I'm surprised no one has mentioned SparkFun's batchpcb.com prototype service. They take small orders and combine them into panel orders that are processed by Gold Phoenix. 2 layer boards cost $2.50 per square inch with a $10 setup fee. They're slow, though. Expect to take at least 3 weeks while they gather together a batch order and transit from China, etc. Since they use Golden Phoenix to produce the boards, you already know GP will accept your files when you're ready for a larger batch.