查看: 678|回复: 0

单片机控制模拟交通灯

[复制链接]

40

主题

142

帖子

360

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
360
发表于 20:50 | 显示全部楼层 |阅读模式
论文编号ZXX189  论文字数:11696,页数:39
摘要
 根据AT89S52单片机的特点及交通灯在实际控制中的特点,本文提出一种用单片机自动控制交通灯及时间显示的方法。同时给出了软硬件设计方法,设计过程包括硬件电路设计和程序设计两大步骤,对在单片机应用中可能遇到的重要设计问题都有涉足。本文对十字路口状态预设为两种,一种是正常状态,一种是紧急状态。在用红、黄、绿灯的不同组合来指挥两个方向通车与禁行的同时,用LED数码管作为倒计时指示,实时的控制当前交通灯时间使LED显示器进行倒计时工作并与状态灯保持同步,在保持交通安全的同时最大限度的提高交通能顺畅交替运行。本文介绍了控制基本原理以及控制的表现,同时,论述了系统中交通背景、发展及意义。
关键词:单片机,自动控制,时间显示器,外部中断,延时。
ABSTRACT
 According to the characteristics and the traffic lights in the actual control characteristics of the AT89S52 microcontroller, this paper proposes a microcomputer to control to a traffic light  and time displaying the time. Also giving the hardware and software design methods, design process, including hardware design and programming are two steps in the MCU application may encounter the important design issues are involved. This state of default could be divided two parts on the crossroads, one is the normal state, and the other one is the state of emergency. While using the red, yellow, green light to direct the two different directions, showing the time by the LED digital tube,and the real-time control of the current traffic light LED display counts down the time to work in sync with the status lights, in order to maintaining maximum safety for traffic to alternate running smoothly. This article describes the basic principles of control and control performance, at the same time transporting the background of traffic system and the development and significance.
Keywords: microcontroller, control, time display, external interrupt, delay. 目录
摘要 1
ABSTRACT 2
第1章 引言 5
1.1交通灯研究的背景和意义………………………………………………………5
1.2单片机交模拟通灯主要研究的内容…………………………………………....6
第2章 交通灯工作原理及设计方案  8
2.1 交通灯的基本构成与工作原理 ……………………………………….…….....8
2.2单片机控制交通灯通行方案设计………………………………………...……. 9
2.3单片机控制交通灯模拟的功能要求…………………………………………...10
第3章 系统硬件电路的设计 ....12
3.1系统硬件总电路构成及原理…………………………………………………..12
3.1.2系统工作原理………………………………………………………………13
3.2单片机的选择…………………………………………………………………..13
3.2.1单片机的概述………………………………………………………………13
3.2.2 AT89S52芯片的主要性能…………………………………………………14
3.2.2 AT89S52芯片的引脚图及其应用…………………………………………14
3.2.4 AT89C52芯片最小系统……………………………………………………16
3.3其它硬件介绍及连接……………………………………………….…………..17
3.3.1八段LED数码管…………………………………………………….… ….17
3.3.2其它器件……………………………………………………………..……..18
第4章 系统软件程序的设计  20
4.1程序主体设计…………………………………………………………….…….20
4.2 数码管的显示………………………………………………………………….21
4.3 系统初始化模块……………………………………………………………….21
4.4信号灯模块…………………………………………………………….……….21
4.5键盘扫描……………………………………………………………….……….22
第5章 不足与展望 .24
第6章 结束语 25
致谢 26
参考文献 27
附录一  程序清单 28
附录二 电路图,实物图 37
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

 
在线客服
点击这里给我发消息 点击这里给我发消息
免费下载论文
一站式论文服务

微信扫一扫,多种方式联系平台客服!
  • 关于资料
    提供的资料属本站所有,内容审核过,保证质量,严禁转载.
  • 关于发货
    提供下载链接或发送至您的邮箱,资料可重复发送,确保您收到为止.
  • 疑难解答
    收到资料后若有任何疑难问题,均可通过本站客服提供帮助解决.
  • 售后服务
    我们确保发送的资料和介绍一致,如核实为不符,可以申请售后.
  • 本站邦邦毕业论文网所列毕业设计(论文)资料均属于原创者所有,初衷是为大家在做毕业设计(论文)过程中参考和学习交流之用,请勿做其他非法用途,转载必究,如有侵犯您的权利或有损您的利益,请联系本站,经查实我们会立即进行修正或删除相关内容! 2a7a.com 版权所有,严禁抄袭 桂ICP备18006264号-1 写作人才招聘
    客服服务时间:09:00-22:30(周一至周日)
    返回顶部