KY-018 Photoresistor module
The KY-018 is a ready-to-use light sensor board built around a photoresistor (LDR). A photoresistor changes its resistance based on how much light hits it:
More light → lower resistance
Less light → higher resistance
This analog change makes it super easy to measure with microcontrollers like Arduino, ESP32, Raspberry Pi (with ADC), etc.
It’s commonly used for:
✅ Light level detection
✅ Automatic light control
✅ Ambient brightness measurement
✅ Light-triggered alarms / switches
✨ Key Features
🔹 Built-in photoresistor (LDR)
🔹 Simple voltage divider output
🔹 Analog output proportional to light intensity
🔹 Works with 3.3 V or 5 V systems
🔹 Easy to interface (no extra parts needed)
🔹 Mountable on breadboard
📊 Electrical Specifications (Typical)
Parameter Value
Operating voltage 3.3 V – 5 V
Output type Analog voltage (0 - VCC)
Sensor type Photoresistor (LDR)
Interface 3-pin (VCC, GND, AO)
Response Resistance decreases with light
Current draw Very low (µA range)
Module size ~20 mm × 14 mm
🔌 Pinout (3 pins)
Pin Label Meaning
1 VCC Power (3.3 V or 5 V)
2 GND Ground
3 AO Analog Output – voltage proportional to light
💡 Some modules also label pins as (VCC, GND, OUT/AO).
⚙️ How It Works (Simple)
The module uses a voltage divider:
VCC → Photoresistor → AO → Fixed resistor → GND
Bright light → LDR resistance ↓ → AO voltage ↑
Darkness → LDR resistance ↑ → AO voltage ↓
So you get a measureable voltage that corresponds to how much light the sensor sees.
🛠️ Typical Use With Microcontrollers
📍 Arduino Example
int sensorPin = A0; // analog pin
int sensorVal = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
sensorVal = analogRead(sensorPin);
Serial.println(sensorVal);
delay(200);
}
📌 Output ~0–1023 depending on light intensity.
🛠️ Common Applications
✔ Automatic day/night lights
✔ Light-activated alarms
✔ Ambient brightness monitoring
✔ Solar tracker detectors
✔ Robotics light following
✔ Garden / plant light sensing
💡 Design Tips
🔹 Use with ADC
Because the output is analog, make sure your microcontroller has an ADC (analog-to-digital converter) (like Arduino/ESP32).
🔹 Add smoothing
Light readings can jump — consider averaging or smoothing filters in software.
🔹 Avoid direct strong light
Too much light can saturate the LDR; use shading or diffusers for consistent results.
🌟 Quick Summary
KY-018 Photoresistor Module = simple, analog light sensor 🌞
Great when you want:
✔ Light level measurement
✔ Ambient light-based control
✔ Easy Arduino / IoT integration
No specifications available.
0.0
Based on 0 reviews
No reviews yet. Be the first to review this product!
Login to write a review.