Research on the Intelligent Traffic Light Design Based on STM32
(Shandong Huayu University of Technology, Dezhou 253034, China)
Abstract
This study designs an intelligent traffic light control system based on the STM32 controller. The system employs STM32 as the main controller, leverages its high performance and rich peripheral interfaces, combined with the HC-SR04 ultrasonic ranging module, to achieve accurate monitoring and analysis of traffic flow. Based on this, it dynamically allocates traffic light time and extends the green light duration for directions with high traffic volume. Through an external interrupt triggering mechanism, STM32 precisely controls the traffic light driving module and enables real-time dynamic adjustment of the traffic lights. The system integrates an OLED display and a buzzer to enhance visualization and operability, and incorporates manual adjustment functionality. Experimental results show that the system can effectively improve traffic efficiency and safety, exhibiting high performance and a good user experience.
Keywords
STM32; ultrasonic ranging; OLED display
References
- [1] Ding Weijie, Liu Yongqing, Li Jianying, etc Design and Implementation of Intelligent Traffic Signal Light Based on NB-IOT Technology [J]. Hebei Agricultural Machinery, 2023 (3): 46-48
- [2] Guangzhou University Intelligent control system for traffic lights based on STM32: 202110716275.5 [P]. 2021-10-29
- [3] Liu Changhao A Design of Urban Intelligent Transportation System [J]. Automation Expo, 2022, 39 (10): 42-45
- [4] Li Wenfang, Qian Menghan Research on the Design of Intelligent Traffic Signal Control System Based on STM32 [J]. Light Source and Illumination, 2024 (2): 66-68
- [5] Wang Hui Design of Multi functional Intelligent Table Lamp Lighting System [J]. Electronic Components and Information Technology, 2018 (8): 9-12
- [6] Yang Anqian, Chen Xiangping Design of Intelligent Multi functional Desk Lamp System Based on STM32 [J]. Intelligent Computer and Application, 2020, 10 (6): 37-41
- [7] Ren Yankai, Shi Mengmeng, Zhao Changhao, etc Design of Intelligent Traffic Light Control System Based on STM32 [J]. Industrial Instrumentation and Automation Equipment, 2025 (4): 10-15, 48
- [8] Yu Mingjiang, Li Hui, Tan Yanqi, etc Design of Intelligent Control System for LED Lights in Tunnel Lighting [J]. Instrument Technology, 2021 (6): 26-29
- [9] Liu Xiaoyu, Chen Yuechao Design of a multifunctional desk lamp based on STM32 [J]. Mechanical and Electrical Engineering Technology, 2022, 51 (3): 228-231
- [10] Bian Shuibing, Fu Zhuo, Li Yue Design of Smart Lighting System Based on Arduino [J]. Light Source and Lighting, 2022 (6): 52-54
Funding
2024 Dezhou R&D Plan Project (DZSKJ202420)
About the authors
Zhang Wenzhi (1981-), male, Han ethnicity, from Dezhou, Shandong Province, associate professor/senior engineer, bachelor's degree, research direction: motor, electrical and control technology; Lyu Junjie (1998-), male, Han nationality, from Heze, Shandong, lecturer, undergraduate, research direction: electronic technology.