| REUK Shop | REUK Blog | Directory | About Us  |  | RSS Web Feed for Renewable Energy UK 

Light Dependent Resistor



Light Dependent Resistor

Find out more about LDRs and their use in renewable energy and other projects

home > electric circuit | solar
   Printer Friendly Version Print Article     

Light dependent resistor (LDR, photocell, photoconductor)

A Light Dependent Resistor (aka LDR, photoconductor, photoresistor, or photocell) is a component used commonly in electronics which has a resistance which decreases as the intensity of the light hitting its surface increases and visa versa. A typical light dependent resistor is pictured above together with (on the right hand side) its circuit diagram symbol.

The vast majority of LDRs are made from cadmium-sulphide (CdS), and they are very cheap, but also not very accurate. They are very good for detecting changes in light levels and determining if it is 'dark' or 'light', but without individual calibration they not suitable for accurately measuring light levels.

How Does a CdS Photocell Work

Pictured below is a typical light dependent resistor. It has two wire leads which terminate in the face of the light detector - the two metal dots you see are the ends of those electrodes. The main body of the light detector component is made of ceramic - an excellent insulator. On the face of the ceramic a thin strip of cadmium sulphide is coated in a zig-zag pattern (to maximise the length of the strip while keeping the component small) which is connected at each end to an electrode. The front face is then coated in clear plastic, epoxy, glass, or similar.

How a light detector works

Cadmium-sulphide is a high resistance semiconductor, and is chosen for light detectors as it gives the same spectral response as the human eye - i.e. it 'sees'/responds to the same range of wavelengths of light that we can see. Specifically, cadmium-sulphide is a photoconductive material. That means that photons of light hitting it with sufficient energy will release electrons from their atomic bonds.

When a negatively charged electron is freed by a photon of light, it leaves behind a positively charged 'hole'. When a voltage is applied across the two wire leads of the light detector, the free electron moves one way along the CdS strip, and the free 'hole' moves the other way; and it is this movement of charge which is electricity flowing through the light detector. The higher the light intensity, the more photons of light are hitting the CdS strip, the more electron-hole pairs are generated, the more electricity can flow through the light detector, and so the lower the resistance of the light detector (i.e. it is easier for electricity to flow through the light detector when the light intensity hitting it is high).

Different LDR's have different specifications, however the mini LDR's we sell in the REUK Shop are fairly standard and have a resistance in total darkness of 1 MOhm, and a resistance of a couple of hundred Ohm in bright light.

Uses for Light Dependent Resistors

Light dependent resistors are a vital component in any electric circuit which is to be turned on and off automatically according to the level of ambient light - for example, solar powered garden lights, and night security lighting.
An LDR can even be used in a simple remote control circuit using the backlight of a mobile phone to turn on a device - call the mobile from anywhere in the world, it lights up the LDR, and lighting (or a garden sprinkler) can be turned on remotely!

Light Dependent Resistor Circuits

There are two basic circuits using light dependent resistors - the first is activated by darkness, the second is activated by light. The two circuits are very similar and just require an LDR, some standard resistors, a variable resistor (aka potentiometer), and any small signal transistor

LDR darkness activated circuit

In the circuit diagram above, the LED lights up whenever the LDR is in darkness. The 10K variable resistor is used to fine-tune the level of darkness required before the LED lights up. The 10K standard resistor can be changed as required to achieve the desired effect, although any replacement must be at least 1K to protect the transistor from being damaged by excessive current.
LDR darkness activated circuit

By swapping the LDR over with the 10K and 10K variable resistors (as shown above), the circuit will be activated instead by light. Whenever sufficient light falls on the LDR (manually fine-tuned using the 10K variable resistor), the LED will light up.

Using an LDR in the Real World

The circuits shown above are not practically useful. In a real world circuit, the LED (and resistor) between the positive voltage input (Vin) and the collector (C) of the transistor would be replaced with the device to be powered.

Relay used in Light dependent resistor circuit

