资源列表
temp
- 该程序用于测量温度,温度传感是DS18B20.用LCD显示-The program used to measure temperature, temperature sensing is DS18B20. With LCD display
shijue
- 可以测试人的视觉暂留特性,灯闪烁的频率慢慢变快,当看不清闪烁的时候,按下按键,LED显示人眼的暂留时间-To test human visual characteristics of temporary stay, the frequency of light flashes slowly changing rapidly, when not clear when flashing, press the button, LED display the human eye temporary st
INT0_INTERRUPT
- 按键中断实验。低电平中断,在中断中改变PB1电平状态。-Experimental interruption button. Low level interruption, disruption of change in PB1-level status.
DAC0832
- DAC0832 Interface DAC0832的接口c程序-DAC0832 Interface DAC0832 interface c procedures
P7
- 数码显示实验 将以下代码表中数值(“0—9”及“-” 的代码)在七段数码管上显示出来。要求每个数值代码从右端(SLED6)依次(单个)移动至左端(SLED1)显示,移动间隔0.5秒,循环显示。-Digital display experiment the following code table values ( 0-9 and - code) in the seventh on digital tube display. Requires each numerical code
p6
- 内部定时器与中断实验 由8051内部定时器0按方式1工作,即作为16位定时器使用,每0.1秒钟T0溢出中断一次。要求编写程序模拟循环彩灯。彩灯变化花样为:由中间(L4、L5)两位开始向两侧依次累加点亮;全亮后由中间(L4、L5)两位开始向两侧依次累加熄灭;全灭后由两边(L1、L8)两位向中间依次累加点亮;全亮后由两边(L1、L8)两位向中间依次累加熄灭。各时序间隔为0.5秒,依此循环。-Internal timer with the interruption of the experi
p5
- 内部定时器实验 在使用8051的定时器/计数器前,应对它进行编程初始化。对于不同的方式,定时器的最大定时间隔,计数器的满计数值不同。本实验中8051单片机的时钟频率为6MHz,在P1.7端接有一个发光二极管,-Experiments in the use of an internal timer 8051 timer/counter before it is programmed to respond to initialize. For different ways, the greate
p4
- 中断实验 ——有急救车的交通灯控制实验 1. 基本实验 在实验三基本实验内容的基础上增加允许急救车优先通过的要求。当有急救车到达时,两个方向上的红灯亮,以便让急救车通过,假定急救车通过路口的时间为10秒,急救车通过后,交通灯恢复中断前的状态。本实验以单脉冲接INT0为中断申请,表示有急救车通过。 2. 扩展实验 在基本实验的基础上增加一级中断控制。INT1收到脉冲中断请求时使两方向上均为黄灯闪烁15秒。若同时收到INT0、INT1中断请求则只响应INT0中断请求,若在黄
P1ExE
- P1口扩展实验 P1口既做输入口又做输出口,KEY1做为左转弯开关,KEY2做为右转弯开关。LED5、LED6做为左转弯灯,LED7、LED8做为右转弯灯(如图2-2)。 编程实现汽车转向灯功能,即:KEY1接高电平KEY2接低电平时,右转弯灯灭,左转弯灯以一定频率闪烁(注意:KEY拨向上方为0);KEY2接高电平KEY1接低电平时,左转弯灯灭,右转弯灯以一定频率闪烁;KEY1、KEY2同时接低电平时,发光二极管全灭;KEY1、KEY2同时接高电平时,发光二极管全亮。-P1 I extend
P1Ex
- P1口基本实验 P1口做输出口,接八只发光二极管(如图1-1),编写程序,使发光二极管从左到右依次单个点亮,再从右至左依次单个点亮,以此循环。各发光二极管的阳极通过保护电阻接到+5V的电源上,阴极接到接线端口上,因此使其点亮应使相应接线端口为低电平-P1 mouth I do basic experiments P1 output, and then eight light-emitting diodes (Figure 1-1), the preparation of procedures
1602+ds1302+ds18b20-clock
- 一个单片机做的电子钟,更多的可以看看这个菜单程序,编得还不错-Do a single-chip electronic bell, more procedures can take a look at this menu, made a good
51mcuboard
- 一个51单片机的最小系统protues防真,大家可以扩充做更多的防镇实验-A minimum of 51 single-chip microcomputer system protues anti-truth, we can do more to prevent the expansion of the town of experimental
