Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - stop light
Search - stop light - List
DL : 0
模拟交通灯,并带有数字显示的程序。初始时全为红灯,显示“HELLO”字样。然后交通灯以“红绿、红黄、绿红、黄红”四种状态做循环,而且黄灯会闪烁,每种状态都带有到数记时。当按下P3_2时,变成“红红”状态,并显示“STOP”字样! -simulated traffic lights and figures with the procedure. When all of the initial red, shows that the "hello" words. Then traffic lights to the "black, red and yellow, green, red, yellow red" state to do four cycle, but the yellow light flashes, each state will have a few to remember when. When pressed P3_2, into a "red" state, and shows that the "STOP" word!
Date : 2025-12-27 Size : 25kb User : SKY

DL : 0
这是一个远程温度计 MCU: AT89S52 温度传感器: DS18B20 晶振: 12MHz 使用串口连接,在PC端使用"超级终端"打开 设置如下: 波特率: 4800 数据位: 8 奇偶校验: 无 停止位: 1 数据流控制: 无 电路图见Thermometer-SCH.jpg 该程序的编写参照了Keil UV2自带的便子 见EXAMPLES\MEASURE 使用终端交互方式 其实,这不仅是一个测漫器, 它的时钟也非常准确.-This is a remote thermometer MCU: AT89S52 Temperature sensor: DS18B20 crystal: 12MHz to use serial port connection, in the PC client to use super terminal Open settings are as follows: baud rate: 4800 data bits: 8 Parity: None Stop bits: 1 Data Flow Control: No schematics see Thermometer-SCH.jpg the program prepared by the light of the Keil UV2 own son will see the use of terminal interactively EXAMPLESMEASURE In fact, this is not only a measured man, and it is also very accurate clock.
Date : 2025-12-27 Size : 95kb User : tary

DL : 0
单片机基本原理,如何使用 DX516仿真器,如何编程点亮和灭掉一个 LED灯,如何进入 KEILC51uV 调试环境,如何使用单步,断点,全速,停止的调试方法 -Singlechip the basic principles of how to use the DX516 emulator, how to programming a LED light and eliminate light, how to enter KEILC51uV debugging environment, how to use the single-step, breakpoints, full-speed, stop the debugging method
Date : 2025-12-27 Size : 460kb User : 张军

DL : 0
利用动态扫描和定时器1在数码管上显示 出从765432开始以1/10秒的速度往下递减 直至765398并保持显示此数,与此同时利 用定时器0以500MS速度进行流水灯从上至 下移动,当数码管上数减到停止时,实验 板上流水灯也停止然后全部开始闪烁,3秒 后(用T0定时)流水灯全部关闭、数码管上 显示出"HELLO"。到此保持住。 设晶振频率为12MHz。-The use of dynamic scanning and Timer 1 in the digital control to show from the beginning of 765,432 to 1/10 seconds until the speed of descending down 765,398 and maintain display this number, at the same time the use of Timer 0 to 500ms the speed of light from the flowing water to Under the move, when reduced to a few digital tube stop, the experiment on-board water stop and then all the lights started to flicker, 3 seconds later (T0 regularly used) closed water lights, digital tubes show
Date : 2025-12-27 Size : 2kb User : 李先生

