View All

Please refer to the English Version as our Official Version.Return

Europe
France(Français) Germany(Deutsch) Italy(Italia) Russian(русский) Poland(polski) Czech(Čeština) Luxembourg(Lëtzebuergesch) Netherlands(Nederland) Iceland(íslenska) Hungarian(Magyarország) Spain(español) Portugal(Português) Turkey(Türk dili) Bulgaria(Български език) Ukraine(Україна) Greece(Ελλάδα) Israel(עִבְרִית) Sweden(Svenska) Finland(Svenska) Finland(Suomi) Romania(românesc) Moldova(românesc) Slovakia(Slovenská) Denmark(Dansk) Slovenia(Slovenija) Slovenia(Hrvatska) Croatia(Hrvatska) Serbia(Hrvatska) Montenegro(Hrvatska) Bosnia and Herzegovina(Hrvatska) Lithuania(lietuvių) Spain(Português) Switzerland(Deutsch) United Kingdom(English)
Asia/Pacific
Japan(日本語) Korea(한국의) Thailand(ภาษาไทย) Malaysia(Melayu) Singapore(Melayu) Vietnam(Tiếng Việt) Philippines(Pilipino)
Africa, India and Middle East
United Arab Emirates(العربية) Iran(فارسی) Tajikistan(فارسی) India(हिंदी) Madagascar(malaɡasʲ)
South America / Oceania
New Zealand(Maori) Brazil(Português) Angola(Português) Mozambique(Português)
North America
United States(English) Canada(English) Haiti(Ayiti) Mexico(español)
HomeBlogWhat Is an LDR and How It Works in Electronics
on June 17th 21,302

What Is an LDR and How It Works in Electronics

A Light Dependent Resistor, or LDR, is a special component that reacts to light by changing its resistance. The more light it receives, the lower its resistance becomes. This simple yet powerful feature makes it ideal for devices that need to sense light or dark. From street lights to burglar alarms, LDRs are used in many systems that rely on automatic light detection. They are easy to use, affordable, and work well in both basic and more advanced circuits. This article explains how LDRs work, how they are built, and where you can use them in real-life applications.

Catalog

1. Introduction to Light Dependent Resistor
2. LDR Symbol
3. How an LDR Is Built
4. How an LDR Works
5. LDR Circuit Explained
6. Main Features of LDR
7. LDR Behavior and Characteristics
8. Different Types of LDR
9. Advantages and Disadvantages of LDR
10. Common Uses of LDR
11. Energy Saving with Intensity-Controlled Street Lights Using LDR
12. Conclusion
Light Dependent Resistor

Figure 1. Light Dependent Resistor

Introduction to Light Dependent Resistor

A Light Dependent Resistor (LDR) is an electronic part that reacts to light. When light falls on it, its resistance changes immediately. The more light it receives, the lower its resistance becomes. This change isn’t small — it can shift across a wide range. In the dark, an LDR may have a resistance of several megaohms, but in bright light, that can drop down to just a few hundred ohms. Because of this behavior, LDRs are used in many devices where light detection is needed.

This response to light also depends on the wavelength of the light. Some wavelengths affect it more than others, which means that not all light has the same impact. That’s one of the reasons why LDRs are chosen carefully based on where and how they’ll be used.

LDRs are made from semiconductor materials, which allow them to respond to light. A common material used is cadmium sulfide (CdS). However, due to environmental concerns, this material has been restricted in many European countries. Other materials like cadmium selenide (CdSe) are also limited for similar reasons. Alternatives such as lead sulfide (PbS) and indium antimonide (InSb) are sometimes used in their place.

Even though LDRs are made from semiconductors, they are still passive components. That means they don’t actively amplify or switch signals. Also, unlike photodiodes or phototransistors, LDRs do not contain a PN-junction. This makes them different from other light-sensitive devices, and it’s part of what gives them their unique behavior and wide usage.

LDR Symbol

LDR Symbol

Figure 2. LDR Symbol

When you're reading a circuit diagram and you come across a Light Dependent Resistor (LDR), you’ll notice that its symbol looks a lot like a regular resistor. What makes it different are the two small arrows pointing toward the resistor. These arrows are there to show that light is falling on the component, which is what affects its behavior. This visual clue helps you understand that the resistor’s value isn’t fixed—it changes depending on the amount of light hitting it.

