- 466
- 0
- 约2.04万字
- 约 54页
- 2016-12-22 发布于浙江
- 举报
专业课程设计—
基于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 -
您可能关注的文档
最近下载
- 最新部编版四年级语文下册各单元教材分析 .pdf VIP
- 2025-2026学年小学书法练习指导六年级下册华文版教学设计合集.docx
- 2电气图形符号1.doc VIP
- 2026年天津专技人员公需课参考资料:新质生产力.docx VIP
- 病历模式腰椎间盘突出症诊断证明书.pdf VIP
- VW-50097-孔隙率标准.pdf VIP
- 2025教资高中通用技术学科知识与教学能力真题及答案.docx VIP
- 2024-2025学年初中数学八年级下册北师大版(2024)教学设计合集.docx
- 《中华人民共和国人民调解法》培训与解读课件.pptx VIP
- 2025年哈尔滨铁道职业技术学院单招职业技能考试题库及参考答案.docx VIP
原创力文档

文档评论(0)