Skip to main content
SingaporeElectronicsSyllabus dot point

How do we combine a sensor, a potential divider and a transistor to make a circuit that switches a load automatically?

Explain a sensor-driven transistor switching circuit and design one to turn a load on in the dark or when it is hot

A focused answer to the O-Level Electronics outcome on transistor switching. Combining a sensor potential divider with a transistor and base resistor to switch a load on automatically.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Examples in context
  4. Try this

What this dot point is asking

SEAB wants you to explain a sensor-driven transistor switching circuit and to design one that turns a load on automatically when it gets dark or hot. The central insight is that three building blocks combine: a potential divider with a sensor produces a voltage that changes with the surroundings, a base resistor feeds that voltage to a transistor, and the transistor switches the load. Each part has a clear job.

The answer

The three building blocks

A sensor switching circuit has three stages:

  1. A sensing potential divider: a sensor (LDR or thermistor) and a fixed or variable resistor in series across the supply. Its output voltage changes as the light or temperature changes.
  2. A base resistor: connects the divider output to the base of the transistor, limiting the base current to a safe value.
  3. A transistor and load: the transistor switches the load (a lamp, buzzer or relay) placed in its collector.

How the switch is triggered

The transistor turns on only when the voltage at its base is about 0.7 V0.7\ \text{V} above its emitter. The divider is arranged so that, at the wanted light or temperature, its output crosses 0.7 V0.7\ \text{V}:

  • For a dark sensor, the LDR is placed so the junction voltage rises as it gets darker. When darkness pushes the junction past 0.7 V0.7\ \text{V}, the transistor switches the load on.
  • For a heat sensor, the thermistor is placed so the junction voltage rises as it gets hotter, switching the load on when it is hot enough.

Setting the trigger point

A variable resistor in the divider lets you choose the exact light or temperature at which switching occurs. Adjusting it changes the divider ratio, so the junction reaches 0.7 V0.7\ \text{V} at a different point. This is how a dusk-sensing lamp is set to come on at just the right level of darkness.

Why each part matters

The divider converts the physical quantity into a voltage. The transistor converts that small base signal into a large switched current. The base resistor protects the transistor. Remove any part and the circuit fails: with no base resistor the transistor can be destroyed; with no divider there is nothing to sense; with no transistor the weak sensor signal cannot drive a real load.

Examples in context

Example 1. An automatic night light. An LDR divider feeding a transistor switches on a lamp when the room gets dark, then switches it off again at dawn. The variable resistor lets the user choose how dark it must be before the light comes on. This is the classic first project that ties together sensing, switching and tuning.

Example 2. A fire or overheat alarm. A thermistor divider feeding a transistor switches on a buzzer when the temperature rises past a set point. The same three-stage circuit, with the sensor changed and the trigger adjusted, becomes a temperature warning instead of a light switch, showing how general the design is.

Try this

  • Cue. State where the load is connected in a transistor switching circuit and why. In the collector circuit, because that is where the large switched current flows; the base carries only the small control current.

  • Cue. Explain how to change a dark-switching LDR circuit into a light-switching one. Swap the positions of the LDR and the fixed resistor in the divider, so the junction voltage now rises in bright light instead of in the dark.

  • Cue. A lamp needs 50 mA50\ \text{mA} and the transistor gain is 100100. Find the minimum base current to switch it on. IB=IC/β=50/100=0.50 mAI_B = I_C / \beta = 50 / 100 = 0.50\ \text{mA}.

Exam-style practice questions

Practice questions written in the style of SEAB exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

Original5 marksA circuit has an LDR and a variable resistor forming a potential divider, with the junction connected through a base resistor to an npn transistor that switches a lamp in its collector. Explain how the circuit turns the lamp on when it gets dark, and state the purpose of the variable resistor.
Show worked answer →

As it gets dark, the LDR resistance rises. The divider is arranged so the voltage at the junction rises in the dark. When this voltage reaches about 0.7 V0.7\ \text{V} above the emitter, a base current flows.

The base current turns the transistor on, allowing a large collector current to flow through the lamp, so the lamp lights. The variable resistor sets the light level at which switching happens, by adjusting the divider so the junction reaches 0.7 V0.7\ \text{V} at the chosen darkness.

What markers reward: dark raising the LDR resistance and the junction voltage to 0.7 V0.7\ \text{V}, the base current switching the transistor and lamp on, and the variable resistor setting the trigger point.

Original3 marksState the purpose of the base resistor in a transistor switching circuit and explain what could happen if it were omitted.
Show worked answer →

The base resistor limits the base current to a safe value while still being large enough to turn the transistor fully on.

Without it, the base current would be uncontrolled and could become large enough to overheat and destroy the base-emitter junction of the transistor.

What markers reward: limiting the base current to protect the transistor while still switching it on, and the risk of damage if it is omitted.

Related dot points