[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: Broken TO92 footprint
DJ Delorie <dj@xxxxxxxxxxx> writes:
>> The TO92 package has well define pin numbers. The mapping from
>> transistor pins to footprint pins should happen in the schematic.
>
> Worse, the mapping from EBC to 123 is *different* for different
> transistors using the TO-92 case.
>
> Compare 2N3904 - E-B-C
> 2SC2631 - E-C-B
The package pin numbers are well defined: 1-2-3. The Symbol on the
schematic should tell which (numeric) package pin conects to which
transitor contact. There are also FETs in that package.
I'd still use slotting for this in generic symbols. I've made a quick
generic NPN symbol that demonstrates how I think generic symbols may
work.
gschem GUI may need an additional feature in the attibute editor: When
editing an attribute "NAME", it shall offer a dropdown menu of choices
given in the attibute "NAMEs" (or some other less ambiguous mangling of
NAME).
v 20110115 2
P 600 1000 600 800 1 0 0
{
T 500 850 5 6 1 1 0 0 1
pinnumber=1
T 700 850 5 6 0 0 0 0 1
pinseq=1
T 400 850 5 6 0 1 0 0 1
pinlabel=C
T 700 950 5 6 0 1 0 0 1
pintype=pas
}
P 600 200 600 0 1 0 1
{
T 500 50 5 6 1 1 0 0 1
pinnumber=3
T 700 50 5 6 0 0 0 0 1
pinseq=3
T 400 50 5 6 0 1 0 0 1
pinlabel=E
T 700 150 5 6 0 1 0 0 1
pintype=pas
}
V 500 501 316 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
T 900 700 5 10 0 0 0 0 1
device=NPN
L 600 200 400 400 3 0 0 0 -1 -1
L 600 800 400 600 3 0 0 0 -1 -1
L 400 700 400 300 3 0 0 0 -1 -1
P 0 500 184 500 1 0 0
{
T 100 550 5 6 1 1 0 0 1
pinnumber=2
T 200 550 5 6 0 0 0 0 1
pinseq=2
T 0 550 5 6 0 1 0 0 1
pinlabel=B
T 200 650 5 6 0 1 0 0 1
pintype=pas
}
L 400 500 184 500 3 0 0 0 -1 -1
L 600 200 564 272 3 0 0 0 -1 -1
L 600 200 528 236 3 0 0 0 -1 -1
L 528 236 564 272 3 0 0 0 -1 -1
T 900 500 8 10 1 1 0 0 1
refdes=Q?
T 1300 500 5 10 0 0 0 0 1
footprint=?
T 0 1500 8 10 0 0 0 0 1
numslots=6
T 0 1300 8 10 0 1 0 0 1
slotdef=1:1,2,3
T 0 1100 8 10 0 1 0 0 1
slotdef=2\:1,3,2
T 700 1100 8 10 0 1 0 0 1
slotdef=3:2,1,3
T 700 1300 8 10 0 1 0 0 1
slotdef=4:2,3,1
T 1400 1300 8 10 0 1 0 0 1
slotdef=5:3,1,2
T 1400 1100 8 10 0 1 0 0 1
slotdef=6:3,2,1
T 1400 1500 8 10 0 0 0 0 1
slot=1
T 900 300 8 10 0 1 0 0 1
footprints=SOT23,TO92,TO220
T 0 1700 8 10 0 0 0 0 1
slotmode=alternatives
T 0 1900 8 10 0 0 0 0 1
promote=slot,device,refdes,footprint
--
Stephan
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user