Large photosensor for detecting the presence or absence and relative strength of light.
Description
This large 12mm (1/2″) LDR (Light Dependent Resistor) is also called a photoresistor. An LDR is a resistor whose resistance changes with the amount of light striking it.
PACKAGE INCLUDES:
12mm LDR (Light Dependent Resistor)
KEY FEATURES OF LIGHT DEPENDENT RESISTORS:
As the strength of the light falling on the LDR increases, the resistance of the LDR gets lower.
It is typical to put the LDR in series with a resistor to create a voltage divider and feed that output to an analog input on a uC. The output will be a lower voltage when no light is striking the sensor and the voltage will increase as the light intensity increases.
These can be used in a variety of applications such as monitoring a pilot light, night light control or anywhere that you want to detect a basic threshold of light and take some action.
Our Evaluation Results:
LDR Test Setup
This is a basic light sensing component that can be used to experiment with a number of different types of applications which uses the presence or absence of light to take an action. They are robust devices that work well in final applications as well.
The output of the sensor is fairly linear, but the accuracy is not sufficient to measure the absolute strength of light. These are best used to detect the presence or absence of light or to a get rough idea of how much light is striking the sensor.
Here are some measured resistance values from a sample that we tested compared to LUX falling on the sensor
LUX
LDR Resistance Value
Light Intensity
0
> 2M
Dark room
10
12K
Very dim room
300
2K
Moderate room light
1000
900
Overcast daylight
20,000
100
Next to fluorescent bulb
Serial Plotter Output
The simple program below reads the output of the sensor using an analog port and outputs the raw data to the Serial Monitor window. Circuit hook-up is per the schematic shown above. Change lighting on the sensor to see the effect.
Changing the 10K resistor to a different value can be used to change the range of the analog output if desired. That may be useful when working with very bright or very dim light levels.
For fun, try changing the delay(1000) to something shorter such as delay(100) and use the Serial Plotter window to view the output while putting different light on the sensor. The plot shown to the right is an example output.
LDR Example Program
/*Photoresistor Light Sensor Module TestBasic code for reading the analog output of the light sensor module*/constintANALOGPIN=A0;// Set to any analog input pinintrawValue=0;// Returned ADC reading from sensor//===============================================================================// Initialization//===============================================================================voidsetup(){pinMode(ANALOGPIN,INPUT);Serial.begin(9600);// Set comm speed for debug window messages}//===============================================================================// Main//===============================================================================voidloop(){rawValue=analogRead(ANALOGPIN);// Read sensor inputSerial.print("Reading Raw: ");Serial.println(rawValue);delay(1000);}
Notes:
None
Technical Specifications
Operating Ratings
Max Voltage
250V
Max Power Dissipation
200mW
Dark Resistance
> 1M Ohms
Peak Detection Wavelength
540nm (similar to human eye)
Dimensions
Sensor
12mm
Reliable JST connector cables with secure locking design, UL-certified wires, and high-quality crimping. Supports up to 3A current with compact 2.5mm pitch. Ensures stable power and signal transmission for PCB, LED, robotics, and industrial use. Custom lengths, colors, and pin counts available.
cables are made with high-purity copper wires and solid copper terminals, ensuring excellent conductivity, low resistance, and long-term reliability in power and signal transmission. Ideal for high-performance electronic applications.
Are any purchases final sale?
We are unable to accept returns on certain items. These will be carefully marked before purchase.
When will I get my order?
We will work quickly to ship your order as soon as possible. Once your order has shipped, you will receive an email with further information. Delivery times vary depending on your location.
Where are your products manufactured?
Our products are manufactured both locally and globally. We carefully select our manufacturing partners to ensure our products are high quality and a fair value.
How much does shipping cost?
Shipping is calculated based on your location and the items in your order. You will always know the shipping price before you purchase.