How can an LED know when a dark Irish evening has set in?
When dusk falls outside your window, a night light can come on without anyone touching a switch. Here’s the puzzle: how can a sensor that changes resistance gradually make an LED go from off to on?
Start on the left. The bar marks the diode’s cathode, and the two arrows pointing away tell you this diode emits light. On the right, the rectangle is a resistor. Put it in series with the LED to limit the current.
Use this simplified drawing alongside Electronics Club’s dark-operated switch. On the left, the fixed resistor and the light-dependent resistor form a potential divider. Follow their junction to the transistor’s base. On the right, trace a separate path from the positive rail through the resistor, LED, collector and emitter to zero volts.
Start in bright light with the transistor in cut-off. Now shade the L D R a little. Before the transistor starts to conduct appreciably, what happens to its base voltage? Pick the answer that follows from where the L D R is connected.
In bright light, the L D R has low resistance. The base voltage is low, so there’s negligible base current. The transistor is in cut-off and the LED is off. In darkness, the L D R’s resistance rises. If enough base current flows, the transistor conducts strongly and the LED lights.
You want ten milliamperes. With the transistor fully on, subtract its estimated drop of zero point two volts and the LED’s two point zero volts from six volts. Convert ten milliamperes to zero point zero one zero amperes. Divide the remaining three point eight volts by that current to estimate the resistance.
Now use a nine volt supply. Keep the same estimates: two volts across the LED and zero point two volts across the fully on transistor. Which series resistor gives about ten milliamperes in the LED branch? Pick an answer.
Put a one N four one four eight diode in series with a one kilohm resistor. Increase the supply from zero to five volts in steps. Measure both voltage drops. Divide the resistor’s voltage by its resistance to find the current. Switch off, reverse the diode and repeat the measurements.
Plot diode current against diode voltage, using negative values for reverse bias. Compare your forward curve with the one in Vishay’s datasheet. Its changing slope shows non-ohmic behaviour. Your meter may show zero in reverse. Vishay specifies at most twenty-five nanoamps at twenty volts reverse bias and twenty-five degrees Celsius.
If you’re asked to explain how the lamp switches on automatically in darkness, start with the rise in L D R resistance. That raises the base voltage so enough base current can flow. The transistor then conducts, and the series resistor limits the LED current. That current does not pass through the sensor.