Skip to product information
1 of 3

UNBRANDED

Optical Sensing Light Detection KY-018 Module Photoresistor Sensor

Regular price $1.00 USD
Regular price Sale price $1.00 USD
Shipping calculated at checkout.
Optical Sensing Light Detection KY-018 Module Photoresistor Sensor

Arduino KY-018 Photoresistor module, used to measure light intensity. It can determine the presence or absence of light.

Specifications:
This module consists of a photoresistor and a 10 kΩ in-line resistor. The photoresistor's resistance will decrease in the presence of light and increase in the absence of it. The output is analog and determines the intensity of light.
Type:Photosensitive Sensor Module
Model:KY-018
Operating Voltage: 3.3V to 5V
Output type: Analog
Size:18*15mm
Color:black

Connection Example:
KY-018 Arduino
S Pin A2
middle +5V
- GND

Sample Code:
int sensorPin = 2; //define analog pin 2
int value = 0;
void setup() {
     Serial.begin(9600);
}
void loop() {
     value = analogRead(sensorPin);
     Serial.println(value, DEC); // light intensity, high values=bright low=dark
     delay(100);
}

Package Includes:
1 x Optical Sensing Light Detection KY-018 Module Photoresistor Sensor