Light Dependent Resistor: A Comprehensive Guide

💡
Key learnings:
  • LDR Definition: A light-dependent resistor is defined as a device whose resistance decreases with increasing light intensity and increases with decreasing light intensity.
  • Working Principle: LDRs work on the principle of photoconductivity, where light photons increase the conductivity of the semiconductor material.
  • Characteristics: LDRs exhibit nonlinear resistance changes, spectral response sensitivity, and variable response times.
  • Types of LDRs: LDRs include intrinsic photoresistors made from pure semiconductors and extrinsic photoresistors made from doped semiconductors.
  • Applications: Light-dependent resistors are used in various applications such as security systems, lighting control, audio devices, and optical communication.

A light-dependent resistor (LDR) is a two-terminal photoconductive component. Its resistance normally falls as incident optical power increases within the device’s spectral response. Commercial parts can show megohms in darkness and much low resistance under their specified illumination, but the actual values depend on part, spectrum, illuminance, temperature and adaptation time. LDRs suit simple light thresholds, display dimming, flame sensing and some analogue optocouplers.

What is a Light Dependent Resistor?

An LDR changes resistance when its photoconductive layer absorbs light. It has no polarity. Datasheets state light resistance at a defined illuminance and lamp spectrum, dark resistance after a defined time, and limits for voltage, power and temperature. Values can span thousands or millions of ohms, so a circuit must use the selected part’s limits rather than a universal range.

The circuit symbol shows a resistor with arrows pointing toward it. The arrows represent incident light; they do not show electrical current direction.

Light dependent resistor symbol

How Does a Light-Dependent Resistor Work?

Photoconductivity is an increase in electrical conductivity after a material absorbs photons that can create mobile charge carriers. The required photon energy and response probability depend on semiconductor composition, impurities, defects and temperature.

In a simplified band model, absorption can excite an electron from the valence band into the conduction band, leaving a mobile hole. A valence band is an energy band in a solid, not the outer electron shell of individual atoms. More mobile carriers increase conductivity and allow more electric current under an applied bias. Traps and recombination cause delayed rise, decay and memory effects.

The resistance response depends on:

  • Optical wavelength, spectrum, angle and irradiance or illuminance
  • Band structure, trap levels and sensitising chemistry in the photoconductive layer
  • Material composition, dopants, crystal defects and manufacturing spread
  • Active-area geometry, electrode spacing and layer thickness
  • Temperature, humidity, previous illumination, ageing and time after a light change

What are the Characteristics of a Light Dependent Resistor?

Use the part datasheet to evaluate these characteristics:

  • Nonlinearity: Over a stated illuminance range, many CdS cells follow an approximate inverse power law, R proportional to E raised to negative gamma. Gamma and resistance limits are product specifications. The relationship is not a universal exponential and can change outside the test range.
  • Spectral response: Sensitivity varies with wavelength. A CdS visible-light cell may peak near green light, while another photoconductor may target infrared. Illuminance-based resistance also depends on the source spectrum because lux is weighted to human vision.
  • Response time: A datasheet defines rise time and decay time under stated light and circuit conditions. Decay is often slower because trapped carriers persist after light removal. Products range from a few milliseconds to hundreds of milliseconds or longer, so `milliseconds` alone is not a useful guarantee.
  • Recovery and memory: Dark resistance depends on elapsed time after illumination and prior exposure. Temperature and ageing can shift recovery. Test sequences therefore specify light adaptation and dark-rest intervals.
  • Sensitivity: Manufacturers may give resistance at one or more illuminance points, a light-to-dark ratio, gamma or a spectral curve. These quantities are not interchangeable, and sensitivity is not generally a percentage or decibel value.
  • Electrical limits: Maximum dissipation in watts or milliwatts, peak voltages and temperature derating are separate limits. The circuit must satisfy all of them at the darkest and brightest expected conditions.

The following video demonstrates the resistance change. Compare any measured values with the selected part’s datasheet conditions:

What are the Types of Light Dependent Resistors?

Light-dependent resistors can be discussed as intrinsic or extrinsic photoconductors, but commercial devices often use sensitisation and controlled impurities that make a simple two-bin label incomplete:

  • Intrinsic photoconductors: Photons create carriers across the material’s fundamental band gap. Spectral cutoff follows band structure and temperature. Silicon and germanium illustrate intrinsic semiconductor response, although commercial detectors based on them are commonly photodiodes rather than two-terminal photoresistors.
  • Extrinsic or impurity-assisted photoconductors: Dopants or defects create allowed transitions below the fundamental band-gap energy, extending response to longer wavelengths. Some infrared photoconductors require cooling to reduce thermally generated carriers and noise.

The protected table gives broad detector-response examples, not guaranteed LDR specifications. Material processing, temperature and device structure change the response, and the listed silicon or germanium ranges should not be treated as discrete-photoresistor selection data.

