The intelligent controller circuit based on AT89C2051 is shown in the figure below, which is mainly composed of sensor unit, a \ D conversion unit and controller unit. AT89C2051 chip is used to process the signal data after shaping the signals detected by sound control and optical control sensors, and then control the LED driver. In this circuit, P3. 0 and P3. 1 ports of AT89C2051 are used for input signal detection, and the remaining 13 ports can be selected for output control.
Figure Circuit diagram of intelligent controller