摘要
介绍了自行车测速装置的元器件选择、方案和电路原理,完成了自行车里程/速度测量的硬件设计和软件设计。车轮的转数用霍尔传感器转换成电脉冲,处理后进入微控制器。通过STC89C52单片机的定时器/计数器实现里程和速度测量,计算出结果数据,最后通过液晶显示结果,并对测试结果进行了分析。
This paper introduces the components selection, scheme and circuit principle of bicycle speed measuring device, completes the hardware design and software design of bicycle mileage/speed measuring. Wheel rotation is converted into electric pulse by Hall sensor, which is processed and then transferred into the microcontroller. Through the timer/counter of STC89 C52 MCU, the mileage and speed are measured, and the result data are calculated. Finally, the results are displayed by the LCD, and the test results are analyzed.
作者
陶冶
TAO Ye(College of Electronic and Information Engineering,Lanzhou Institute of Technology,Lanzhou 730050,China)
出处
《仪表技术》
2019年第7期25-27,30,共4页
Instrumentation Technology