In this paper,a single chip microcomputer to control the lighting switch method is implemented.In this method,each single chip MCU has a unique identification number,then every single chip is connected to a lighting circuit.A computer is connected to multiple single chips through the serial port.When the computer control commands issued to single chip MCUs,the corresponding number of single chip MCU can control lighting associated with the switch.