Analog Light Sensor Photo resistor LDR Module (KY-018)
Description
Description
This is a High-quality photosensitive sensor module/light module that detects the photosensitive resistor for Arduino. The photoresistor module detects light intensity. As the intensity of light on the photoresistor increases, so does the resistance of the photoresistor decreases.
A built-in 10k resistor on the Digital Light Sensor module can be used to build a divider circuit for measuring changes in light intensity from the photoresistor. A device such as an Arduino can be used to read the light intensity using an analog input pin.
The most sensitive to ambient light photosensitive resistance module, commonly used to detect the environment around the brightness of light, or MCU trigger relay module, etc. The LDR Light Sensor Module in the ambient light intensity than the set threshold, DO high-level output, when the ambient light intensity is higher than the set threshold, the DO output low level
- Using a sensitive photoresistor sensor.
- Comparator output, the signal is clean, the waveform is good, the driving ability is strong, more than 15 mA.
- With an adjustable potentiometer, you can adjust the brightness of the detection light. Operating voltage: 3.3V-5V. Output form: digital switch output (0 and 1).
- With fixed holes for easy installation.
- Higher sensitivity, whereas the sensitivity at high temperatures, is lower.
Technical Details
- Resistance of the photoresistor(in full light) : less than 80 Ohms
- Dark resistance(in full darkness) : > 20MΩ
Physical Attributes
- Length × Width × Height(mm) : 18 × 15 × 1.5
- Weight (gm) : 1
Integration with Arduino
Sample Code
int sensorPin = A2; // select the input pin for the potentiometer | |
int ledPin = 13; // select the pin for the LED | |
int sensorValue = 0; // variable to store the value coming from the sensor | |
void setup() { | |
pinMode(ledPin, OUTPUT); | |
Serial.begin(9600); | |
} //https://kitsguru.myshopify.com/products/photosensitive-resistor-sensor-ldr-module-for-arduino | |
void loop() { | |
sensorValue = analogRead(sensorPin); | |
digitalWrite(ledPin, HIGH); | |
delay(sensorValue); | |
digitalWrite(ledPin, LOW); | |
delay(sensorValue); | |
Serial.println(sensorValue, DEC); | |
} //CREDITS : https://steps2make.com/2017/10/arduino-photo-resistor-module-ldr-ky-018/ |
Only logged in customers who have purchased this product may leave a review.
- Image
- SKU
- Rating
- Price
- Stock
- Availability
- Add to cart
- Description
- Content
- Weight
- Dimensions
- Additional information
Reviews
There are no reviews yet.