A control system (100) for a structured light projector (200) and an electronic device (1000) are provided. The control system (100) includes a first driving circuit (10) and an application processor (40). The first driving circuit (10) is connected with the structured light projector (200), and is configured to drive the structured light projector (200) to project laser. The application processor (40) is configured to control the first driving circuit (10) to be switched on and switched off based on a detection signal. |