This same symbol style is used for other light-sensitive parts too, like photodiodes and phototransistors. In those cases, the arrows serve the same purpose—to show that light activates or influences the component. By using these visual symbols, it becomes easier to quickly identify how each part works in a circuit without needing a long explanation.

How an LDR Is Built

Parts and Structure of an LDR

Figure 3. Parts and Structure of an LDR

The construction of a Light Dependent Resistor (LDR) begins with a special light-sensitive material that can respond to changes in light. This material is carefully placed on a strong, non-conductive base, often made of ceramic. The ceramic acts as an insulator and provides support for the entire structure.

To get the right resistance and power rating, the light-sensitive material is arranged in a zigzag pattern. This shape increases the path that current must travel, which helps in achieving the desired electrical properties. The zigzag layout also divides the structure into two sections, each of which is connected to a metal contact.

These metal contacts, also called ohmic contacts, are placed on either side of the material. Their job is to allow electricity to flow in and out of the LDR. It's important that these contacts have very low resistance, so that any change in the LDR's resistance comes only from the effect of light, not from the contacts themselves.

Today, harmful materials like lead and cadmium are avoided in LDR manufacturing because they are not safe for the environment. Safer alternatives are now used to reduce environmental impact while still keeping the LDR effective.

How an LDR Works

The working of an LDR (Light Dependent Resistor) is based on a simple but interesting effect called photoconductivity. This means that the material inside the LDR becomes better at carrying electricity when it is exposed to light. When light hits the surface of the LDR, the energy from that light is absorbed by the material, and this causes changes at the atomic level.

Inside the material, electrons normally stay in the valence band, where they don’t move freely. But when enough light energy comes in, it gives these electrons a push, helping them jump into the conduction band. In this new band, the electrons can move freely and carry electric current. However, this only happens if the light photons have more energy than the bandgap of the material.

As more electrons make this jump, the number of charge carriers increases. This leads to better conductivity, meaning more current can flow through the LDR. As a result, the resistance decreases. So, when the light is bright, the LDR offers less resistance, and when it's dark, the resistance goes up. This simple behavior is what makes LDRs so useful in light-sensing applications.

LDR Circuit Explained

LDR Circuit Diagram

Figure 4. LDR Circuit Diagram

An LDR circuit is designed to automatically respond to changes in light, and it uses a few basic components to make this happen. These usually include an LDR, relay, Darlington pair, diode, and some resistors. The goal of this setup is to turn a light or device on or off depending on how much light is around.

The circuit gets its power from a DC voltage source, which can come either from a battery or a bridge rectifier circuit. If AC power is used, a step-down transformer reduces the high 230V AC supply to 12V AC. From there, the bridge rectifier—made using four diodes arranged in a specific way—converts the AC into DC. A voltage regulator then brings this 12V DC down to 6V DC, which is what the LDR circuit typically runs on. This setup ensures that the light sensor circuit has a steady and continuous supply, even though the main input is standard household AC.

During the daytime, the LDR’s resistance is low—around 100 ohms. Because current always flows through the path of least resistance, most of it goes through the LDR and bypasses the other components, like the relay coil. As a result, the relay does not get enough power to activate, and the connected light remains off.

At night, the situation changes. The LDR’s resistance goes up dramatically—often as high as 20 megaohms. With this high resistance, very little current flows through the LDR path. Instead, the current takes the other path, where it flows into the Darlington pair transistors. When the voltage at the base of this pair rises above about 1.4V, the transistors turn on, allowing enough current to energize the relay coil. Once the relay activates, the connected light or device is switched on.

This clever setup uses basic principles of resistance and current flow to control devices based on the surrounding light, making it useful for outdoor lights, automatic lamps, and similar applications.

Effect of Frequency on LDR

The sensitivity of an LDR doesn’t just depend on how bright the light is—it also changes based on the wavelength of that light. Wavelength is related to the color or frequency of the light. Some LDRs are more responsive to certain wavelengths, especially those that fall within a specific range. When the light's wavelength is outside that range, the LDR might hardly respond at all. This means the LDR is not equally sensitive to all types of light.

