maybe this is common knowledge but I learned/saw something interesting today. I still don't fully understand it, but here is what I did:
I'd bought a 2N2222 transistor, and was unsure which end was emitter and which the collector. I don't know much about transistors, so I decided to just play with both options. So I set things up like this on my breadboard first:
battery + -> 200 Ohm R -> LED -> one random end of 2N2222 -> other end of 2N2222 -> battery GND
and from the base of 2N2222, I put a resistor (100 kiloOhm, thinking to limit the current)
from there I was ABOUT to connect a wire from this resistor's end when my finger accidentally touched the resistor (which at this point only had one end connected to the base of the transistor; the other end was just floating). And every time I touched the resistor, the LED lit up!
it was pretty cool to see it. now trying to read up some theory, but wanted to report here first! here are doubts that I hope to clarify:
1) why did this touch thing happen? it was like an Iphone screen-touch effect when it first happened... although I know iphone displays use capacitor-related stuff. it can't be magic/mistakes; human body conduction maybe, but current needs TWO endpoints to flow... can't put a full story together..
2) when I exactly reversed the transistor's collector-emitter order from the above test, the same effect still happened but the LED was lit much more dimly when I touched the floating resistor. assuming the other collector-emitter order was correct, why did the LED still light up at all in this reversed order case? and why dimmer?
3) and finally, is there a quick(er) way of knowing (without datasheet) which end is emitter, which the collector of a transistor like this? I believe there is supposed to be a diode effect happening between each end and the base, so perhaps I could test something related to the current direction?