- 1、本文档共9页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
智能交通灯软件设计
摘要
十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什
么来实现这井然秩序呢?靠的是交通信号灯的自动指挥系统。 交通信号灯控制方
式很多。本系统采用 MSC-51系列单片机 8051 和可编程并行 I/O 接口芯片 8255A
为中心器件来设计交通灯控制器, 实现了能根据实际车流量通过 8051 芯片的 P1
口设置红、绿灯燃亮时间的功能;为了系统稳定可靠采用了 MAX629“看门狗”
芯片,避免了系统因为死机而停止工作的情况发生;显示时间直接通过 8255 的
PA、PB 口输出;交通灯信号通过 PC口输出;交通灯的点亮采用 VT双向晶闸管
来控制,直接采用 220V 交流电源驱动,系统实用性强、操作简单、扩展性强。
就此我对如何用单片机来控制智能交通灯作出如下讲解。
The intersection vehicles shuttle, the pedestrian is bustling,
car dealership traffic lane, person sidewalk methodical. What then d
epends on to realize this orderly order? Depends on is the street-tra
ffic control lights automatic command system. The street-traffic cont
rol lights control mode are very many. This system uses MSC-51 series
monolithic integrated circuit 8051 and programmable parallel I/O con
nection chip 8255A is the central component designs the traffic light
controller, realized has been able to act according to the actual tr
affic flow magnitude to establish,the green light red through 8051 ch
ips P1 mouths burns the bright time the function; Stable has reliably
used MAX629 for the system " 看门狗 " the chip, has avoided the system
because of the dying machine knock off situation occurrence; Demonst
rates the time directly through 8255 PA, the PB mouth output; Traffic
light signal through PC mouth output; The traffic light lightens use
s the VT bidirectional crystal thyratron to control, directly uses th
e 220V alternating current supply to actuate, the system usability st
rong, the operation simple, the extension is strong. How do I to use
the monolithic integrated circuit to control the intelligent traffic
light in light of this to make the following explanation.
引言
交通信号灯是日常生活中遇到的一个普通实例,
文档评论(0)