Grumpy_Mike:
Looks fine, but as you do not say what transistor you have it is impossible to say if the collector and emitter have been swapped over. If you do swap them over the transistor still works only the gain is drastically reduced.
I just have the packaging from the transistor. It says: Mfg P/N: 2N3904 BJT NPN.
I didn't look up the data sheet on the transistor, I just used one I had laying around. I know the transistor is positioned correctly, because the EBC pins are marked on the case. The schematic didn't call for a specific transistor, so I just randomly grabbed one.
My other goal with this was to try and figure out what a transistor really did. I have an encyclopedia set for electronic components. I was reading the section on transistors today. Some of it is pretty technical so I didn't understand it.
I just got done learning about machine language in class. I learned about how computers are made up of millions of transistors, which are 2-state switches. So I wanted to use a transistor to see it in action.
The schematic confuses me, because I don't see anything useful with it. When I press the switch, the LED comes on, but I can do that exact same thing with a switch, resistor, and LED, throwing away all of the other components, including the transistor.
So basically, what I am getting from this, is that the transistor is nothing more than a simple switch (in this schematic). You can use a transistor when you want the computer to open/close a circuit. It's the exact same thing as the push button switch I am using, except the push button switch has a external button that can be opened/closed by a person, instead of a computer.
In this case, the transistor was used with a push button switch (for demonstration) only because there was no other way to activate the transistor. Hooking the positive wire directly up to the collector would cause the circuit to be permanently closed.
Hopefully, I am understanding it correctly.
The second thing that confuses me, is the schematic listed specific resistors that needed to be used. Again, I just used some random resistors I had laying around, and the circuit still works. I know one resistor will protect the LED. I have no idea what the other two resistors are for, or why the circuit still works when I used the wrong resistors. What difference would I see if I found the correct resistors?
The last thing, is that 2 resistors are used between the switch, base and ground. What is the point of that? Why not just use a single resistor of a higher Ohm value? 12k Ohm instead of 10k and 2k.
Thank You.