Difference between revisions of "Tutorial: Printed-Circuit Boards"

From dftwiki3
Jump to: navigation, search
(Generate the Net-List File)
(FreePCB)
Line 115: Line 115:
 
==FreePCB==
 
==FreePCB==
 
* The official manual for FreePCB is a ''Must-Read'' and can be found [http://www.freepcb.com/freepcb_user_guide.pdf here].
 
* The official manual for FreePCB is a ''Must-Read'' and can be found [http://www.freepcb.com/freepcb_user_guide.pdf here].
 +
* Open '''FreePCB'''
 +
* From the menu, '''File''', '''New''', and create a new project
 +
** Name: '''oscillator'''
 +
** Layers: '''2''' (sufficient for right now)
 +
** accept all the other default value
 +
* Click '''Ok'''
 +
* You should be presented with an empty grid:
  
 +
<br />
 +
<center>
 +
[[Image:FreePCB1.png|500px]]
 +
</center>
 +
<br />
 
<br />
 
<br />
  
 
<br />
 
<br />
 
[[Category:PCB]][[Category:CSC270]][[Category:TinyCAD]][[Category:FreePCB]][[Category:ViewMate]][[Category:PCBExpress]]
 
[[Category:PCB]][[Category:CSC270]][[Category:TinyCAD]][[Category:FreePCB]][[Category:ViewMate]][[Category:PCBExpress]]

Revision as of 10:20, 23 June 2011

Page under construction!
UnderConstruction.jpg

--D. Thiebaut 12:37, 20 June 2011 (EDT)



Software

All are open-source.


Process

  • First create schematics with TinyCAD
  • Then route the lines on a 4-layer board with FreePCB
  • Check the CAM files generated by FreePCB with ViewMate
  • Once the output files are ready, upload them to PCBExpress (accept 4-layers+mask option).

An Example

  • We'll create a PCB for the following simple circuit taken from seekic.com:


7404Oscillator.jpg

TinyCAD

Generating the Schematics

  • Open TinyCAD
  • Open the 74TTL library in the left pane
  • Pick the Hex Inverters
  • Drop two inverters on the blank schematics pane
  • Update the reference for each gate (U1A and U1B) in the Tool Options window.

TinyCAD1.png


  • Open the Analog library, and pick the Resistor, and drop it on the schematics pane where resistors are needed. Use the Tool Options window to set the orientation of the resistors to left.
  • For each resistor, use the Tool Option menu to set the Ref to Rn where n is 1, 2, 3, or 4, and Add a value field to the Parameter list for indicating the value in ohm.

TinyCAD2.png


  • To add the crystal, search for it in the Filter box and pick the X-Crystal symbol.
  • It might be a good time to save your work!


TinyCad3.png


  • Click on the Wire tool button and use the mouse to connect all the component pins together, recreating the wiring of the original circuit.



TinyCad4.png


  • Add out output connector (J0 - Connection Output)



TinyCad5.png


Assigning Packages to Parts

  • Depending on the type of circuits you will be using, you can now edit your different parts and add a new Package field, as illustrated here for the 7404 chip.


TinyCad7.png


  • Refer to the FreePCB documentation for the type of packages supported. Here's the list of packages picked for this project:
U1   14DIP300
Rn   RC06
X1   CK12-B
J0   HOLE_100_SQR_200
(where n in Rn is 1, 2, 3, and 4.)
  • Assigning packages to the parts now will allow the FreePCB, our next software tool to automatically generate footprints for our parts.

Testing

  • Check your design by clicking on Special in the top menu, then Check Design Rules.
  • Accept the defaults and click Check
  • You should get a message indicating that Vcc and GND of the 7404 are not connected.



TinyCad6.png


Generate the Net-List File

  • Using the top menu, click Special, Create PCB Net List, select PADS-PCB for the format, and save to file.
  • You should get the following output:


TinyCAD8.png


  • You are now ready for the second step

FreePCB

  • The official manual for FreePCB is a Must-Read and can be found here.
  • Open FreePCB
  • From the menu, File, New, and create a new project
    • Name: oscillator
    • Layers: 2 (sufficient for right now)
    • accept all the other default value
  • Click Ok
  • You should be presented with an empty grid:


FreePCB1.png