Difference between revisions of "PCB Design"

From ivc wiki
Jump to navigationJump to search
Line 4: Line 4:


== Setup ==
== Setup ==
* Eagle parts libraries:
** [https://github.com/sparkfun/SparkFun-Eagle-Library SparkFun Eagle Library]
*** Includes most of the parts SparkFun offer ont their website
** [https://github.com/adafruit/Adafruit-Eagle-Library Adafruit Eagle Library]
*** Ladyada has made a library for most of the parts used in their tutorials
* CAM, Computer Aided Manufacturing, processing files
* CAM, Computer Aided Manufacturing, processing files
** [http://www.sparkfun.com/tutorial/BeginningEmbedded/9-EaglePCBs/sfe-gerb274x.cam SparkFun CAM]
** [http://www.sparkfun.com/tutorial/BeginningEmbedded/9-EaglePCBs/sfe-gerb274x.cam SparkFun CAM]
Line 15: Line 20:
*** gtp - Top solder paste stensil, only needed for assembly of parts to the board
*** gtp - Top solder paste stensil, only needed for assembly of parts to the board
*** txt - Drill coordinates, for vias and mounting holes
*** txt - Drill coordinates, for vias and mounting holes
* Eagle parts libraries:
** [https://github.com/sparkfun/SparkFun-Eagle-Library SparkFun Eagle Library]
*** Includes most of the parts SparkFun offer ont their website
** [https://github.com/adafruit/Adafruit-Eagle-Library Adafruit Eagle Library]
*** Ladyada has made a library for most of the parts used in their tutorials


== Good practices ==
== Good practices ==

Revision as of 11:49, 30 January 2011

The the prototyping is done, putting the design proper PCB board makes it more rigid and possible to offer unassembled kits. The process is mostly straight forward but the design process to lay out the board requires some time to get right.

Eagle will be used here, it's cross platform and great part libraries.

Setup

  • Eagle parts libraries:
  • CAM, Computer Aided Manufacturing, processing files
    • SparkFun CAM
    • Creates the proper gerber files for manufacturing:
      • glt - Top copper layer, main traces
      • gbl - Bottom copper layer, same bottom
      • gto - Top silkscreen, all text, lines, illustrations can be painted on top of the soldermask
      • gbo - Bottom silkscreen, same bottom
      • gts - Top soldermask, where to put tin/gold plated pads and mask all other green/other color
      • gbs - Bottom soldermask, same bottom
      • gtp - Top solder paste stensil, only needed for assembly of parts to the board
      • txt - Drill coordinates, for vias and mounting holes

Good practices

Some of these guidelines can be used in the Design Rules property window in Eagle. The PCB manufacturer normally provide a list of minimum requirements for their equipment/method.

  • Traces:
    • Signal width: 12-16 mils / 0.254-0.4064 mm - avoid bridging of traces
    • Power width: 16-20 mils / 0.4064-0.508 mm - allow vcc and ground to flow currents
  • Clearance and spacing between trace, pad, via:
    • Width: 10 mils / 0.254 mm
  • Via drill size:
    • Diameter: 30 mils / 0.762 mm - proper connection between layers
  • Distance to board edge:
    • Isolation: 12-50 mils / 0.3048-12.7 mm - for clean cut or v-score of the boards
  • Soldermask:
    • Limit: 32 mils - little higher than vias to cover them with the mask instead of tin/gold plating
  • Labels:
    • Add silkscreen labels to all connections and interfacing points
  • Ground pour:
    • Add a final rectangular polygon plane over the entire design and click Ratsnest - avoid board warping, better ground and signal conditions

PCB Manufacturers

A great place to start is Ladyada's PCB cost calculator.

  • BatchPCB - Easy and cheap for small boards

Board config

  • FR4 - Stands for Flame Retardant and 4 means woven glass reinforced epoxy resin
    • Standard 1.5 mm thickness

Tools

  • Eagle - Connect schematic and design PCB board layout
  • Viewplot - View the files coming out of Eagle for verification