Typically a relay is used - particularly when the low voltage light detecting circuit is used to switch on (or off) a 240V mains powered device. A diagram of that part of the circuit is shown above. When darkness falls (if the LDR circuit is configured that way around), the relay is triggered and the 240V device - for example a security light - switches on.

More Information and Products

For details of a more advanced light/dark sensor circuits click here to read our article LM741 Light/Dark Sensor Circuit. We have these circuits available for sale in both low current and high current (relay) switching versions as well as our Programmable REUK Dawn/Dusk Relay Controller.



Article Last Modified: 23:35, 26th Jun 2013

Comment on this Article

If you have any comments on this article, please email them to neil@reuk.co.uk.


Related REUK Categories

electric circuit | solar
2006-2014 REUK - All Rights Reserved
Page Last Updated on 18th April 2014 at 04:00:50pm

Site Search


Recent
Blog Posts


1.Dawn Dusk Automatic Hen House Door Controller

2.Automatic Low Voltage UPS Shutdown

3.Raspberry Pi GPIO with BerryIO

4.12V Programmable PIR Timer with Override

5.Arduino SD Card Datalogging

6.Automatic Horse Feeder Controller

7.Mains Backup for Solar Charged Battery Bank

8.Automatic Car Windscreen Heater Timer

9.Adjustable LM317 Power Supply

10.PICAXE Arithmetic Problems


Latest
Articles


Publish Temperature Sensor Readings to Twitter Raspberry Pi
Publish Temperature Sensor Readings to Twitter Raspberry Pi
Find out how to publish DS18B20 temperature sensor readings to Twitter from Raspberry Pi


Solar Panels on eBay
Solar Panels on eBay
Find out about the solar panels on sale on eBay


Low Voltage Battery Disconnect Circuits
Low Voltage Battery Disconnect Circuits
Find out more about low voltage battery disconnect (LVD) circuits - used to protect batteries


Picaxe Programming From Linux
Picaxe Programming From Linux
Find out how to programme PICAXE microcontrollers from the Linux command line


Connecting to Raspberry Pi from PC via SSH
Connecting to Raspberry Pi from PC via SSH
Find out how to operate a Raspberry Pi directly from a Windows PC using SSH


Setting up Static IP Address on Raspberry Pi
Setting up Static IP Address on Raspberry Pi
Find out how to give your Raspberry Pi a static IP address


New Simple Hen House Door Controller
New Simple Hen House Door Controller
Details of our new 2013 simple design for an automatic hen house door controller


Raspberry Pi Temperature Logger with Xively
Raspberry Pi Temperature Logger with Xively
Make a Raspberry Pi temperature data logger accessible online with Xively




REUK Shop

Popular Items


2013 SOLAR PUMP CONTROLLER WITH RELAY
New solar water heating pump controller with fitted 10A relay
£25.99 each.



MINI 12 VOLT REGULATOR WITH FUSE AND SWITCH TERMINALS
Supply a fixed 12.0 Volt DC to your devices (up to 1 Amp output). Includes fitted 1A fuse, 2 spare fuses, and terminals for connection of a switch
£6.99 each.



REUK MINI LDR DUSK DAWN LIGHTING CONTROLLER
Multi-function light detector triggered light/dark dawn/dusk controller
£13.95 each.



MINI 12V PROGRAMMABLE LOW VOLTAGE DISCONNECT LVD
Protect your 12 volt batteries from being overly discharged
£12.95 each.



REUK SUPER TIMER 3 MINI
Mini multi-functional timer
£13.95 each.



12 VOLT REGULATOR
Supply a fixed 12.0 Volt DC to your devices (up to 0.8 Amp output)
£3.99 each.



MR16 CERAMIC BULB HOLDER
Bulb holder for 12 Volt LED spotlight bulbs
£1.39 each.



REUK SUPER POULTRY LIGHTING CONTROLLER
Control up to 8 Watts of LED spotlights to stimulate egg production in birds
£29.99 each.



300 WATT POWER INVERTER
Convert 12V DC battery power into 230 AC to power portable televisions, computers, video recorders etc. 300 Watt power rating - peak power 600 Watts
£29.99 each.