Siyapath
Sign up

Lesson: Chapter 11 — Electronics

The transistor at work 4 of 4

A switch worked by darkness

Using that principle, activity 11.6 builds a switch that turns a lamp on automatically when it gets dark. Its light sensor is a light-dependent resistor (LDR): in light its resistance is very low (ohms), in the dark very high (around 100 kΩ).

Activity 11.6

You will need: a D400 or D313 transistor, an LDR, a 10 kΩ volume control VR, a 2.5 V bulb, a 3 V battery and a project board

  1. Cover the LDR with a fingertip to darken it and adjust VR until the bulb lights.
  2. Take your finger away and let light fall on the LDR.

Figure to be added

Activity 11.6 — V_R from + to the base, the LDR from the base to −, the bulb in the collector lead.

The observation

The bulb goes out in the light. VR can be set so the bulb comes on at the darkness wanted.

The potential divider

VR and the LDR form a potential divider across the 3 V supply. With R1 on top and R2 below, the current is I = 3 ÷ (R1 + R2), and the base voltage is VB = R2I = 3R2 ÷ (R1 + R2). Keeping R1 fixed and changing R2 gives any voltage from 0 to 3 V at the base.

With R1 = 10 kΩ, find R2 for VB = 0.7 V:

0.7 = 3R2 ÷ (10 000 + R2)

7000 + 0.7R2 = 3R2

7000 = 2.3R2

R2 = 7000 ÷ 2.3 ≈ 3043 Ω

As the light on the LDR fades and its resistance climbs past 3043 Ω, the bulb just starts to glow; darker still, the base passes 0.7 V and IC rises to its maximum — the switch is ON.