Introduction - If you have any usage issues, please Google them yourself
Detection and control- when U18 DA0 is 5V, the light-emitting diode does not emit light. When U18 DA0 end of 0V, light-emitting diode, the intensity is adjusted through a resistor RX2, the light emitted by the photosensitive resistance receiving, photosensitive resistance value is inversely proportional to light intensity. When the light intensity increases, the photosensitive resistance is reduced when the light intensity is weakened, photosensitive resistance increases. The voltage change on the photosensitive resistor, the voltage amplifier output to CH1 by U2A LM358.