文件名称:jiaotongdengkongzhixitong
- 所属分类:
- 嵌入式/单片机编程
- 资源属性:
- 上传时间:
- 2018-03-10
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- qaren******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
该程序的功能:实现道路交通灯控制系统的软件程序设计。东西、南北两干道交于一个十字路口,各干道有一组红、黄、绿三色的指示灯。 具体实现:普通模式:红、黄、绿灯分别显示30、3、30秒;主从模式:主干道上是绿灯40秒,黄灯3秒,红灯20秒,而从道上是红灯40秒,黄灯3秒,绿灯20秒;紧急模式:四个方向上都亮红灯,数码管停止计时;蜂鸣器报警:当某个干道上是红灯的时候,传感器检测到有车闯过去时, 蜂鸣器报警。代码中用四个LED数码管分别表示东、西、南、北四个方向,数码管的上中下3个横段代表红黄绿三盏灯。(The function of the program is to realize the software program design of the road traffic light control system. The two main roads between the East and the south are delivered to a crossroad, and the main roads have a set of red, yellow and green three colors. Implementation: normal mode: red, yellow, green, 3, 30 respectively display 30 seconds; master-slave mode: trunk road is a green light for 40 seconds, 3 seconds yellow light, red light 20 seconds from the road is a red light yellow light 40 seconds, 3 seconds, 20 seconds green; emergency mode: Four directions on the red light, stop the clock digital tube; buzzer alarm: when a road is a red light when the sensor detects a car rushed past, buzzer alarm. In the code, four LED digital tubes are used to express four directions in East, West, South and North. The upper and middle 3 sections of the digital tube represent three red yellow and green lights.)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
基于51单片机的交通灯控制系统总程序.txt | 3756 | 2016-04-23 |