With the development of the Internet of Things, the intelligent street lamps have become an important part of the development of the Smart city. But the traditional urban street lamps can only meet the needs of simple lighting and can not achieve real-time and free control in the control of local lighting. The switches of street lamps which can only be set on the basis of the sunrise and sunset of the quarter not only waste manpower and material resources, but also greatly waste energy consumption. The integrated controllers of lambs which are designed based on STM32 can return data in real time, command online, delivery strategies through the connection of GPRS and background communication server, finally, the system is tested and analyzed. Thus, The experimental results show that it can not only solve the intelligent control of street lamps, but also have high scalability, more implementation of high concurrency communication which greatly facilitate urban lighting. The system of street lambs can also store lighting strategies making urban lightning safer and more reliable.