8051单片机自动控制交通灯及时间显示的方.doc

8051单片机自动控制交通灯及时间显示的方.doc

  1. 1、本文档共47页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 根据8051单片机的特点及交通灯在实际控制中的特点,本文提出一种用单片机自动控制交通灯及时间显示的方法。同时给出了软硬件设计方法,设计过程包括硬件电路设计和程序设计两大步骤,对在单片机应用中可能遇到的重要技术问题都有涉足。本文对十字路口状态预设为两种,一种是正常状态,另一种是故障或紧急状态,并分别用黄、红、绿色灯的不同组合来表示。本文介绍了控制基本原理以及控制的表现,同时也介绍了城市交通信息系统的设计目标, 开发途径及其系统结构与功能和数据地理编码、建库, 同时, 论述了系统中交通现状、交通管理、交通规划及背景信息查询模块的建造及应用。介绍了用于城市交叉路口的三色程控交通信号时间显示器的研制方案,对其电源供电、发光二极管构成的负载结构、灯色时间检测都给出了精巧合理的优化结构,大幅度地提高了产品可靠性并降低了制造成本。 关键词:8051单片机;交通灯;自动控制;时间显示器;软件;硬件;定时器;延时;外部中断 Abstract According to the feature of SCM8051 and the characteristics of traffic lights in real control,the article puts forward the method of using sigle-chip microcomputer to control automatically the traffic signal lights and time-show.The method of realization of hardware has also been given,the whole process included hardware circuit designing and program designing,in which some important technique problem that may meet during the use of Singlechip involved.In this paper,the state of crossing was designed as two states.One is normal,another breackdown or urgent,which are expressed with different colour lamp named yellow、red and green.The basic principle and method of controlling are introduced.In this paper, the design goals, development ways, system structure, system functions, geographic codes and data base of the Urban Traffic Information System (U T IS) were presented. Furthermore, the development and the application tests of the traffic situation model, the traffic management model, the traffic plan model and the background information inquirement model of U T IS were discussed.This paper introduces the development scheme of three-colour programmable traffic signal time indicator used in the level-crossing of our city,and gives its power supply,load construction made by LED and time detection of traffic lamp colour a reasonable optimize structure.The reliability of Product is substantially improved while the cost is reduced. Key Words:SCM8051;traffic lights;automatic control;time indicator;hardwore;softwore timer;delay;external interrupt 引言 交通的发达,标

文档评论(0)

精品天地 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档