登录
首页 » c » 交通灯

交通灯

于 2022-03-12 发布 文件大小:208.51 kB
0 107
下载积分: 2 下载次数: 1

代码说明:

基于51单片机的交通灯设计,用红、绿、黄三色发光二极管作信号灯,主干道为东西向,有红、绿、黄三个灯;支干道为南北向,也有红、绿、黄三个灯。红灯亮禁止通行;绿灯亮允许通行;黄灯亮则给行驶中的车辆有时间停靠到禁行线之外。由于主干道车辆比较多而支干道车辆比较少,所以主干道的绿灯时间较长。当主干道允许通行亮绿灯时,支干道的红灯亮。而支干道允许通行亮绿灯时,主干道亮红灯,两者交替重复。主干道每次放行50s,支干道每次放行30s。在每次由亮绿灯变成亮红灯的转换过程中间,需要亮5s的黄灯作为过渡,以使行驶中的车辆有时间停靠到禁行线以外。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • TM1804 or STC15W104
    使用STC15W104/STC15W204单片机,实现控制TM1804 芯片RGB全彩变幻效果。(TM1804 or STC15W104/STC15W204)
    2020-06-18 19:00:02下载
    积分:1
  • ESS
    基于efficient subwindow search算法的windows实现(efficient subwindow search for windows )
    2009-12-27 00:08:09下载
    积分:1
  • 霍夫曼压缩解压缩
     用霍夫曼编码实现的简单的文本压缩解压缩C++源程序
    2023-03-16 17:30:04下载
    积分:1
  • tcl5615interface
    十位DA TLC5615的接口程序,包括其中寄存器的读写和输出函数等(10 DA Chip interface procedures, including the Register of literacy and output functions, etc.)
    2007-05-30 15:19:23下载
    积分:1
  • PlaneGame
    使用cocos2d-x写的一个打飞机的小游戏(Using cocos2d-x wrote a small plane hit game)
    2013-12-09 15:13:08下载
    积分:1
  • 程序
    随着生活质量的提高,越来越多的人喜欢在家中养花,但经常因不能及时照顾花的生长环境而导致花枯萎。为改善这种情况本系统提出了一种基于51单片机的智能浇花系统,该系统是以51单片机为主控制器,通过DS1302时钟模块设定在固定的时间进行浇水,浇水的时间为60秒;同时使用温度传感器DS18B20和湿度传感器对土壤的温度和湿度进行检测,当检测到的环境状况是属于土壤缺水的情况,则主控制器会打开水泵开关开始浇水,当不在是缺水的情况时则停止浇水。经过后期的多次测试,该系统可以成功的实现预期的设计目标。(With the improvement of the quality of life, more and more people like to grow flowers at home, but often fail to take care of the growing environment of flowers in time to cause the flowers to wilt. In order to improve this system, an intelligent watering system based on 51 single-chip microcomputer is proposed. The system is based on 51 single-chip microcomputer as the main controller. The system is set at a fixed time through the DS1302 clock module to water for 60 seconds. The temperature and humidity of the soil is also used by the temperature sensor DS18B20 and the humidity sensor. The main controller opens the water pump switch to water and stops watering when the water is not in the condition of water shortage. After many tests, the system can achieve the desired design goals successfully.)
    2018-04-20 22:39:28下载
    积分:1
  • voiceRecognitionSX
    这是一个基于DTW的语音识别算法,由matlab实现,相信对大家有帮助。(This is a DTW-based speech recognition algorithm by matlab to achieve, I believe that everyone has to help.)
    2013-11-18 16:14:02下载
    积分:1
  • Ibatis链接oracle实现基本crud
    Ibatis1.6.2+c#+oracle10.2+vs2015实现基本的crud,适合初学入门级别参考
    2022-04-02 07:18:29下载
    积分:1
  • slide
    滑动窗口协议仿真,程序按照滑动窗口协议实现端对端的数据传送。包括协议的各种策略,如包丢失、停等应答、超时等都应有所仿真实现(The sliding window protocol simulation program, in accordance with the sliding window protocol implementation end-to-end data transmission. Including all kinds of strategies of the agreement, such as packet loss and stop response, timeout should be implemented)
    2020-07-03 00:40:02下载
    积分:1
  • 手势遥控车
    通过一块陀螺仪,一个电源和蓝牙传输,完成一个简单的通讯,通过手势运动控制小车走动。(Through a gyroscope, a power supply and Bluetooth transmission, a simple communication is completed, and the car is controlled by gesture movement.)
    2020-06-25 17:20:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载