摘要:近年来我国城市的规模越来越大,现代化进程也在不断完善,城市道路的交通能力也在不断的提高和改进,城市交通是否快速有效是决定发展进程的一个重要因素,而在城市道路建设中,道路交叉口的交通建设就显得尤为重要。交通信号灯作为交通建设的重要组成部分,对容易发生交通拥堵、交通事故等问题的道路交叉口的管理十分有效,在有交通信号灯的路口,交通事故发生的现象明显减少,交通信号灯的控制方法数不胜数,也是道路交通研究人员重点关注的部分。因此,研究交通灯控制系统具有重要的实际应用价值。

本文基于STM32微控制器设计的一个简易交通信号灯系统,通过STM32微控制器对RGBLED三色灯的点亮时序进行控制,以及在LCD屏幕上显示倒计时来实现道路交叉口交通信号灯的基本功能。具体工作包括硬件电路设计和软件程序设计两大部分。其中硬件电路的设计包括对主控芯片的选型和所需要的外围电路的设计,以及电气原理图的绘制和PCB的设计;软件程序设计主要采用了KeiluVision4编写程序实现对硬件电路部分的驱动;最后搭建了实验平台测试所设计的硬件电路和软件程序是否能够实现设计所要求的功能,实验展示了正常状态下红绿灯疏导交通及紧急状态下按键全红灯禁止通行的功能。系统的操作十分简单,稳定性好,而且仍可以进行更加深入的开发和扩展。

关键词:智能交通,控制系统,STM32微控制器,软件编程

Abstract:In recent years, the scale of China's cities is growing, and the process of modernization is also constantly improving. Urban road traffic capacity is also constantly improved and mended. Whether the urban transport is rapid or effective is an important factor to determine the development process in the urban road construction. In the road intersection, traffic construction is particularly important. As an important part of traffic construction, traffic lights are very effective at controlling the traffic congestion and traffic accidents. The traffic accident phenomenon is significantly reducing where there are traffic lights and the method of traffic signal lamp is beyond count being the part of the focus of researchers' attention. Therefore, the study of traffic light control system has important practical value.

This paper is based on the STM32 microcontroller design of a simple traffic signal system, through the STM32 microcontroller RGB LED three-color light to  control the timing of light, and the LCD screen to display the countdown to achieve  the  basic functions of road traffic lights. Specific work includes hardware circuit design  and software program design two parts. The design of the hardware circuit  includes  the selection of the main control chip and the required peripheral circuit design, as well as the drawing of electrical schematics and PCB design; the software program design mainly uses the Keil uVision4 program to realize the driver of the hardware circuit part. Finally, the hardware circuit and software program designed by the experimental platform test can be used to realize the function required by the design. The experiment shows the function of the red light in the normal state and the red light in the emergency state. The operation of the system is very simple, good stability, and can still be more in-depth development and expansion.

Keywords: intelligent   transportation,   control   system,   STM32   microcontrollers, software programming

目录

第一章绪论 1

1.1选题背景 1

1.2国内外交通控制系统发展历程及发展趋势

上一篇:基于MATLAB的直流电机模糊控制系统设计
下一篇:PLC自动过筛设备设计与控制+程序

基于PLC的智能交通灯的设计+梯形图

STM32无人艇控制系统硬件在...

STM32F103RBT6单片机的智能家...

STM32水域监测无人艇功能实现

STM32蓝牙技术的家庭照明控制器设计+源程序

AT89C51单片机智能走廊灯设计

STM32单片机电容型触摸屏设计+程序

地方政府性债务风险的因...

复数的历史和教学

振动时效工艺国内外研究现状

新时期企业文化建设茬企...

地方高校音乐師范生就业...

浅谈民间美术茬旅游产业...

英语学习者跨文化交际中焦虑因素分析

婚内强奸问题研究+文献综述

關于建筑工程大体积混凝...

白领员工工作需求调查问卷