Description The M5Stack Light Sensor Unit with Photo-resistance is a compact light intensity detection sensor that integrates a photoresistor and a 10K adjustable resistor. It detects changes in incident light by measuring the photoresistor voltage through AD conversion, making it useful for light-controlled switching and ambient light sensing projects. The M5Stack Light Sensor Unit with Photo-resistance also uses an LM393 dual differential comparator to compare the differential voltage between the photoresistor and the adjustable resistor. It provides both analog and digital outputs, so developers can read continuous light intensity changes or set a threshold for light-triggered logic control. Features Photoresistor-based light intensity detection 10K adjustable resistor for threshold setting LM393 dual differential comparator Analog and digital output Compatible with Arduino and UiFlow development Two LEGO-compatible mounting holes Specifications Sensor Type Light intensity detection sensor Sensor Component Photoresistor Comparator LM393 dual differential comparator Adjustable Resistor 10K Output Signal Analog output and digital output Port PORT.B Product Size 32.0 x 24.0 x 8.0mm Product Weight 4.6g Package Size 138.0 x 93.0 x 9.0mm Gross Weight 10.0g Applications Light-controlled switch projects Solar yard lamps Infrared surveillance camera triggers Ambient light sensing Threshold-based automation projects Product List 1 x Unit Light 1 x HY2.0-4P Grove Cable (20cm) Other Content PinMap HY2.0-4P Wire Function Black GND Red 5V Yellow Digital Output White Analog Output Resources Product documentation Schematic PDF Arduino example UiFlow2 documentation EasyLoader example FAQ How does this light sensor detect light intensity? Its photoresistor changes resistance as incident light intensity changes, and the unit obtains light intensity data through AD conversion. What is the adjustable resistor used for? The 10K adjustable resistor helps set a light intensity threshold for digital output switching. What projects is it suitable for? The M5Stack Light Sensor Unit with Photo-resistance is suitable for light-controlled switches, solar lamps, ambient light monitoring, camera triggers, and threshold-based automation.