-
AD_count_countdown
说明: 设置3个功能键:当某一功能键被按下后,进入相应的功能模式。3个功能有:
1)8路数据采集功能:通过调节可变电阻实现0-5V的电压输出作为8路输入信号使用,每路信号用2位LED显示采集的结果。报警:任意一路超过某一门限(可自己设定)时,发出报警(声音+灯闪烁,并通过灯指示是哪一路报警),同时停止采集。2)计数功能:利用计数功能键,实现每按一次按键,LED显示加1,从0-99计数。3)秒表功能:只用一个键控制。按下一个按键后时钟启动,从零开始计时,计时间隔0.01秒,再按一次后停止。再按一次后清零。如此循环。
本设计采用2个MAX7221串行驱动2个8路数码管显示,更节省单片机I/O口。(AD、count、countdown)
- 2009-07-21 21:14:48下载
- 积分:1
-
24
说明: 用单片机实现的DS1621温度传感器,测量周边环境的温度(With MCU' s DS1621 temperature sensor to measure the temperature of the surrounding environment)
- 2011-06-17 23:48:22下载
- 积分:1
-
stm8_hard_I2C
Stm8 I2C总线硬件I2C设备,总线挂载4片单片机,均为Stm8单片机,每一片单片机都可以做主从切换,测试可以正常通信。(Stm8 hardware I2C bus mount four I2C devices, are stm8 microcontroller, every piece of single-chip computer can make decision the switch, the test can normal communication.)
- 2015-02-05 21:13:47下载
- 积分:1
-
PT2314
本产品是一个具有音量控制的IC。
void I2C_start(void)
{
EA=0
PTDAT=1 PTSCL=1 SomeNOP()
PTDAT=0 SomeNOP()
PTSCL=0
}
static ...
- 2014-07-12 15:38:52下载
- 积分:1
-
Light-Principle-of-Operation
Light Principle of Operation
- 2013-12-03 11:45:49下载
- 积分:1
-
clock
用c语言写的时钟代码,每隔一秒秒钟增加一(The clock with the c language to write code to add a second every second)
- 2011-01-20 14:18:08下载
- 积分:1
-
kaiguandianyuan
基于STM32直接操作寄存器版本,07年开关电源控制程序,采集反馈的电压进行PI调节,达到稳压目的。(Register version based on the STM32 direct operation, 07 switching power supply control procedures, collect feedback PI regulating voltage, voltage regulator.)
- 2013-08-24 19:53:26下载
- 积分:1
-
hi-techv9.8
picc-std_9.60PL2,带破解,可以支持MCV08等PIC单片机,是现有的最新的与最全的PICC编译器(picc-std_9.60PL2, with a break, you can support MCV08 other PIC microcontrollers, is available with the latest and most complete PICC compiler)
- 2011-07-20 11:39:09下载
- 积分:1
-
jiaotongdeng
单片机模拟交通灯显示。其中,红灯与绿灯显示时间均为50s,中间的黄灯显示时间为15s。绿灯用八位发光二极管流动闪烁作代表;红灯用八位发光二极管全亮作代表;黄灯用八位发光二极管全亮全灭闪烁作代表。刚开始显示的为绿灯。(SCM simulated traffic light display. Among them, the red and green display times are 50s, in the middle of the yellow light is displayed for 15s. Green with eight light-emitting diode flashes as a representative flow red with eight full brightness light-emitting diodes as a representative yellow with eight light-emitting diodes for all light flashes Quanmie representatives. Just beginning to show as green. Display order: green- yellow- red- yellow- green- yellow- red- ..................)
- 2014-05-29 17:15:44下载
- 积分:1
-
pedometer
本文设计了基于加速度传感器的计步器,并通过仿真以及实际调试得到了相应的结果的记录。本实验首先通过加速度传感器检测目标物体的运动,产生脉冲,将脉冲放大后经过施密特触发器整型为方波,并给出了方波的调试电路图。然后编写程序,利用D触发器检测方波的上升沿,当上升沿到来时,计数,并对十位、个位分别编码,然后由使能信号交替控制数码管输出结果。本文给出了仿真以及调试的程序、结果。(This article is designed pedometer-based acceleration sensor and the corresponding results recorded by simulation and debugging. The experiments by first acceleration sensor detects the movement of the target object, generates a pulse, the pulse amplification is a square wave after the Schmitt trigger integer, and gives the the debug circuit diagram of a square wave. Then write procedures, the use of the rising edge of the detection of the square wave of the D flip-flop, when the rising edge, the count, and ten bits are encoded, and then alternately by the enable signal output of the digital control. In this paper, a simulation and debugging procedures, results.)
- 2013-03-13 08:58:22下载
- 积分:1