https://iot-guider.com/arduino/interfacing-ldr-arduino/attachment/interfacing-ldr-arduino-2/
Interfacing LDR Arduino