In this circuit, the diode is supposed to force a higher input voltage to turn the LED on, however when I created it on a breadboard I measured about the same input voltage (without the diode) to turn the LED on. My lab assignment then provides the second circuit with the diode grounded to the emitter terminal with a 330 Ohm resistor, which solves the issue and makes the input voltage to be higher than it was previously by about the turn on voltage of the diode. I don't understand how putting the resistor in place could solve the issue at hand.
Rb = 20K Ohm, Rc = 270 Ohm, Diode(1N4148), 2N3904 Si BJT Assuming BJT β =200 for calculations, 351-3230-RC LED (Vγ = 1.7V).
Best Answer
Here's the LTspice sim, edited a little so you can see what's going on without running the code:
and here's the code: