The analog output signal depends on the illumination. Strong light: High voltage (close to the supply voltage). Darkness: Low voltage (close to 0 V). It is recommended to place the sensor element (the LDR resistor) in a black paper tube to avoid stray light.
Compatible with Arduino (5 V). Compatible with micro:bit (3 V).