Eagle PCB Layout Editor PNP Transistor E and C pins swapped?  - Page 1
Forum section: electronics / general

author: DrifterNL
author_rank: Newbie
timestamp: June 18, 2016, 07:18:37 pm
content: Device -> BC557B-PNP-TO92-EBC (*-PNP-)Package -> TO92-EBCLibrary -> transistorAre 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.

author: Karel
author_rank: Super Contributor
timestamp: June 19, 2016, 07:37:44 am
content: 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!

author: jpanhalt
author_rank: Super Contributor
timestamp: June 19, 2016, 08:25:05 am
content: 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

author: rob77
author_rank: Super Contributor
timestamp: June 19, 2016, 08:40:31 am
content: i bet on the mirrored component tooif 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).

author: DrifterNL
author_rank: Newbie
timestamp: June 19, 2016, 10:29:58 am
content: 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 indeedincorrectwith 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.

author: jpanhalt
author_rank: Super Contributor
timestamp: June 19, 2016, 10:58:34 am
content: 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

author: DrifterNL
author_rank: Newbie
timestamp: June 19, 2016, 11:24:44 am
content: Found this datasheet with a good drawing of the transistor with pinouts and symbol ->http://pdf.datasheetcatalog.com/datasheet2/5/0qsl0963l7i0pw6dwpsgdj3890wy.pdfEDIT: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.

author: Karel
author_rank: Super Contributor
timestamp: June 19, 2016, 02:35:20 pm
content: Quote from: DrifterNL on June 19, 2016, 10:29:58 amCan 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.