It use the Doppler detector to obtain the speed of the vehicle and pedestrian, and thus control the lights switch. For the phenomenon of some street lamp appeared to be an isolated during the wireless communication, this paper also proposes an isolated nodes relief algorithm based on node transfer. The result is verified by Matlab simulation. Through the control and regulation to LED lights, both ensure traffic safety and save manpower and energy.