DL : 0
该程序实现的是可控流水灯 /* 接P3.2 的键为开始键,按此键则灯开始流动(由下而上) /* 接P3.3 的键为停止键,按此键则停止流动,所有灯暗 /* 接P3.4 的键为向上键,按此键则灯由上向下流动 /* 接P3.5 的键为向下键,按此键则灯由下向上流动-The program is controlled water realize lights/* P3.2 access keys for the Start button, click the start button then lights flow [bottom-up]/* P3.3 access keys for the stop button, this button is to stop the flow, all the lights the dark/* P3.4 access to up-arrow key, this key is the downward flow of light from/* Access P3.5 for the down arrow key, this button will light from the next upward mobility
Date : 2025-12-27 Size : 32kb User : sdsajsdsaj

DL : 0
点亮LED灯,C语言编写,可以在keil下运行。实现第一个小灯的不停闪烁,初学着可以好好参考。-LED lights lit, C language, you can run keil. Achieve the first of a small non-stop flashing lights, can make reference to the beginner.
Date : 2025-12-27 Size : 7kb User : 雒宇天

DL : 0
在P1.0端口上接一个发光二极管L1,使L1在不停地一亮一灭,一亮一灭的时间间隔为0.2秒。-P1.0 port access in a light-emitting diodes L1, so that L1 in a non-stop out of a bright, a bright a time out interval is 0.2 seconds.
Date : 2025-12-27 Size : 32kb User : elite-liu

DL : 0
EX4_BELL: (蜂鸣器) 蜂鸣器响300ms,P0 端口的 D00 和 D07 点亮。 蜂鸣器停300ms,P0 端口的 D00 和 D07 熄灭。-EX4_BELL: (buzzer) ring buzzer 300ms, P0 port light D00 and D07. Buzzer stop 300ms, P0 port out of the D00 and D07.
Date : 2025-12-27 Size : 9kb User : dandan

DL : 0
利用动态扫描和定时器1在数码管上显示出从765432开始以1/10秒的速度往下递减直至765398并保持显示此数,与此同时利用定时器0以500MS速度进行流水灯从上至下移动,当数码管上数减到停止时,实验板上流水灯也停止然后全部开始闪烁,3秒后(用T0定时)流水灯全部关闭、数码管上显示出“HELLO”。到此保持住。-The use of dynamic scanning and Timer 1 in the digital control on the show to start from 765,432 to 1/10 seconds reduced the speed down and keep up to 765,398 the number of shows at the same time the use of Timer 0 to 500MS speed of light from the water to Under the move, when the digital control reduced the number of stops on the experimental water board has to stop and then all the lights started to flicker, 3 seconds (from time to time with T0) closed water lights, digital tubes display a " HELLO" . Maintain this.
Date : 2025-12-27 Size : 12kb User : 小三

1) 8路数据采集功能 通过调节可变电阻实现0-5V的电压输出作为8路输入信号使用,每路信号用2位LED显示采集的结果。报警:任意一路超过某一门限(可自己设定)时,发出报警(声音+灯闪烁,并通过灯指示是哪一路报警),同时停止采集。 2) 计数功能 利用计数功能键,实现每按一次按键,LED显示加1,从0-99计数。 3) 秒表功能 只用一个键控制。按下一个按键后时钟启动,从零开始计时,计时间隔0.01秒,再按一次后停止。再按一次后清零。如此循环。 -3 function keys set up: When a function key is pressed after entering the corresponding functional model. Three features are: 1) 8-Channel Data Acquisition function by adjusting the variable resistor to achieve the 0-5V voltage output 8-channel input signal as the use of signals each with two LED display of the results collected. Alarm: any way above a certain threshold (which can be set), the issue of police (voice+ lights flicker, and through which light is the way the police instructions), at the same time to stop collecting. 2) counting function count function keys to use to achieve every time button, LED display plus 1, counting from 0-99. 3) with a stopwatch function keys control only. After pressing a button to start the clock, to start from scratch time, time interval 0.01 seconds, and then after a stop. And then once cleared. Such a cycle.
Date : 2025-12-27 Size : 103kb User : 孙国栋

DL : 0
控制PC,这里只要按CPUBBS学习采集开发套件上的键盘即可以实现,P0.0对应于开发板上与CPU的这个脚相连的键盘,即为KEY1,其它依次类推下去!若是PC机上有显示你按的键,但是显示的灯没有点亮,则有可能是PC机上的程序缓冲区把收到的信息移位了,这时只要将这个VI停止运行,然后重新运行就会好了的!可以通过修改程序可以实现各种控制PC的功能! ------------------------------------- www.cpubbs.com-Control PC, just click here to learn CPUBBS on collection development kit that enables the keyboard, P0.0 corresponds to the development of on-board with the CPU connected to the foot keyboard, that is, KEY1, and so on go the other! If the PC, there are shows that you press the button, but the lights do not light up display, there may be PC, the program information received by the buffer zone to shift, and then simply stop running the VI, and then re-run on the would be better of! Can be achieved by modifying the procedures for the various control functions of PC!------------------------------------- Www.cpubbs.com
Date : 2025-12-27 Size : 113kb User : leedong

DL : 0
keilc + proteus 并行口设计指示灯实验 要求:掌握80C51单片机输入输出接口使用方法 学会开关量输入输出控制的接口技术及编程方法 实验题目:8个发光二极管D1~D8分别接在单片机P1.0-P1.7端口上,一个开关接在P3.0上。要求输出端口输出 “0”时,发光二极管亮。开关闭合时,开始按P1.0-P1.1-...-P1.7的顺序依次点亮LED,再按 P1.7-P1.6 -...-P1.0的顺序点亮LED,重复循环。开关断开时,立刻停止点亮指示灯。-keilc+ proteus light parallel port design of experiments requirements: master the 80C51 microcontroller input and output interfaces Society of switch to use the amount of input and output control interface technology and programming methods Experimental subjects: eight light-emitting diodes D1 ~ D8, respectively connected to the MCU P1.0-P1 .7 port on a switch connected to the P3.0 on. Requested output port output " 0" , the light-emitting diode light. Is closed, to embark on the P1.0-P1.1-...- P1.7 in the order light LED, and then P1.7-P1.6-...- P1.0 order light LED Repeat cycle. Switch off when the stop light indicator.
Date : 2025-12-27 Size : 21kb User : ben

DL : 1
采用步进电机模拟洗衣机电机,实现上水、浸泡、洗涤、漂洗、甩干等过程。洗涤分弱洗、轻洗、强洗;可设定3级水位设定,每级水位均设定水位下限(值自定);可选择漂洗次数(3~5次)。使用键盘进行流程及参数设定及自动存储流程,设定暂停键,可暂时停止洗衣机的工作,恢复后按原设定程序继续进行,同时设定停止键,可终止洗衣机的工作,并在LED或LCD上显示当前流程。-Simulation using stepper motors washing machine motor to achieve Sheung Shui, soaking, washing, rinsing, drying and other processes. Washing sub-weak wash, light wash, strong wash can be set to three water level settings, set the water level in each grade level were lower (the value of self-set) optional rinsing times (3 ~ 5 times). Using the keyboard processes and parameter settings and automatic memory processes, set pause button to temporarily suspend the work of washing machines and restore original settings after the process to continue at the same time set the stop button, may terminate the work of washing machines, and LED or the LCD displays the current process.
Date : 2025-12-27 Size : 4kb User : 华成

DL : 1
采用步进电机模拟洗衣机电机,实现上水、浸泡、洗涤、漂洗、甩干等过程。洗涤分弱洗、轻洗、强洗;可设定3级水位设定,每级水位均设定水位下限(值自定);可选择漂洗次数(3~5次)。使用键盘进行流程及参数设定及自动存储流程,设定暂停键,可暂时停止洗衣机的工作,恢复后按原设定程序继续进行,同时设定停止键,可终止洗衣机的工作,并在LED或LCD上显示当前流程。-Simulation using stepper motors washing machine motor to achieve Sheung Shui, soaking, washing, rinsing, drying and other processes. Washing sub-weak wash, light wash, strong wash can be set to three water level settings, set the water level in each grade level were lower (the value of self-set) optional rinsing times (3 ~ 5 times). Using the keyboard processes and parameter settings and automatic memory processes, set pause button to temporarily suspend the work of washing machines and restore original settings after the process to continue at the same time set the stop button, may terminate the work of washing machines, and LED or the LCD displays the current process.
Date : 2025-12-27 Size : 4kb User : 华成

led实验:控制led小灯循环点亮,用开始、停止、和方向按钮来控制小灯的点亮。-led experiment: control led light small light cycle, with start, stop, and direction buttons to control the small lights lit.
Date : 2025-12-27 Size : 13kb User : liujia

DL : 0
PLC课程设计报告,采用罗克韦尔专业PLC编程软件的T形图语言编写实现,能模拟路况,实现交通灯控制,倒计时,黄灯功能,另实现急行通车及全停-PLC program design report, using Rockwell PLC programming software professional T-shaped plan language to achieve, can simulate road conditions, to achieve traffic light control, countdown, yellow light function, another line of traffic to achieve rapid and full stop
Date : 2025-12-27 Size : 156kb User : 任天祥

DL : 0
利用动态扫描和定时器1在数码管上显示出从765432开始以1/10秒的速度往下递减直至765398并保持显示此数,与此同时利用定时器0以500MS速度进行流水灯从上至下移动,当数码管上数减到停止时,实验板上流水灯也停止然后全部开始闪烁,3秒后(用T0定时)流水灯全部关闭、数码管上显示出“HELLO”。到此保持住。 -Dynamic scan and Timer 1 in the digital pipe shows start from 765 432 to 1/10 sec down and keep decreasing until the show this number 765,398, while the use of Timer 0 to 500MS speed of light from the water to Under the move, when the digital pipe to reduce it to stop when the lights stopped flow experiments on-board and then all the flashes, 3 seconds (with the T0 timer) running water all the lights off, the digital control on the show " HELLO" . This to keep living.
Date : 2025-12-27 Size : 1kb User : 陈浩

DL : 0
基本功能: 实现四项八拍步进电机的变速控制:加速,恒速,减速;可以按键控制正反转,具有声、光报警功能。 扩展功能: 1、以led数码管显示当前○1上电等待状态,○2运行状态(正转、反转标志,加速、恒速、减速,以及当前速度等级。),○3停止状态。 2、实现给定值控制步进电机速度。 -Basic functions: to achieve eight shot four stepper motor speed control: acceleration, constant speed, deceleration can button control rotating, and with sound, light alarm. Extension: 1, led digital display current ○ 1 power wait state, ○ 2 run state (forward and backward signs, acceleration, constant speed, deceleration, and the current speed grade.), ○ 3 stop state. 2, to achieve a given value of the speed control stepper motor.
Date : 2025-12-27 Size : 83kb User : duanjian

DL : 0
近日受驾照教练所托开发一个模拟练车的车速模拟器,由此来代替学员练车,因为有些学员本来就会开车,只是为了个驾照才报名的,所有这些学员就不需要浪费时间去练车了,本模拟器就是代替学员完成练车学时,本程序已正在运作使用了,现在拿出来给大家希望对你有一定的启发作用.分三档,分别、高、中、低,对应的指示灯为,高为P1.4、中为P1.5、低为P1.6 停止为P1.7, 脉冲输出为P1.0, P3.2是高、中、低速档位选择、P3.3是启动、P3.4是停止、P3.5是由高至低的速度 选择,共20档-Recently, the trust by the coach driver' s license the development of a simulation Lianju speed simulator, thus instead of students Lianju, because some students will have been driving, just for a driver' s license before enrollment, all of these students do not need to waste time training car, and the simulator is complete Lianju hours instead of students, this program is in operation has been used, now out for everyone hope you have some enlightening. sub third gear, respectively, high, medium, low, corresponding the light is high as P1.4, for P1.5, P1.6 to stop low as P1.7, pulse output for the P1.0, P3.2 is high, medium and low speed gear selection, P3.3 is a start, P3.4 is stopped, P3.5 is high to low speed selection, a total of 20 stalls
Date : 2025-12-27 Size : 21kb User : cltv98

DL : 0
花样流水灯:8个发光二极管D1~D8分别接在单片机P0.0-P0.7端口上,一个开关接在P3.0上。要求输出端口输出“0”时,发光二极管亮。开关闭合时,开始按P0.0+P0.7、P0.1+P0.6、P0.2+P0.5、P0.3+P0.4的顺序依次点亮LED,再按P0.3+P0.4、P0.2+P0.5、P0.1+P0.6、P0.0+P0.7的顺序点亮LED,重复循环。开关断开时,立刻停止点亮指示灯。-Mood Light water: 8 LEDs D1 ~ D8, respectively, connected to the microcontroller ports P0.0-P0.7, P3.0 on a switch connected. Required output port " 0" , the light-emitting diode light. Switch is closed, starting at P0.0+ P0.7, P0.1+ P0.6, P0.2+ P0.5, P0.3+ P0.4 in the order light LED, then P0.3+ P0.4, P0.2+ P0.5, P0.1+ P0.6, P0.0+ P0.7 order light LED, repeat the cycle. Switch off, stop light indicator.
Date : 2025-12-27 Size : 1kb User : 张志
« 12 3 4 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.