FollowingI am following a very simple schematic which is a NOT gate with a push button as input and the. The output is used to drive the base of a second transistor that turns on aan LED:
This circuit works perfectly fine when two BC547A transistors are used:
If the push button is NOT pressed, the LED is on, otherwise off - like it is expected with a NOT gate.
But ifIf I switch the two transistors againstfor 2N3904, it does not work anymore and the LED stays always off.
Both, the BC547A and 2N3904, are simple NPN general purpose transistors and up. Up until now I was under the impression that they could be exchanged with each other pretty much always. Apparently, I was wrong, but would really like to understand what causes the difference in this very simple circuit to make one of them work and the other one not.
To be as precise as possible, that'shere are the data sheetsdatasheets of the two transistors used during testing:
- 2N3904: https://www.mouser.de/datasheet/2/849/2n3904-2577234.pdf2N3904
- BC547A: https://asset.conrad.com/media10/add/160267/c1/-/en/000154709DS01/datenblatt-154709-diotec-transistor-bjt-diskret-bc547a-to-92-anzahl-kanaele-1-npn.pdfBC547A
Thanks in advance for any tip on this matter!
P. S.: It's clear that the NOT gate could drive the LED directly, this is just a test setup to use the output of the gate to drive another transistor.