Yes. If his only source is a 12VDC power supply, I was planning on using a voltage divider to bring the voltage down to power an LED plus one diode voltage drop (or even use the panel volt meter as some kind of indicator).Don't use a 9V battery on a transistor. It can breakdown the base-emitter junction and damage current gain. Some LEDs can also be damaged by reverse current.
Let's start with where you are now, in terms of what is your electronics and school background?Romania. Looks like I am totally unprepared for the project I started. What should I purchase?
Buy some red LEDs while you're at the store.I have 12 V not 9. Anyway thank you for help. I will buy some resistors of various ohms values. I will return after I obtain the resistors
You can build a diode tester with 2 batteries, a flashlight bulb, and some hardware.I have 12 V not 9. Anyway thank you for help. I will buy some resistors of various ohms values. I will return after I obtain the resistors

Did you take the precautions I mentioned on this issue in another forum?I have a npn 2n2222 TO92 30V maximum transistor. I connected the + of a 12 V DC power source to a led, the led 2nd input to the collector, the base is unplugged and the emitter is connected to the minus of the source. I sketched this in a free app online(sorry if it looks like a 5 year old kid drawing). In the left is the circuit using conventional symbols, in th right is the same thing drawn with real life situation:
View attachment 250377
My question is why is the led lit, when the base is unplugged? It shouldnt allow electricity to flow from collector to emitter if the base unplugged, correct? It looks like it allows and that completes the circuit and lit the led.
In my country we use improvizations and dangerous materials. Just kidding the circuit is alright.Did you take the precautions I mentioned on this issue in another forum?
That makes no sense.I got it working. The problem was with the 12 V DC Transformer. It was broken. I tried with an old laptop charcher that inputs 220 V AC from power outlet and outputs 19V DC. The transistor is working how intended now. Thank you.
LaTeX is a bit of a pain to use, but formulas will be much easier to read if you use it. There's a sticky post in Homework Help that'll get you going. We usually use abbreviations for volts and amps.Amp = Volts dropped / Ohms
19-1.3=17.7(volts to be dropped)
0.5 Amps(the laptop charger) = 17.7 / x ohms
x = 17.7 V / 0.5 Amps
x = 35.4 ohms
It doesnt seem a correct value




https://www.electronicspoint.com/fo...-transistors-as-a-switch.295946/#post-1820165Link, please. We might save some trouble.