MaterialTypeSpectral Response Range (nm)
SiliconIntrinsic190 – 1100
GermaniumIntrinsic400 – 1800
Cadmium Sulfide (CdS)Extrinsic320 – 1050
Cadmium Selenide (CdSe)Extrinsic350 – 1450
Lead Sulfide (PbS)Extrinsic1000 – 3500
Lead Selenide (PbSe)Extrinsic1500 – 5000

How to Make a Light-Dependent Resistor Circuit?

An LDR works as a variable resistor in a biased circuit. The usual interface places it in series with a fixed resistor to form a voltage divider. The measured voltage drop then changes with resistance. Swap the upper and lower elements to choose whether output rises or falls with light.

Choose the fixed resistor near the LDR resistance in the light range of interest. Check divider current, LDR power and maximum voltage in darkness. The ADC or comparator input must stay inside its allowed voltage range, and its input leakage or sampling current must not load a high-resistance divider excessively.

Connecting an LDR and fixed resistor in parallel across a source does not create the described divider output. To measure branch current, place a correctly ranged ammeter in series with a current-limited branch. Never connect an ammeter directly across a battery because its low resistance can create a dangerous short circuit.

The divider output can feed different signal-processing circuits:

  • A light switch uses a comparator with hysteresis to prevent chatter near the threshold and a transistor or relay driver sized for the load.
  • A light alarm detects interruption or appearance of a beam. Shielding and a modulated source can reduce false triggers from changing ambient light.
  • A simple indicator can show relative light level after calibration. It should not claim physical illuminance unless spectrum, geometry and temperature are controlled.
  • A differential light tracker compares two matched channels. Device tolerance and temperature drift need calibration or ratio-based processing.

What are the Applications of Light Dependent Resistors?

LDRs suit slow or moderate-speed light detection where their resistance output and spectral response fit the task:

  • Security and presence sensing: Beam-break alarms, enclosure light detection and simple day-night sensors can use an LDR, with threshold hysteresis and tamper or failure checks where security matters.
  • Lighting control: Outdoor lamps and display dimmers can respond to ambient light. Optical placement, weather sealing, artificial-light feedback and switch delay prevent cycling.
  • Audio gain control: An LED and CdS cell form an analogue optocoupler in some compressors, limiters and guitar effects. Slow, asymmetric response can be part of the desired envelope but varies by product.
  • Optical links: An LDR can detect slow light modulation in demonstrations. Photodiodes or phototransistors normally serve fibre, laser and higher-speed communication because they offer faster, better-characterised response.
  • Measurement: LDRs can compare relative visible-light levels after calibration. Precision photometers and spectrometers use detectors with specified linearity, responsivity, noise and spectral calibration.

What are the Advantages and Disadvantages of Light Dependent Resistors?

Advantages in suitable circuits include:

  • A two-terminal resistance output can make threshold circuits simple and inexpensive.
  • Available products cover many light and dark resistance ranges.
  • The photosensitive material needs no polarity or internal excitation, although the readout circuit needs bias.
  • The resistor-like output works with dividers, bridges, comparators and analogue optocouplers.

Electrical and measurement limitations include:

  • Resistance is nonlinear, part-variable and dependent on temperature, spectrum and illumination history.
  • Carrier trapping causes slow, asymmetric response and recovery compared with many photodiodes.
  • Photodiodes and phototransistors usually provide faster response and better-defined transfer characteristics.
  • Humidity, temperature, ageing, self-heating and mechanical packaging can change calibration.

What are the Advantages and Disadvantages of Light Dependent Resistors?

Selection advantages include:

  • Visible-light CdS parts can have a response broadly similar to human vision for simple ambient-light control.
  • Very high dark resistance can provide a large on-off ratio without an active sensor package.
  • Analogue resistance can produce smooth gain control without switching steps.
  • Many package sizes and resistance grades are available for legacy and industrial circuits.

Selection and compliance disadvantages include:

  • Wide device tolerance can require per-unit calibration or adjustable thresholds.
  • Long dark adaptation and hysteresis can make rapid, repeatable measurement difficult.
  • A material’s spectral curve may not match the target source or human photopic response.
  • CdS, CdSe, PbS or PbSe devices contain cadmium or lead compounds. Material restrictions and exemptions vary by product category, date and jurisdiction, so check the supplier declaration and current compliance requirements.

Conclusion

An LDR is a passive photoconductive resistor whose resistance changes with absorbed light. Useful design requires the selected part’s resistance-versus-illuminance curve, spectrum, response and recovery times, temperature behaviour, voltage limit and power derating. A biased voltage divider is the normal readout circuit; it must not exceed sensor or input limits. LDRs suit economical ambient-light thresholds and certain analogue optocouplers, while photodiodes or phototransistors are usually better for fast communication or calibrated optical measurement. Cadmium- or lead-based parts also require material and regulatory checks.

Want To Learn Faster? 🎓
Get electrical articles delivered to your inbox every week.
No credit card required—it’s 100% free.

About Electrical4U

Electrical4U is dedicated to the teaching and sharing of all things related to electrical and electronics engineering.