The material used to make the LDR plays a big role in how it reacts. Different materials respond better to different parts of the light spectrum. That’s why LDRs made from one type of material might work well in daylight, while others might be better suited for detecting light in the infrared (IR) range.

In particular, extrinsic LDRs—which are made using added impurities—tend to be more sensitive to specific wavelengths. These are often used when dealing with infrared light, such as in remote control systems or night-sensing devices. However, when working with infrared, there’s an important thing to keep in mind: IR radiation carries heat, and that heat can build up in the device. So, if you're using an LDR in IR-related applications, it's a good idea to manage the heat carefully to avoid damaging the component or affecting its accuracy.

Delay Time in LDRs

One of the things to be aware of when using an LDR is its latency, or delay time. This refers to how long it takes the LDR to react after there’s a change in the light level. When the light around it changes, the LDR doesn’t instantly shift to its new resistance. Instead, it takes a short moment to settle into its new value. This delay is important to consider when you're designing circuits that rely on fast light changes.

Because of this slow response, LDRs are not ideal for situations where light levels change quickly—for example, in high-speed sensing or rapidly blinking systems. But for applications where the light level shifts more gradually, like in automatic night lamps or outdoor sensors, this delay is usually not a problem.

The response time of an LDR can vary depending on whether the light is increasing or decreasing. For example, when light is suddenly turned on after darkness, the LDR typically responds within a few tens of milliseconds. However, when the light is removed, the LDR may take up to a full second to return to its dark resistance. This slower recovery time is something you’ll often find mentioned in the datasheet of the component.

In fact, datasheets usually include dark resistance values measured at set time intervals—commonly after 1 second and 5 seconds. These values help give a sense of how quickly or slowly the LDR adjusts, which can guide you in choosing whether it fits your circuit needs.

Main Features of LDR

Understanding the basic features of an LDR (Light Dependent Resistor) helps you get a clearer picture of how it behaves in different lighting situations. These specifications show you how the resistor reacts when it’s in the dark, when light hits it, and how much power it can safely handle. Instead of guessing how the LDR might respond, these values give you reliable information that you can use when putting together a circuit.

For example, knowing how much resistance the LDR offers in darkness tells you how sensitive your light-detection system will be when there’s no light. On the other hand, the resistance under bright light shows how much the current will increase when the environment lights up. Features like power dissipation and maximum voltage make sure you don’t push the LDR beyond what it can handle, which helps avoid damage and keeps your circuit running smoothly.

When you're working on a project like an automatic night lamp, a daylight sensor, or any kind of light-activated switch, these values guide you in choosing the right component. Matching the LDR’s features to your circuit’s needs ensures better performance, longer lifespan, and more accurate responses. By paying attention to these details, you can build devices that work more reliably and respond to light exactly the way you want them to.

Specification Value
Maximum Power Dissipation 200 mW
Maximum Voltage at 0 Lux 200 V
Peak Wavelength 600 nm
Minimum Resistance at 10 Lux 1.8 kΩ
Maximum Resistance at 10 Lux 4.5 kΩ
Typical Resistance at 100 Lux 0.7 kΩ
Dark Resistance after 1 Second 0.03 MΩ
Dark Resistance after 5 Seconds 0.25 MΩ

LDR Behavior and Characteristics

Resistance vs Light Graph of LDR

Figure 5. Resistance vs Light Graph of LDR

An LDR (Light Dependent Resistor) is highly responsive to changes in light. One of its most noticeable behaviors is how its resistance drops when light becomes stronger. When the intensity of light increases, the LDR’s resistance can fall rapidly—sometimes below 1kΩ. This makes it ideal for situations where you need to detect brightness and react to it quickly.


When light hits the surface of the LDR, the material inside starts conducting better, and the resistance decreases. On the other hand, if you place the LDR in darkness, its resistance rises again. This high resistance in the dark is often referred to as dark resistance. If you keep a steady voltage across the LDR, and light intensity increases, the current will also increase—thanks to the drop in resistance. The way this relationship works between light and resistance is clearly shown in its characteristic curve.

