毕业设计基于STC89C52单片机的交通灯设计.doc

毕业设计基于STC89C52单片机的交通灯设计.doc

  1. 1、本文档共58页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
专业课程设计— 基于51单片机的交通灯设计 组员: 蔡余敏 、覃珍 、 李海浪、于小艳 (按字母顺序) 学院: 电气工程学院 班级: 10自动化3班 指导教师: 王彩霞 摘 要 交通信号灯是城市交通安全、有序、快速运行的重要保障。本文提出了一种基于单片机的交通信号灯控制系统的设计方案。该系统模拟现实中十字路口的通行指示,倒计时和紧急车辆强行通过等功能。采用STC89C52芯片为中心器件来设计交通灯控制电路,结合七段共阴极数码管显示时间的模块,交通灯显示模块,晶振电路,复位电路以及按键电路等模块组成。通过软件仿真与硬件调试,实现红、黄、绿灯燃亮时间以及双位数码管显示倒计时,三种颜色灯交替点亮以及紧急情况下的中断处理功能。本系统性价比高,实用性强,操作简单,功能全面,有广泛的应用前景。 关键词:交通信号灯;STC89C52单片机;紧急通行;中断处理 Abstract The traffic lights are an important guarantee of city traffic safety, order and rapid running. This paper presents a design scheme of traffic signal lamps control system, which is based on MCU. The system simulates the functions of the traffic indication, counting down and emergency vehicles passing at real crossroads. STC89C52 chip device is used as the center device to design the traffic lights control circuit, combined with common cathode seven segments digital tube display time module, traffic lights display module, crystals circuit, reset circuit and key circuit modules. By software simulation and hardware debugging, the functions have been achieved, which include red, yellow, and green lights brightening, on-off digital tube displaying time countdown, as well as 3 kinds of color lamps lightening alternately and interrupt processing function of emergencies. This system is cost-effective, strong practicability, simple operation, fully functional. It has a broad application prospect. Key words: traffic signal lamp; MCU STC89C52; emergency access; interrupt processing 目 录 摘要 - 1 - (一)总体设计思路 - 4 - 1.1设计背景 - 4 - 1.2 设计目的及思路 - 6 - 1.2.1 设计目的 - 6 - 1.2.2 设计思路 - 6 - 1.3 交通灯显示时序及状态转换的理论分析 - 7 - (二)方案比较、设计与论证 - 7 - 2.1 总体设计方案 - 7 - 2.2 控制模块选择方案 - 8 - 2.3 电源模块方案 - 9 - 2.4显示界面方案 - 9 - 2.4.1 倒计时显示界面方案 - 9 - 2.4.2 状态灯显示 - 9 - (三)硬件设计 - 10 - 3.1系统总体硬件方案论证 - 10 - 3.2 STC89C52RC单片机简介 - 11 - 3.3单片机最小系统 - 15 - 3.3.1 时钟电路 - 15 - 3.3.2.复位电路 - 16 - 3.4 显示电路 - 17 - 3.5紧急通车电路模块 - 18 - 3.6 总电路图 - 19

文档评论(0)

xingyuxiaxiang + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档