交通灯单片机课程设计
《交通灯单片机课程设计》由会员分享,可在线阅读,更多相关《交通灯单片机课程设计(21页珍藏版)》请在毕设资料网上搜索。
1、 题目:题目: 交通灯单片机课程设计交通灯单片机课程设计 学院:学院: 物理与电子学院物理与电子学院 摘摘 要要: 本系统采用美国 ATMEL 公司生产的单片机 AT89S51,以及其它芯片来设 计交通灯控制器。本方案为了简化对路口的操作,采取了四相位对称(不对称) 放行的方式进行控制。实现了通过 AT89S51芯片的 P0口和 P2口中的 P2.0-P2.4 口控制数码管的显示功能,用 P1 口控制红、绿、黄灯点亮的功能及上电时通过 P1 口中的 P1.0-P1.4 口接按键实现方案选择功能。用 P1 口和 P3.0-P3.1、P3.6- P3.7 模拟路口红绿灯情况并及人行道红绿灯情况。使
2、用外部中断进入修改参数 状态和紧急状态,修改参数使用 P1.4-P1.7(按键分别是相位选择,加一,减一 及确定修改功能) 。系统实用性强、操作简单、扩展性好。 关键词:关键词:AT89C51、单片机、交通信号灯、单片机、交通信号灯 Abstract: The system used by the U.S. company ATMEL microcontroller AT89S51, as well as other chips to design traffic light control. To simplify the programs operation of intersection
3、, take a four-phase symmetric (asymmetric) controlled release manner. Achieved through the AT89S51 chip port P0 and P2 in the mouth of the P2.0-P2.4 port to control the digital tube display, with the P1 port to control the red, green and yellow light on the function and power through the mouth of th
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中设计图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 交通灯 单片机 课程设计
