Sensors, components and resistors
Electronic products can sense light, heat and touch. Knowing your components lets you design circuits that respond to the world.
Input sensors
LDR (light-dependent resistor): its resistance falls as light gets brighter. Used in night lights.
Thermistor: in the common type, its resistance falls as temperature rises. Used in thermostats and fire alarms.
Switches: push switch, toggle switch, microswitch (a light touch operates it) and reed switch (operated by a magnet, used in door alarms).
Moisture sensor: detects water, for example in plant soil.
Output components
Buzzer: makes a sound. Motor: gives rotary motion. Solenoid: an electromagnet that pushes or pulls a rod (linear motion).
Ohm's law: voltage (V) = current (I) × resistance (R). So R = V ÷ I.
This helps you choose a resistor for an LED.
Resistor colour code
| Colour | Value |
|---|---|
| Black | 0 |
| Brown | 1 |
| Red | 2 |
| Orange | 3 |
| Yellow | 4 |
| Green | 5 |
| Blue | 6 |
| Violet | 7 |
| Grey | 8 |
| White | 9 |
An LED needs 2 V and 0.02 A. It is powered by a 5 V supply. What resistor value is needed in series?
- The resistor must take the rest of the voltage: 5 - 2 = 3 V.
- R = V ÷ I.
- R = 3 ÷ 0.02 = 150 Ω.
Answer: 150 Ω.
LDR resistance falls as light increases; a thermistor's resistance (common type) falls as temperature rises. Reed switches work with a magnet. Ohm's law: V = I × R. Resistor bands: two digits, then the number of zeros.
- LDR
- Light-dependent resistor: an input sensor whose resistance falls as light gets brighter.
- Thermistor
- An input sensor whose resistance changes with temperature. In the common type it falls as temperature rises.
- Ohm's law
- Voltage (V) = current (I) × resistance (R). So R = V ÷ I.
- Resistor
- A component that limits the current in a circuit. Its value is measured in ohms (Ω).
- Sensor
- An input component that responds to a change, such as light, temperature or pressure.
- LED
- Light-emitting diode: an output that gives light and only lets current flow one way.
Try two quick questions
See if it has sunk in. Answers are marked straight away.
2 more questions
Try each one, then tap to check.
What happens to the resistance of an LDR in the dark?
- It rises
- It falls
- It stays the same
- It becomes zero
Show the answer
Answer: It rises
Less light, more resistance.
Why is a reed switch useful on a window alarm?
- It senses temperature
- It senses light
- A magnet on the window opens or closes it when the window moves
- It is pushed by hand
Show the answer
Answer: A magnet on the window opens or closes it when the window moves
Magnets operate reed switches.
Check you have got it
Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.
Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.