The utility model provides an LED drive circuit with a night lamp function. The LED drive circuit comprises a compatible dimming
chip, a
constant current chip, a switching module, a main
light source module and an auxiliary
light source module. The power supply input end of the compatible dimming
chip is used for being connected with an external power supply; the high-
voltage end of the compatible dimming chip is connected with the high-
voltage end of the constant-current chip and the power input end of the switching module. The compatible dimming chip is used for compensating the bleeder current according to the type of the accessed
dimmer; the first output end of the switching module is connected with the main
light source module; the second output end of the switching module is connected with the auxiliary light source module. The
signal input end of the switching module is connected with an external power supply, generates a
switching signal based on the switching state of the external power supply, and switches the main light source module or the auxiliary light source module according to the
switching signal; therefore, the loss of a
single chip is reduced, and the chip is effectively prevented from heating due to excessive loss.