Light Dependent Resistor

18,466

Circuit Image

A Light Dependent Resistor (LDR), also known as a photoconductor, photoresistor, or photocell, is a commonly used electronic component that exhibits a decrease in resistance as the intensity of light striking its surface increases, and vice versa. Typically, LDRs are constructed from cadmium sulfide (CdS), making them inexpensive but not highly accurate. They excel at detecting changes in light levels, distinguishing between 'dark' and 'light' conditions, but are unsuitable for precise light measurements without individual calibration. A standard LDR features two wire leads connected to electrodes at the detector's surface, which is made of ceramic, an excellent insulator. The ceramic face is coated with a zig-zag pattern of cadmium sulfide to maximize the active area while maintaining a compact size, and it is covered with a clear plastic, epoxy, or glass layer. As a photoconductive material, cadmium sulfide responds to the same light wavelengths as the human eye. When photons with sufficient energy strike the CdS, they release electrons from their atomic bonds, creating electron-hole pairs. When a voltage is applied across the leads, electrons move in one direction while holes move in the opposite direction, resulting in an electric current. The higher the light intensity, the more electron-hole pairs are generated, lowering the resistance of the LDR and allowing more current to flow. Standard mini LDRs typically have a resistance of 1 MOhm in complete darkness and a few hundred Ohms in bright light. LDRs are essential components in circuits designed to activate automatically based on ambient light levels, such as solar-powered garden lights and night security lighting. They can also be utilized in remote control circuits, where a mobile phone's backlight activates the LDR, allowing devices like lights or garden sprinklers to be turned on remotely. Two basic circuit configurations exist for LDRs: one activated by darkness and another by light. Both circuits require an LDR, standard resistors, a variable resistor (potentiometer), and a small signal transistor. In the darkness-activated circuit, an LED lights up when the LDR detects low light levels, with a 10K variable resistor fine-tuning the darkness threshold. The standard 10K resistor can be adjusted as needed, ensuring it is at least 1K to prevent excessive current from damaging the transistor. Conversely, swapping the LDR with the 10K and variable resistors activates the circuit in response to light.

The Light Dependent Resistor (LDR) circuit is a vital component in various applications where automatic light detection is required. The fundamental operation relies on the photoconductive properties of cadmium sulfide, allowing it to effectively sense light levels. In practical circuit designs, the LDR is typically connected in a voltage divider configuration with a fixed resistor or a potentiometer to establish a reference voltage.

When designing the circuit, the choice of resistor values is crucial for determining the sensitivity and response time of the LDR. The fixed resistor should be selected based on the expected ambient light conditions to ensure that the voltage drop across the LDR can effectively trigger the transistor at the desired threshold. For instance, in a darkness-activated circuit, the fixed resistor should be chosen to provide a suitable biasing condition for the transistor when the LDR is in a high-resistance state (darkness).

In addition, the transistor selected for the circuit should be capable of handling the expected current load for the output device, such as an LED or relay. Commonly used transistors for low-power applications include the 2N3904 or BC547, while higher power applications may require MOSFETs or relays for switching larger loads.

The circuit layout should also consider noise immunity and stability, especially in outdoor applications where environmental factors may introduce interference. Using bypass capacitors across the power supply and placing the LDR in a shielded enclosure can help mitigate these effects.

In summary, the LDR circuit is not only simple to construct but also versatile, making it suitable for various applications ranging from basic light detection to more complex automated systems. Proper component selection and circuit design will ensure optimal performance and reliability in the intended application.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 diag

ram 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.

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. 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. 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! 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 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. 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 🔗 External reference