LDRs do not respond in a perfectly straight-line manner, meaning they are non-linear devices. Their behavior depends on more than just brightness—it also changes depending on the wavelength of the light falling on them. Some LDRs might not react much at all to certain wavelengths, and this mostly depends on the type of material used in making the resistor.

Another important characteristic is the response time. When light suddenly hits the LDR, it reacts quickly—usually in about 8 to 12 milliseconds. However, when the light is removed, it takes several seconds for the resistance to return to its original value. This slower return is called the recovery rate. This property is actually useful in some applications, like audio compressors, where the slow recovery helps smooth out the signal.

Compared to other light-sensitive components like photodiodes and phototransistors, LDRs are slower and less responsive. A photodiode is an active semiconductor device with a PN-junction that converts light directly into electrical signals. In contrast, an LDR is a passive component without a PN-junction. While it also reacts to light, it doesn't generate electricity in the same way. It simply changes its resistance, which makes it suitable for basic light detection but not high-speed or high-precision sensing.

Different Types of LDR

LDRs (Light Dependent Resistors) come in different types, and their classification is usually based on either the material used to make them or their linearity in response to light. These differences affect how the LDR behaves under various lighting conditions, which makes some types better suited for specific applications than others. Let’s explore the two main ways LDRs are categorized.

Based on Photosensitive Material

One common way to classify LDRs is by the type of photosensitive material used in their construction. Different materials respond better to different kinds of light. For example, LDRs made with cadmium sulfide (CdS) are very responsive to visible light, which makes them ideal for general-purpose light sensing. They can detect most of the light wavelengths that are also visible to the human eye.

If your application involves detecting infrared (IR) radiation, then an LDR made from lead sulfide (PbS) would be a better fit. These types are more sensitive to IR wavelengths, which are not visible to the human eye but are used in many remote sensing or night-detection systems.

Other materials like thallium sulfide and cadmium selenide are also used in some LDRs, each offering different sensitivity levels depending on the spectrum they are meant to detect.

Based on Linearity

LDRs can also be grouped based on how their resistance changes in relation to light intensity—this is called linearity. In this case, they are either linear or non-linear types.

Linear LDRs are those that show a smooth and predictable drop in resistance as the light level increases. Because of this consistent behavior, these are sometimes referred to as photodiodes, especially in circuits that depend on steady and reliable responses. However, in many setups, you’ll still see them being used as photoresistors because of their similar operation.

On the other hand, non-linear LDRs are more common and are used in general applications. These do not follow a straight-line response, and their resistance may vary at different rates depending on the amount of light. One key thing to note is that their behavior is usually not affected by the polarity of the voltage applied, making them simpler to use in basic circuits.

By understanding these two main types—based on material and behavior—you can choose the kind of LDR that best fits your project, whether it's for daylight sensing, motion lights, or even infrared detection.

Advantages and Disadvantages of LDR

Advantages Disadvantages
High sensitivity to light Narrow spectral response
Small and simple structure Hysteresis effect
Easy to use and connect Low temperature stability in sensitive materials
Cost-effective Slow response in some stable materials
No junction potential Not suitable for fast-changing light conditions
High light-to-dark resistance ratio Less responsive compared to photodiodes or phototransistors
Suitable for basic light-sensing applications Performance affected by temperature changes

Common Uses of LDR

Light Dependent Resistors (LDRs) are used in many everyday applications because they are simple, reliable, and low in cost. These devices are perfect for situations where you need to detect the presence or absence of light. Since they respond to changing light levels, they are commonly used as light sensors in different types of electronic systems.

One common use of an LDR is in automatic street lights. In these systems, the LDR senses the natural light outside. When it gets dark in the evening, the resistance increases, which triggers the light to turn on automatically. In the morning, as sunlight increases, the resistance drops, and the light turns off—helping to save energy without any manual effort.

LDRs are also used in alarm clocks that adjust screen brightness based on room lighting, or in burglar alarm systems, where a sudden change in light (like opening a door or window) can trigger an alert. You'll also find them in light meters, which measure the intensity of light in a space and are useful for photography or plant care.

Another interesting use is in a power-conserving street light project where the intensity of the light changes based on the surroundings. During low-traffic hours, the brightness reduces to save energy, and when motion or darkness is detected, the lights brighten again. This not only improves efficiency but also extends the life of the lighting system.

