Header Libraries for xcircuit and pcb
Bryce Denney <bryce@tlw.com>
February 19, 2002

This package contains Xcircuit libraries and matching PCB layout elements 
for single-row and dual-row headers.  The following parts are included:

Single row:  1x2 1x3 1x4 1x5 1x6 1x8 1x10 1x12 1x16
Dual row:    2x2 2x3 2x4 2x5 2x6 2x8 2x10 2x12 2x16

Please let me know if you find any problems.

XCIRCUIT SCHEMATIC LIBRARIES

The xcircuit libraries are header-1row.lps and header-2row.lps.  To use them,
start xcircuit, choose File:Load New Library, select the two "lps" files, and
then click Okay.  Now you should see the header libraries on the library
selection page in xcircuit (press "L").

Single row headers look like this:

     J?
   +---+
 --| 1 |
 --| 2 |
 --| 3 |
 --| 4 |
   +---+

There is a visible pin sticking out so that you know which side to
connect things to.  If you flip it by pressing 'f', the pins will go
to the other side.

Dual row headers look like this:

      J?
   +------+
 --| 1  2 |--
 --| 3  4 |--
 --| 5  6 |--
 --| 7  8 |--
   +------+

PCB LAYOUT ELEMENTS

For each of the parts in the xcircuit header libraries, I have drawn
corresponding symbols in Thomas Nau's pcb program, now maintained by Harry
Eaton.  (http://bach.ece.jhu.edu/~haceaton/pcb).

PCB comes with some headers already defined, but it is not a complete set
and it takes time to draw a 1x6 or whatever from scratch.  In pcb, you 
can make elements and copy them into new diagrams, but I haven't found
any way to modify them.  So in these two pcb files, I have included both the
header elements (which are black) but also the parts used to create the
elements so that you can make new elements of any size (1x7).

Files:
  header-1row.pcb
  header-2row.pcb

To insert them into a diagram, zoom out a lot, choose 
"File:Load layout data to paste buffer" and select the appropriate .pcb file.
This will paste the entire contents of the file into your diagram.  Place it
far away from your circuit so that things don't overlap.  Find the part you
want and copy or move it into place, and delete the excess stuff.  IMHO this is
easier than making tons of tiny files containing just one element, and I
haven't figured out how to put elements into pcb's library window.

