文件名称:zhuansubiao
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:44.52kb
-
已下载:2次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
利用89C-51单片机作为主控器组成一个转速表。由转动电机提供计数脉冲。设置定时器/计数器T0和T1,内部定时器T0设置为定时方式,且定时时间为50ms,即每50ms定时器T0中断一次,中断20次达到1秒;计数器T1设置为外部脉冲计数工作方式,并将初值置为0FFFFH,转动电机每转一周产生一个脉冲使得计数器加1溢出产生中断,设在1s内测量的脉冲个数为n即为测到的转动电机的转速。-The use of 89C-51 microcontroller as master composed of a tachometer. Counting pulses provided by a rotating motor. Set timer/counter T0 and T1, the internal timer T0 is set to regular mode, and the regular time of 50ms, or 50ms Timer T0 interrupt every time, interrupted 20 times to 1 second counter T1 is set to an external pulse counting methods of work, and the initial value set to 0FFFFH, rotating motor to generate a pulse per revolution makes the counter a week plus an overflow interrupt, located in the 1s to measure the pulse number n shall be measured for the motor rotation speed.
相关搜索: tachometer
脉冲计数
(系统自动生成,下载前可以参看下载内容)
下载文件列表
转速表- 张锐.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.