Because LDRs are easy to integrate into circuits, they’re often used in student projects, hobby kits, and simple automation systems. Their flexible use in both small and large setups makes them a popular choice for light-sensitive applications across different fields.

Energy Saving with Intensity-Controlled Street Lights Using LDR

Today, most highways are lit using HID (High-Intensity Discharge) lamps, which consume a lot of power. One of the common issues with these lamps is that they don't have an automated system to switch on and off based on natural light. They often stay on longer than necessary, wasting energy. To solve this, an improved solution uses LED lights with intensity control, managed by an LDR (Light Dependent Resistor).

This modern system is designed to reduce the power consumption seen in traditional lighting setups. Instead of HID lamps, it uses LEDs, which require less energy and also last much longer. What makes this approach more efficient is that the brightness of the lights can be adjusted depending on the time of night and how much lighting is actually needed.

At the heart of this system is an LDR, which detects ambient light. During the day, when sunlight is strong, the resistance of the LDR drops, sending a signal to the controller to turn off the lights. As it gets dark, the resistance increases, and the lights automatically turn on.

A cluster of LEDs forms the street light, and a microcontroller manages their brightness. It’s programmed to control the intensity using PWM (Pulse Width Modulation) signals. At night, when traffic is high, the lights stay bright. As traffic slows down during the late-night hours, the brightness gradually decreases, helping to conserve energy. At 6 a.m., the lights switch off completely, and they turn on again at 6 p.m., repeating the cycle every day.

This system can be further improved by adding a solar panel. The panel would convert sunlight into voltage during the day, which could be stored and later used to power the LED street lights. This would make the system even more efficient and environmentally friendly, reducing reliance on the power grid.

Conclusion

LDRs are simple, affordable, and useful components that change their resistance based on light levels. They play a key role in many automatic systems, such as lights that turn on at night or dim based on brightness. Understanding how LDRs work and how they are used can help you create smarter and more efficient circuits. From basic sensors to energy-saving street lighting, the applications are wide and practical. Whether you're working on a small project or a larger lighting system, an LDR can be a helpful part of your design.

About us

ALLELCO LIMITED

Allelco is an internationally famous one-stop procurement service distributor of hybrid electronic components, committed to providing comprehensive component procurement and supply chain services for the global electronic manufacturing and distribution industries, including global top 500 OEM factories and independent brokers.
Read more

Quick inquiry

Please send an inquiry, we will respond immediately.

Quantity

Frequently Asked Questions [FAQ]

1. What is an LDR used for?

An LDR is used in devices that need to detect light or darkness. Common uses include automatic street lights, alarm systems, brightness control in screens, and simple light-sensing circuits. It helps switch devices on or off depending on how much light is present.

2. How does an LDR change resistance?

An LDR changes its resistance based on how much light it receives. When there is more light, its resistance becomes low, allowing more current to pass through. In darkness, the resistance increases, and the current flow decreases.

3. Can LDRs detect all types of light?

LDRs are more sensitive to certain types of light, especially visible light. Some materials can be used to detect infrared light, but they might not respond well to all wavelengths. This depends on what the LDR is made from.

4. Are LDRs fast enough for real-time light detection?

LDRs work well for most everyday applications, but they have a slight delay in reacting to changes in light. They are not suitable for very fast or high-speed detection tasks, like in fast-switching communication systems.

5. Can I use an LDR in outdoor lighting systems?

Yes, LDRs are commonly used in outdoor lighting like automatic street lights. They can detect day and night changes easily. However, make sure they are protected from moisture and weather if used outdoors.

Popular Posts

HOT Part Number

0 RFQ
Shopping cart (0 Items)
It is empty.
Compare List (0 Items)
It is empty.
Feedback

Your feedback matters! At Allelco, we value the user experience and strive to improve it constantly.
Please share your comments with us via our feedback form, and we'll respond promptly.
Thank you for choosing Allelco.

Subject
E-mail
Comments
Captcha
Drag or click to upload file
Upload File
types: .xls, .xlsx, .doc, .docx, .jpg, .png and .pdf.
Max file size: 10MB