Unit Light is a light intensity detection sensor. It integrates a photoresistor and a 10K adjustable resistor, capable of detecting light intensity and setting a light intensity threshold. The resistance of the photoresistor decreases as the intensity of incident light increases, thereby detecting changes in voltage. Through AD conversion, light intensity data is obtained. For more accurate light intensity detection, this Unit also uses the LM393 dual differential comparator to compare the differential voltage between the photoresistor and the varistor.