Author Topic: Eagle PCB Layout Editor PNP Transistor E and C pins swapped?  (Read 6133 times)

0 Members and 1 Guest are viewing this topic.

Offline DrifterNLTopic starter

  • Newbie
  • Posts: 3
  • Country: nl
Device -> BC557B-PNP-TO92-EBC (*-PNP-)
Package -> TO92-EBC
Library -> transistor

Are the E and C pins swapped somehow when you design the board?
The orientation of the transistor (silk screen) on the board doesn't comply to datasheets of the above mentioned device.
It was quite frustrating after I soldered the electronics in according to the silkscreen just to find out something didn't work and after looking up a data sheet on the BC557B that the transistor had to be turned around 180 degrees (flat face toward the round part of the silkscreen) while the schematic is good.
 
 

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2214
  • Country: 00
Re: Eagle PCB Layout Editor PNP Transistor E and C pins swapped?
« Reply #1 on: June 19, 2016, 07:37:44 am »
The library is correct. The problem must be somewhere else.

Edit: This part is not in transistor.lbr, it's in transistor-pnp.lbr.

Also, never use libraries which aren't made by yourself. And if you do insist on using second or third party libs, check them twice!

« Last Edit: June 19, 2016, 07:43:07 am by Karel »
 
The following users thanked this post: DrifterNL

Offline jpanhalt

  • Super Contributor
  • ***
  • Posts: 3395
  • Country: us
Re: Eagle PCB Layout Editor PNP Transistor E and C pins swapped?
« Reply #2 on: June 19, 2016, 08:25:05 am »
Are you sure there is not a mirroring problem as can be created by inadvertently switching between top and bottom layers?  Can you snip the portion of the board with the problem and post it here?

John
 
The following users thanked this post: DrifterNL

Offline rob77

  • Super Contributor
  • ***
  • Posts: 2085
  • Country: sk
Re: Eagle PCB Layout Editor PNP Transistor E and C pins swapped?
« Reply #3 on: June 19, 2016, 08:40:31 am »
i bet on the mirrored component too ;)
if you mirror a component in board editor you effectively switching the mounting side of that component (e.g. when doing a single-sided THT + SMD mixed design, you mirror all the SMD parts to get them to the bottom side).
 
The following users thanked this post: DrifterNL

Offline DrifterNLTopic starter

  • Newbie
  • Posts: 3
  • Country: nl
Re: Eagle PCB Layout Editor PNP Transistor E and C pins swapped?
« Reply #4 on: June 19, 2016, 10:29:58 am »
Thanks for the responses.
I believe the library came with the software but I'm not completely sure anymore.
I also checked if I had inadvertently switched the component side (mirrored) but it's all good.
It has been confirmed by two members on another forum that that library is indeed incorrect with one member finding even more PNP transistors with the TO92 package that are incorrect and the other member stating it has been incorrect for a long time.
Picture below shows part of the schematic, board (blue top left is Vcc) and transistor in the working circuit.
« Last Edit: June 19, 2016, 10:51:07 am by DrifterNL »
 

Offline jpanhalt

  • Super Contributor
  • ***
  • Posts: 3395
  • Country: us
Re: Eagle PCB Layout Editor PNP Transistor E and C pins swapped?
« Reply #5 on: June 19, 2016, 10:58:34 am »
Interesting.  The Fairchild datasheet shows CBE going left to right looking from the top w/ flat facing you:



My version of Eagle (7.2) shows the same pinout.



I then drew a schematic with a capacitor attached to the emitter and resistor attached to the collector:



The connections look OK.  The attachments are in the order mentioned in text.   How do we insert in text as is done on most other sites?

John
 
The following users thanked this post: DrifterNL

Offline DrifterNLTopic starter

  • Newbie
  • Posts: 3
  • Country: nl
Re: Eagle PCB Layout Editor PNP Transistor E and C pins swapped?
« Reply #6 on: June 19, 2016, 11:24:44 am »
Found this datasheet with a good drawing of the transistor with pinouts and symbol -> http://pdf.datasheetcatalog.com/datasheet2/5/0qsl0963l7i0pw6dwpsgdj3890wy.pdf

EDIT:
With the PNP Emitter (3) connected to Vcc (+5V), Collector (1) connected to the relay and then through to GND, the flat side of the transistor would be facing right but the silkscreen shows it facing left (post #5) .  :-//

If the Transistor was an NPN, the silkscreen would have been correct.
« Last Edit: June 19, 2016, 12:17:41 pm by DrifterNL »
 

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2214
  • Country: 00
Re: Eagle PCB Layout Editor PNP Transistor E and C pins swapped?
« Reply #7 on: June 19, 2016, 02:35:20 pm »
It has been confirmed by two members on another forum that that library is indeed incorrect with one member finding even more PNP transistors with the TO92 package that are incorrect and the other member stating it has been incorrect for a long time.

Can you please point me to the library that comes with the Eagle program that has an incorrect footprint for this transistor?
Because at least with V6 and V7, the footprint of this transistor is correct.

Again, always create your own libraries or double check.
It's never the fault of the library, it's the fault of the person who didn't check twice.

Edit: Found it, there's indeed an error in transistor.lbr.

« Last Edit: June 19, 2016, 03:58:06 pm by Karel »
 
The following users thanked this post: DrifterNL


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf