Light-activated relay (LDR and transistor)
To build a circuit that switches a relay when light falls below a set level, and record the LDR's resistance against light.
- LDR
- 10 kΩ potentiometer
- Transistor BC547
- 5 V relay with 1N4007 across the coil
- Resistor 1 kΩ
- LED for the load
- DC supply 5–12 V
Theory
An LDR's resistance falls as light increases (from about 1 MΩ in the dark to a few hundred ohms in bright light). With the LDR and a resistor in a divider, the divider voltage changes with light. When it drives the transistor's base past about 0.7 V, the transistor saturates and energises the relay. The diode across the coil absorbs the reverse spike when the transistor turns off.
Read the lesson: Sensor interfaces ›- Supply → 10 kΩ pot → node → LDR → ground; node → 1 kΩ → base (so darkness raises the base voltage)
- Relay coil from supply to collector, diode across the coil (stripe to supply), emitter to ground
Procedure
Pre-lab check
4 questions · 75% to be readyTry the readings before the lab
| Light (lux) | LDR (kΩ) | Divider (V) | Relay |
|---|---|---|---|
| 0.5 | 812.25 | 4.94 | ON |
| 2 | 307.79 | 4.84 | ON |
| 10 | 99.76 | 4.54 | ON |
| 50 | 32.34 | 3.82 | ON |
| 200 | 12.25 | 2.75 | ON |
| 1000 | 3.97 | 1.42 | ON |
Precautions
- Always fit the diode across the relay coil.
- Switch only low-voltage loads in the lab.
My readings
Type what you measured. It goes into your record book, and to My Garage when you are signed in.
| S. No. | Light (lux) | LDR (kΩ) | Divider (V) | Relay |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 | ||||
| 6 |
Check my readings
Put the value you set in the first column, then compare. Real parts have tolerance.
The relay turns on below ___ lux. LDR resistance: dark ___ kΩ, room light ___ kΩ, bright ___ Ω.
Everything above is free. The print-ready write-up comes with Maker.
Printed pages leave the observation table empty for your own readings.
Viva questions
Say your answer out loud first, then check. The first 2 answers are free; Maker opens all 4.
Quick answers for your record and viva
What is the aim of the light-activated relay (ldr and transistor) experiment?
To build a circuit that switches a relay when light falls below a set level, and record the LDR's resistance against light.
What apparatus is needed for light-activated relay (ldr and transistor)?
LDR, 10 kΩ potentiometer, Transistor BC547, 5 V relay with 1N4007 across the coil, Resistor 1 kΩ, LED for the load, DC supply 5–12 V.
What is the theory behind light-activated relay (ldr and transistor)?
An LDR's resistance falls as light increases (from about 1 MΩ in the dark to a few hundred ohms in bright light). With the LDR and a resistor in a divider, the divider voltage changes with light. When it drives the transistor's base past about 0.7 V, the transistor saturates and energises the relay. The diode across the coil absorbs the reverse spike when the transistor turns off.
What result should I get in light-activated relay (ldr and transistor)?
The relay turns on below ___ lux. LDR resistance: dark ___ kΩ, room light ___ kΩ, bright ___ Ω.
What precautions should I take in light-activated relay (ldr and transistor)?
Always fit the diode across the relay coil. Switch only low-voltage loads in the lab.
