Sensors and transistors
Open the interactive version →CIRCUITS
A sensor such as an LDR or thermistor changes its resistance. In a potential divider that change becomes a voltage, which can switch a transistor and an output on.
Transistor ON: LED lights
IN REAL LIFE
Sun blind: down (bright sunlight)
How it works
LDR
- An LDR (light-dependent resistor) has a high resistance in the dark and a low resistance in bright light.
- In a potential divider its changing resistance makes a changing voltage: V out = V in × R bottom ÷ (R top + R bottom).
- With the LDR at the bottom, the voltage rises as it gets darker, so the LED comes on in the dark (a night light). With the LDR at the top, it comes on in the light.
- The NPN transistor switches on when its base voltage rises above about 0.7 V: a small base current controls a much larger collector current.
Examples
- Dark-activated night light
- Street light
- Automatic sun blind
- Light-activated alarm
See also
V = I × R Current, voltage and resistance Open and closed loop
Check your understanding
What happens to an LDR's resistance as it gets darker?
It increases.
At about what base voltage does a transistor switch on?
About 0.7 V.
Printable worksheet
An A4 sheet to print or save as a PDF: a blank diagram to label, a gap-fill and check questions. There is also an EAL support version.