交通灯控制系统设计左转倒计时protues仿真的c语言程序,基于PROTEUS交通灯控制系统设计与仿真.doc...

基于PROTEUS交通灯控制系统设计与仿真

本 科 毕 业 设 计(论文)

基于PROTEUS的交通灯控制系统的设计与仿真

Design and Simulated of Traffic Light Control System Based on Proteus

学 院(系): 计算机科学与技术系

专 业: 通信工程

学 生 姓 名:

学 号:

指 导 教 师(职称): 某某(讲师)

评 阅 教 师: 某某

完 成 日 期: 2011年5月

基于PROTEUS的交通灯控制系统的设计与仿真

[摘 要]针对目前交通压力越来越大的现状,建立了一个基于AT89C51单片机的交通灯控制系统。本系统能实现手动控制红绿灯,使某一方向车辆拥堵情况得到解决,而且在紧急情况下能够手动切换信号灯让特殊车辆优先通行。本文首先对交通灯控制系统的研究意义和现状进行了分析,指出了目前交通灯存在的缺点,并提出了改进方法。接着,本文重点介绍了交通灯控制系统的软硬件设计。最后,利用Proteus软件对交通灯控制系统进行了仿真,仿真结果表明系统工作性能良好。

[关键词]交通灯;单片机;仿真

Design and Simulated of Traffic Light Control System Based on Proteus

Abstract: In view of the present situation that traffic pressure is more and more heavy, set up a traffic lights control system that based on AT89C51. This system can realize the manual control of traffic lights, so that a direction of vehicle jam situation is resolved, and in emergency situations it can switch signal lamp manually for special vehicle preemption. In this paper,Firstly,it undertook an analysis of the research significance and current situation based on the traffic light control system, pointed out the shortcomings of the traffic lights, and proposed the improvement method . Then, this paper introduces the hardware and software design of traffic light control system. Finally , using the Proteus software to simulate the traffic light control system, and the simulation results show that the system properties of the good work.

Key words: traffic lights;single-chip microcomputer;simulation

目  录

1 引言1

1.1 交通灯研究的背景和意义1

1.2 交通灯国内外发展状况1

2 系统总体设计3

2.1 总体设计思路3

2.2 总体设计方案3

3 硬件设计4

3.1 AT89C51介绍5

3.1.1 功能介绍5

3.1.2 管脚介绍5

3.1.3 内部中断系统7

3.1.4 定时系统8

3.2 时钟模块9

3.3 LED显示模块10

3.3.1模块结构10

3.3.2 接线形式10

3.4 按键电路模块11

3.5 信号灯显示模块12

4 软件设计12

4.1 主程序12

4.2 中断程序13

4.3 倒计时显示程序14

4.4 按键控制程序15

4.5 交通灯点亮程序16

5 系统测试与结果分析17

5.1 黄灯亮测试17

5.2 南北绿测试18

5.3 东西绿测试19

5.4 特殊状态测试19

5.4.1 全红测试

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值