搜索资源列表
zhuansubiao
- 利用89C-51单片机作为主控器组成一个转速表。由转动电机提供计数脉冲。设置定时器/计数器T0和T1,内部定时器T0设置为定时方式,且定时时间为50ms,即每50ms定时器T0中断一次,中断20次达到1秒;计数器T1设置为外部脉冲计数工作方式,并将初值置为0FFFFH,转动电机每转一周产生一个脉冲使得计数器加1溢出产生中断,设在1s内测量的脉冲个数为n即为测到的转动电机的转速。-The use of 89C-51 microcontro
74164CON1
- 4位数码管显示的脉冲计数器,来一个脉冲显示个位进一位-4-bit digital tube display of the pulse counter
chashengboceju
- AT89S52单片机控制的超声波测距,主程序首先对系统环境初始化,设置定时器T0工作模式为16位的定时计数器模式,置位总中断允许位EA并给显示端口P0和P2清0。然后调用超声波发生子程序送出一个超声波脉冲,为避免超声波从发射器直接传送到接收器引起的直接波触发,需延迟0.1ms(这也就是测距器会有一个最小可测距离的原因)后,才打开外中断0接收返回的超声波信号。由于采用12MHz的晶振,机器周期为1us,当主程序检测到接收成功的标志位后,将
dian
- 低频频率计,选用24MHz的晶体,主频可达2MHz。用T1产生100us的时标,T0作信号脉冲计数器。假设晶体频率没有误差,而且稳定不变(实际上可达万分之一);被测信号是周期性矩形波(正负脉冲宽度都不能小于0.5us),频率小于1MHz,大于1Hz。要求测量时标1S,测量精度为0.1 -Low frequency, use 24MHz crystal, frequency up to 2MHz. Generate 100us with
DHC8J_NEW
- 仪器仪表类,脉冲计数器,已经调试过,能正常使用。-Instrumentation type, pulse counter, debugged, can be used normally.
timer
- 飞思卡尔芯片的定时器模块,包括输入捕获,脉冲计数器,pwm模块-freescale timer
jishuqi
- vhdl简单的脉冲计数器程序,初学者可以用来借鉴,没有错误!经实验验证,完美运行-vhdl pulse counter program, beginners can be used to learn there are no errors! The experiments prove that the perfect run
pulse-counter-impulse-scaler
- 用C语音编写的脉冲计数器,可以用来测速度,和计算脉冲-pulse counter impulse scaler
Hall-element-tachometer-circuit
- 下面以常见的玩具电机作为测速对象,用CS3020设计信号获取电路,通过电压比较器实现计数脉冲的输出,既可在单片机实验箱进行转速测量,也可直接将输出接到频率计或脉冲计数器,得到单位时间内的脉冲数,进行换算即可得电机转速。这样可少用硬件,不需编程,但仅是对霍尔传感器测速应用的验证。-Hall element tachometer circuit
jishuqidfdvb
- 51单片机编写的数字脉冲计数器,还有电路仿真哦-Written by the 51 single-chip digital pulse counter, circuit simulation Oh
dingshizhongduan
- 定时器一但启动,它便在原来的数值上开始加1计数,若在程序开始时,我们没有设置TH0和TL0,它们的默认值都是0,假设时钟频率为12MHz,12个时钟周期为一个机器周期,那么此时机器周期为1us,记满TH0和TL0就需要216 -1个数,再来一个脉冲计数器溢出,随即向CPU申请中断-Once the timer starts, it began on the original value plus 1 count, in the begi
pulse
- stc12c5a60s2两路PCA脉冲计数器,带计时和中断功能。适用于测速等应用场合。原创-stc12c5a60s2 two PCA pulse counter with timer and interrupt function. For speed and other applications. Original
main
- avr上的一个三路脉冲计数器,可以用在proteus仿真-A three-way pulse counter of AVR, can be used in proteus simulation
pulse-counter
- 飞思卡尔智能车可以使用的脉冲计数器 基于9S12平台-Pulse counter Freescale smart car can use the platform based 9S12
lesso7c
- 基于RTC89C52做的一个脉冲计数器,用杜邦线一遍接时钟(scl),另外一端每接地一次数码管显示的数加1,-Based RTC89C52 do a number of pulse counter, then again with DuPont line clock (scl), the other end of the ground every time plus a digital display,
QEP
- 基于DSP2812平台,CCS3.3,采用事件管理器EVA的T2计数器测定QEP电路脉冲个数,编码器AB相输入到EVA的指定引脚。正转则T2增计数,反转则T2减计数。亲测可用。注意一圈脉冲数为编码器线程的4倍。(DSP2812 based platform, CCS3.3, the event manager using EVA T2 of the counter circuit pulse number measuring QEP,
clock_counter
- 通过外部中断捕获脉冲,并计数,基于STC15L2K60S2单片机,keil uv5编写。(Through the external interrupt capture pulse, and count, based on STC15L2K60S2 microcontroller, Keil uv5 prepared.)
dingshiqi
- 采用定时器/计数器T0对外部脉冲进行计数,每计数100个脉冲后,T0转为定时工作方式。定时1ms后,又转为计数方式,如此循环不止。假定MCS-51单片机的晶体振荡器的频率为6MHz,请使用方式1实现(A timer / counter T0 is used to count the external pulse. After counting 100 pulses, T0 turns to a timing operation. Aft
src
- 基于AXI 总线的可配置脉冲计数器,可以配置计算脉冲的个数。(The configurable pulse counter based on AXI bus can be configured to calculate the number of pulses)
TIME_5
- 利用T0实现对外部脉冲的计数,利用按键模拟产生外部脉冲。计数值为1,4,7……时,LED0亮,LED1灭;计数值为2,5,8……时,LED1亮,LED0灭;每满10次计数,蜂鸣器鸣叫。(Using T0 to achieve external pulse count, the use of key to simulate the external pulse. The count value is 1,4,7...... When LE