{
  "id": "photoresistor",
  "title": "Photoresistor",
  "lang": "en",
  "source_lang": "en",
  "summary": "A photoresistor is a light-sensitive semiconductor component whose electrical resistance typically decreases as incident illumination increases.",
  "category": "technology",
  "subcategory": "engineering",
  "type": "concept",
  "aliases": [
    "Light-dependent resistor",
    "LDR",
    "Photoconductive cell",
    "Photoconductor"
  ],
  "generated_at": "2026-11-05",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/photoresistor/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/photoresistor/",
      "json": "https://aiwiki.page/zh/photoresistor.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "A photoresistor is a light-sensitive resistor whose electrical resistance typically decreases when more light falls on its active surface. It functions as a sensor by converting changes in illumination into changes in resistance. Photoresistors are used in automatic lighting, light-level detection, photographic exposure controls, and some optically controlled audio circuits. Unlike a solar cell, a conventional photoresistor requires an externally applied voltage to produce a useful electrical output."
    },
    {
      "heading": "Operating principle",
      "text": "A photoresistor operates through photoconductivity: an increase in the electrical conductivity of a material caused by absorbed light. Its active material is a semiconductor connected between two electrodes.\n\nWhen a photon with sufficient energy is absorbed, it can promote an electron into a state in which it contributes to electrical conduction. Depending on the material, absorption may create electron–hole pairs across the semiconductor’s band gap or release carriers from impurity-related energy levels. Under an applied electric field, the additional mobile carriers increase current through the material.\n\nFor a uniform sample, electrical conductivity can be expressed as\n\n\\[\\sigma=q(n\\mu_n+p\\mu_p),\\]\n\nwhere \\(q\\) is the magnitude of the elementary charge, \\(n\\) and \\(p\\) are the concentrations of mobile electrons and holes, and \\(\\mu_n\\) and \\(\\mu_p\\) are their mobilities. Illumination usually increases the mobile-carrier concentrations and therefore reduces resistance.\n\nThe response is not instantaneous. Charge carriers must be generated, trapped, released, and recombined. Trapping can allow a device to retain increased conductivity after the light level has fallen, producing a slow recovery often called light memory or persistent photoconductivity."
    },
    {
      "heading": "Construction and materials",
      "text": "A common visible-light photoresistor consists of a photosensitive semiconductor layer deposited on an insulating substrate. Two interleaved electrodes form a serpentine pattern across the surface, providing a long conduction path within a compact area. A transparent coating or package admits light while protecting the sensitive material.\n\nImportant material systems include:\n\n- Cadmium sulfide (CdS): widely used in inexpensive visible-light detectors. Its spectral response overlaps substantially with the wavelengths important to human vision, although it does not reproduce the eye’s response exactly.\n- Cadmium selenide (CdSe): used for visible-light detection, with sensitivity generally extending farther toward red wavelengths than that of CdS.\n- Lead sulfide (PbS) and lead selenide (PbSe): used in infrared photoconductive detectors. Their performance depends strongly on operating temperature and detector construction.\n- Doped semiconductors: impurities introduce energy levels that permit detection of lower-energy photons. Some long-wavelength infrared photoconductors require cooling to suppress thermally generated carriers.\n\nPhotoconductors are often divided into intrinsic and extrinsic types. Intrinsic detection involves excitation across the host material’s band gap; extrinsic detection involves impurity-related states. The terminology describes the detection mechanism rather than simply whether a manufactured material contains any impurities."
    },
    {
      "heading": "Electrical and optical characteristics",
      "text": "Resistance–illumination relationship\n\nA photoresistor has no single fixed resistance. Manufacturers commonly specify resistance at particular illumination levels, together with dark resistance measured after a stated period without light.\n\nOver a limited operating range, its response is often approximated by\n\n\\[R=R_0\\left(\\frac{E}{E_0}\\right)^{-\\gamma},\\]\n\nwhere \\(R_0\\) is the resistance at reference illuminance \\(E_0\\), \\(E\\) is illuminance, and \\(\\gamma\\) is an empirical exponent. This is a practical approximation, not a universal physical law.\n\nIlluminance, expressed in lux, weights light according to human visual sensitivity. Because a photoresistor has its own wavelength-dependent sensitivity, two light sources producing the same illuminance can produce different resistances. Meaningful specifications therefore depend on the source spectrum as well as the light level.\n\nSpectral response and response time\n\nSpectral response describes how sensitivity varies with wavelength. The semiconductor, impurities, surface treatment, and package all affect it.\n\nResponse time depends on material, illumination, temperature, and previous exposure. Ordinary CdS components often respond on timescales of milliseconds to seconds, and their rise and recovery times can differ substantially. This makes them suitable for detecting gradual changes in ambient light but generally unsuitable for high-speed optical communication.\n\nOther specifications\n\nRelevant electrical limits include maximum applied voltage, maximum power dissipation, and operating temperature range. A photoresistor can overheat if excessive electrical power is dissipated in its active layer.\n\nUnit-to-unit variation can be substantial. Resistance also changes with temperature, aging, and illumination history. Precision measurement therefore requires calibration under defined conditions rather than reliance on a nominal resistance value alone."
    },
    {
      "heading": "Circuit use",
      "text": "The simplest readout circuit is a voltage divider consisting of a photoresistor and a fixed resistor. If the photoresistor is connected between the supply and the output node, and the fixed resistor connects the node to ground, the output is\n\n\\[V_{\\text{out}}=V_s\\frac{R_f}{R_{\\text{LDR}}+R_f},\\]\n\nwhere \\(V_s\\) is the supply voltage, \\(R_f\\) is the fixed resistance, and \\(R_{\\text{LDR}}\\) is the photoresistor’s resistance. In this arrangement, the output voltage generally rises as illumination increases. Reversing the two components reverses that behavior.\n\nThe output may feed an analog measurement input, an amplifier, or a threshold-switching circuit. Automatic lighting controls commonly include hysteresis so that small fluctuations around the switching threshold do not cause repeated on–off operation.\n\nThe divider resistor determines the useful sensitivity range. Sensitivity to fractional resistance changes is greatest when the fixed resistance is comparable to the photoresistor’s resistance at the light level of interest. More elaborate circuits can compensate for nonlinearity or temperature effects, but cannot entirely remove the sensor’s material-dependent variability."
    },
    {
      "heading": "Development and applications",
      "text": "Willoughby Smith reported the photoconductivity of selenium in 1873. This discovery established an important basis for electrically detecting light. Later semiconductor processing enabled compact photoconductive cells with improved sensitivity and practical packaging.\n\nPhotoresistors have been used in:\n\n- Ambient-light switches: dusk-to-dawn lighting and other illumination-dependent controls.\n- Photographic equipment: exposure meters and automatic exposure systems, particularly in older designs.\n- Beam-interruption detectors: object detection and simple counting where high switching speed is unnecessary.\n- Educational electronics: demonstrations of semiconductor behavior and elementary sensor circuits.\n- Audio equipment: optically controlled attenuation, compression, and modulation.\n\nIn an audio optocoupler, a light source and photoresistor share a light-tight enclosure. Changing the source brightness changes the resistance without a direct electrical connection between the control source and the resistive signal path. The photoresistor’s gradual, history-dependent response can form part of the circuit’s intended behavior."
    },
    {
      "heading": "Limitations and alternatives",
      "text": "Photoresistors are inexpensive and straightforward to interface, but their nonlinear response, component variation, temperature dependence, and relatively slow recovery limit precision and speed. They are not inherently calibrated illuminance meters.\n\nA photodiode generally offers faster response and a more nearly linear relationship between photocurrent and incident optical power under specified conditions. A phototransistor provides internal current amplification, while integrated ambient-light sensors can combine detection, spectral filtering, signal conditioning, and digital output.\n\nMaterial composition also affects adoption. Cadmium- and lead-containing devices are subject to hazardous-substance restrictions in some jurisdictions, with applicability depending on product category and available exemptions. These restrictions, together with the availability of compact semiconductor alternatives, have reduced the use of traditional cadmium-based photoresistors in many newer electronic products."
    }
  ],
  "links": [
    "resistor",
    "sensor",
    "solar-cell",
    "semiconductor",
    "photon",
    "electron",
    "electric-field",
    "telecommunications",
    "temperature",
    "calibration",
    "electronic-amplifier",
    "photodiode"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}