LDR Voltage Divider Calculator

Vin -> LDR -> Resistor -> Ground

Vout is between LDR and Resistor.

What Is an LDR?

A light‑dependent resistor (LDR)—also known as a photocell, CdS cell, cadmium sulfide resistor, or photoresistor—is a passive component whose resistance varies according to the amount of light falling on it. In darkness, its resistance is very high; under bright illumination, its resistance drops dramatically.

How It Works

This characteristic makes LDRs ideal for sensing ambient light levels without requiring a power source to measure the light itself.

Common Applications

  1. Automatic Lighting
    LDRs can trigger streetlights or outdoor lamps to switch on at dusk and off at dawn.
  2. Light Meters
    Photographic light meters and exposure devices use LDRs to measure scene brightness.
  3. Security Systems
    Detect changes in light when a door or window is opened, activating alarms or cameras.
  4. Consumer Electronics
    Adjust screen backlighting on televisions, smartphones, and laptops based on room lighting.

Example Usage

In a simple dusk‑to‑dawn circuit, the LDR forms part of a voltage divider that feeds into a comparator or microcontroller input. As evening falls and the LDR’s resistance rises, the voltage at the divider’s midpoint passes a threshold, signaling the system to turn lights on. Conversely, increasing daylight lowers the resistance, bringing the voltage below the threshold to switch the lights off.

×
Advertisement