Basic Electronic Components
Senior 3 · Physics
Basic Electronic Components
Lesson 3 of 4
30 min
Some street lamps and security lights switch themselves on at dusk and off at dawn, with nobody touching a switch. Some kettles switch off when the water boils, and a fire alarm sounds when a room gets too hot. Each of these has a sensor, a component whose resistance changes with light or temperature, and a transistor that uses the small signal from the sensor to switch a bigger current. This lesson puts the two together.
Definition
Light-dependent resistor (LDR): a resistor whose resistance falls as the light falling on it gets brighter.
Thermistor: a resistor whose resistance changes with temperature. In the common NTC (negative temperature coefficient) type, resistance falls as temperature rises.
Transistor: a three-terminal semiconductor component in which a small current into the base controls a much larger current from the collector to the emitter. It can act as a switch or as an amplifier.
A sensor's change in resistance is turned into a change in voltage by a potential divider (unit 7): the sensor in series with a fixed resistor across the supply. The voltage across the lower resistor is
| Sensor | Bright or hot | Dark or cold |
|---|---|---|
| LDR (illustrative values) | about 500 Ω in bright light | about 100 kΩ in the dark |
| NTC thermistor (illustrative values) | about 2 kΩ at 60 °C | about 10 kΩ at 25 °C |
Worked example 1: an LDR divider
A 10 kΩ resistor (top) and an LDR (bottom) are in series across 9.0 V. Find the voltage across the LDR in bright light (500 Ω) and in the dark (100 kΩ).
The output is low in the light and high in the dark: just what is needed to switch on a night light.
Worked example 2: a thermistor divider
A thermistor (top) and a 5.0 kΩ resistor (bottom) are across 9.0 V. Find the voltage across the fixed resistor at 25 °C (thermistor 10 kΩ) and at 60 °C (2.0 kΩ).
As the room heats up, the output rises. This can switch on a fan or sound an alarm.
An NPN transistor has three leads: base (b), collector (c) and emitter (e). When the base is less than about 0.7 V above the emitter, almost no base current flows and the transistor is off: no current flows from collector to emitter. When the base voltage rises above about 0.7 V, a small base current flows and the transistor switches on, letting a much larger collector current through the load (an LED, lamp, buzzer or relay).
How the night light works. The 10 kΩ resistor and the LDR form a potential divider. In daylight the LDR's resistance is low, so the voltage at X is low (worked example 1: 0.43 V), the transistor is off and the LED is dark. At dusk the LDR's resistance rises, the voltage at X rises above 0.7 V, base current flows through the 1 kΩ resistor, which protects the transistor, and the transistor switches the LED on. The 390 Ω resistor limits the LED current.
A fire or overheat alarm uses the same circuit with a thermistor in place of the top resistor, a fixed resistor in place of the LDR, and a buzzer in place of the LED. When the temperature rises, the thermistor's resistance falls, the voltage at X rises (worked example 2), and the transistor switches the buzzer on.
Because a small base current controls a large collector current, a transistor can also amplify: make a weak, changing signal bigger without changing its shape. The ratio of collector current to base current is the transistor's current gain, :
Typical values are 100 or more. Amplifiers are in every radio, phone, hearing aid and loudspeaker system: the tiny signal from an aerial or a microphone is amplified, often in several stages, until it is strong enough to drive a loudspeaker. A modern processor chip contains billions of tiny transistors working as switches.
Worked example 3: current gain
A transistor with current gain 100 has a base current of 0.20 mA. Find the collector current.
A current of 0.20 mA controls one 100 times larger: enough for an LED.
Worked example 4: voltage gain of an amplifier
A microphone gives a signal of 10 mV, and the amplifier's output is 1.5 V. Find the voltage gain.
Warning
Common mistakes
Tip
Light Down, Resistance Up. For an LDR, as the light goes down the resistance goes up. For an NTC thermistor, as the temperature goes up the resistance goes down: "NTC: Negative, so they move opposite ways".
Practice
Key points
Sources and credits
Written by Ganzaa: the lesson text, the circuit diagram, the table, worked examples and practice exercises. Sensor resistances are illustrative; real components vary.