- 1
- 0
- 约1.44万字
- 约 25页
- 2019-03-07 发布于江苏
- 举报
个人收集整理 仅供参考学习
个人收集整理 仅供参考学习
PAGE / NUMPAGES
个人收集整理 仅供参考学习
基于单片机地交通灯系统地设计
【摘要】
近年来随着科技地飞速发展,单片机地应用正在不断深入,同时带动传统控制检测技术日益更新.在实时检测和自动控制地单片机应用系统中,单片机往往作为一个核心部件来使用.本系统采用MSC-51系列单片机ATSC51和可编程并行I/O接口芯片8255A为中心器件来设计交通灯控制器,能根据实际车流量通过8051芯片地P1口设置红、绿灯燃亮时间;红绿灯循环点亮,倒计时剩5秒时黄灯闪烁警示(交通灯信号通过PA口输出,显示时间直接通过8255地PC口输出至双位数码管);车辆闯红灯报警;绿灯时间可检测车流量并可通过双位数码管显示,本系统实用性强、操作简单、扩展功能强.b5E2RGbCAP
【关键词】:单片机,交通灯,8051,检测车流量
【ABSTRACT】
In recent years, with the rapid development of science and technology, the application of SCM is at the same time, traditional detection techniques to control the growing update. In real-time detection and automatic control system of single-chip applications, often as a single-chip core component to use only single-chip is not enough knowledge, but also the structure of hardware and software in accordance with the specific combination of hardware, to be improved.p1EanqFDPw
Crossroads shuttle vehicles, pedestrians bustling, car lanes, the pavement and orderly. So to achieve the orderly what order? Is the traffic lights on the automatic control system. Many traffic lights control. The system uses MSC-51 series single-chip ATSC51 and programmable parallel I / O interface chip 8255A-centric device designed to control traffic lights, can be achieved in accordance with the actual traffic flow through the P1 port 8051 chip set red, green fuel Liang function of time; traffic light cycle, the countdown five seconds left when the yellow light flashing warning (traffic lights through the PA output signal indicates the time directly through the PC port output 8255 to double-digits); vehicle alarm; green time traffic flow can be detected through a double-digital display. The system practical, simple and strong extensions .DXDiTa9E3d
【KEY WORD】:SCM,Traffic lights,8051,Detect traffic
目录
引言1
一、方案设计1
二、系统总体设计2
三、硬件设计2
(一)8051单片机2
1.硬件结构2
2.引脚说明3
3.最小系统4
(1)时钟电路4
(2)复位电路4
(二)8255芯片简介5
(三)74LS373简介5
(四)键盘电路6
(五)显示电路7
四、系统工作原理8
五、软件设计8
(一)主程序设计8
(二)计数器硬件延时10
1.计数器处置计算10
2.1秒地方法10
3.相应地程序代码
您可能关注的文档
- 大型社会活动安全风险评估指标研究分析.docx
- 大型粉煤灰烧结砖生产线实施方案优化.doc
- 大型综采设备可行性研究分析.doc
- 大型美洲慈鲷雄鱼剪唇与人工配对技术研究分析-畜牧渔业.doc
- 大型超顾客满意研究分析方案.doc
- 大型钢琴变奏套曲在微观上的演奏控制因素——对贝多芬《狄亚贝利变奏曲》的研究分析.doc
- 大型钢栈桥造价分析研究.doc
- 大型造船龙门起重机小车车架结构有限元研究分析.doc
- 大型集装箱船结构特点及其操纵分析研究.doc
- 大城公共交通政策分析研究.doc
- 河北盐山中学等校2025-2026学年上学期高三一模化学试卷(含解析).docx
- 河北正定中学2025-2026学年高一上学期期末考试物理试卷(含解析).docx
- 河北张家口市怀安县2025-2026学年第一学期期末教学综合评价八年级地理试卷(含解析).docx
- 河南安阳市殷都区2025-2026学年第一学期期末教学质量检测七年级地理试卷(含解析).docx
- 河南安阳市滑县2025一2026学年第一学期期末学业质量监测八年级地理试题(含解析).docx
- 河南安阳市林州市2025-2026学年上学期期末考试高一政治试题(含解析).docx
- 河南焦作市武陟县第一中学2025-2026学年高一上学期1月月考语文试卷(含解析).docx
- 河南济源市2025-2026学年上学期期末学业质量调研七年级历史试卷(含解析).docx
- PICC导管并发症的紧急处理与护理.pptx
- 河南鹤壁市2025-2026学年高二上学期期末考试生物试题(含解析).docx
原创力文档

文档评论(0)