The invention discloses a color temperature chip for detecting LED wall switches. The chip includes a power management module, a chip logic control module, a filtering and power-down detection module, and a drive module. The chip is also provided with (N+4) groups of pins, including VDD pin, CAP pin, GND pin, CS pin and N drive output pins D1, D2, D3, ... Dn, VDD pin is connected to CAP pin through PMOS tube back-to-back structure inside the chip, and the drive module The N output terminals of the chip are connected to the N driving output pins D1, D2, D3, ... Dn of the chip. The present invention reduces the resistance, diodes, and capacitor components around the chip in the original application system, saving system application costs; This chip can be used in a variety of isolated or non-isolated different application schemes, breaking through the application limitations of the original scheme; there are multiple groups of selectable ports at the drive output end of the chip, and various drive tubes are packaged in the chip. The withstand voltage value is different to meet the needs of various applications; this chip can drive and connect N LED light strings (N is greater than 2) to realize multi-channel drive control.