I'm not an expert mind you, but everywhere I have read 1/10th is the rule of thumb.
A 'rule of thumb' depends on how big your thumb is!
Generally it's a question of stuffing as much current as you can down the base!.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I'm not an expert mind you, but everywhere I have read 1/10th is the rule of thumb.
The ratio of R3 to R2 determines at what minimum input voltage the LED turns on. Your values didn't work (the NPN never fully turned on).
Look at my values:
I'm fairly inexperienced with electronics in general, but I've learned quite a bit over the last many months of self instruction (and some really good help from forums like these). I have one question on transistors whose answer has eluded my normally excellent googling skills, so I figure I would just throw out the question on this forum in hopes of getting an answer.
With a regular 2n3904 transistor, what happens if my base voltage is significantly higher than the voltage that I am switching on the Collector/Emitter? 12V on the base side, 5V on the collector/emitter side.
I've looked at a few javascript simulators I've found online and it says my Ve=11.3V (allowing for the forward voltage drop b to e.). Is this correct? I was worried that the simulators might not handle this "reverse scenario" correctly.
Here's an example scenario:
I have a garage opener button in my garage just outside the back door. It operates on 12V. Close the circuit by mashing the button and the door opens/stops/closes.
I would like to hook up a MCU (Atmel) running at 5V to the button to detect when the button is pressed. All the inputs are max 5V, so I was thinking of using a transistor as a switch. But I worry I'll send ~12V to my MCU inputs, which is grossly out of spec and generally a bad thing.
So, is a transistor just the wrong part for the job if my base voltage is higher? I really want to understand when I can and when I can't use a transistor for such things. What about PNP?
I know there are other solutions like a relay or a solid state relay/optoisolator, which would protect the 5V side from the 12V side. This is more about understanding how a transistor works than figuring out this particular example. I've run into this situation on more than one occasion.