Lab / VTU / Electronic devices / Experiment 8

Light-activated relay (LDR and transistor)

Electronic devicesVirtual readings4 viva questionsRecord book ready
Aim

To build a circuit that switches a relay when light falls below a set level, and record the LDR's resistance against light.

Apparatus
  • 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
Av ≈ 48

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 ›
Circuit connections
  • 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 ready
1What is an LDR made of?
2Why the diode across the relay coil?
3How do you change the switching light level?
4How does a phototransistor differ from an LDR?

Try the readings before the lab

Calculated, not measured. In the lab, write down your own readings.
Light (lux)LDR (kΩ)Divider (V)Relay
0.5812.254.94ON
2307.794.84ON
1099.764.54ON
5032.343.82ON
20012.252.75ON
10003.971.42ON

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.

Open my record book
Result

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.

1. What is an LDR made of?
2. Why the diode across the relay coil?
3. How do you change the switching light level?
4. How does a phototransistor differ from an LDR?

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.

Light-activated relay (LDR and transistor): lab experiment