基于单片机的智能交通灯控制系统设计与实现
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
基于单片机的智能交通灯控制系统设计
与实现
诚信承诺书
本人郑重承诺:本人承诺呈交的毕业设计《基于单片机的智能交通灯控制系统设计与实现》是在指导教师的指导下,独立开展研究取得的成果,文中引用他人的观点和材料,均在文后按顺序列出其参考文献,设计使用的数据真实可靠。
本人签名:
日期:年月日
基于单片机的智能交通灯控制系统设计与实现
摘要
近年来随着科技的飞速发展,单片机的应用正在不断深入,同时带动传统控制检测技术日益更新。在实时检测和自动控制的单片机应用系统中,单片机往往作为一个核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构软硬件结合,加以完善。
十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实现这井然秩序呢?靠的就是交通信号灯的自动指挥系统。交通信号灯控制方式很多。本系统采用STC89C52RC单片机以及单片机最小系统和74HC245电路以及外围的按键和数码管显示等部件,设计一个基于单片机的交通灯设计。设计通过两位一体共阴极数码管显示,并能通过按键对定时进行设置。本系统实用性强、操作简单、扩展功能强。
关键词:交通灯;单片机;显示;计时;车流量
Design and implementation of intelligent traffic lights control
based on MCU
Abstract
In recent years along with the rapid development of science and technology, SCM applications are continually deepening, and promote the traditional control detection technology is updated. In real-time detection and automatic control of the microcomputer application system, the microcontroller is often used as a core component, only SCM knowledge is not enough, should be based on specific hardware structure of hardware and software combination, to be perfect.
Crossroads shuttle vehicles, pedestrians bustling, car dealership traffic lane, people walkways, everything in good order and well arranged. So what to rely on to realize it in order? Is the traffic lights on the automatic command system. A lot of traffic signal control. This system uses STC89C52RC and 74HC245 system and the smallest transistor driving circuit and a periphery of the keys and digital tube display and other parts, a design based on the single chip design of traffic lights. Design through one of two common cathode nixie tube display, and can be key to regular set. This system is practical, simple operation, strong expanding function.
Keywords: Traffic light,SCM,Display,Timing,Traffic flow
目录
1前言 ................................................................................................................ 错误!未定义书签。本设计的目的及意义 ....................................................................................... 错误!未定义书签。本设计在国内外的发展概况及存在的问题.................................................... 错误!未定义书签。本设计应解决的主要问题................................................................................ 错误!未定义书签。2方案介绍 ........................................................................................................ 错误!未定义书签。设计原理 ........................................................................................................... 错误!未定义书签。方案选择 ........................................................................................................... 错误!未定义书签。分析问题 ........................................................................................................... 错误!未定义书签。3硬件设计 ........................................................................................................ 错误!未定义书签。系统硬件总电路构成:...................................................................................... 错误!未定义书签。单片机系统及其历史 ....................................................................................... 错误!未定义书签。单片机内部组成以及引脚介绍........................................................................ 错误!未定义书签。单片机最小系统 ............................................................................................... 错误!未定义书签。 LED显示 .......................................................................................................... 错误!未定义书签。数码管显示 ....................................................................................................... 错误!未定义书签。信号显示驱动电路 ........................................................................................... 错误!未定义书签。键盘输入电路 ................................................................................................... 错误!未定义书签。红外接收原理 ................................................................................................... 错误!未定义书签。4软件设计 ........................................................................................................ 错误!未定义书签。定时器的设置 ................................................................................................... 错误!未定义书签。中断程序的设置 ............................................................................................... 错误!未定义书签。5调试 ................................................................................................................ 错误!未定义书签。断电调试 ........................................................................................................... 错误!未定义书签。通电调试 ........................................................................................................... 错误!未定义书签。功能部分的测试 ............................................................................................... 错误!未定义书签。6结论 ................................................................................................................ 错误!未定义书签。参考文献 ........................................................................................................... 错误!未定义书签。谢辞 ................................................................................................................... 错误!未定义书签。附录 ................................................................................................................... 错误!未定义书签。