LED and Resistor Kit (5 mm LEDs, 330 Ω)
To order, 2–3 weeksPrice on request

The KY-018 is a light sensor module built on a photoresistor (GL5516). The photoresistor and a 10 kΩ resistor on the board form a voltage divider, so the S output voltage changes with the light and you read it straight from an analog pin with no extra parts. It has three pins (S, +, −), runs on 3.3–5 V and connects to Arduino UNO, Nano, ESP32 and Raspberry Pi Pico. It does not measure lux precisely, but reliably tells dark, dusk and bright light apart. Use it in automatic night lights, smart blinds and light-seeking robots.