摘要
本文所介绍电机测速系统主要由霍尔传感器、单片机、LCD1602液晶显示模块组成。系统以STC89C52单片机系统和霍尔传感器为核心,霍尔传感器把不同转速所转变成的不同频率的脉冲信号发送至到单片机,通过单片机的设置可对霍尔传感器输入的脉冲信号进行计数和处理,这样能精确地算出加到引脚的单位时间内检测到的脉冲数,单片机进行控制与计算后,采用LCD液晶显示模块实时显示。本测速系统的设计具有操作方便,显示清晰,结构简单,稳定可靠,成本低廉等优点。
This article describes the motor speed of the system consists of a Hall sensor, microcontroller, LCD1602 LCD module.STC89C52 SCM system as the core system and the Hall sensor, Hall sensor sends pulses are converted into different speeds at different frequencies to the microcontroller, the Hall sensor input pulse signal is counted and processed by the microcontroller semng, this can accurately calculate the number of pulses applied to the pin within the unit time detected, the microcontroller for control and calculation, using real-time display LCD LCD module.Design of the measurement system is easy to operate, clear display, simple structure, reliable, and low cost.
出处
《电子世界》
2014年第20期180-181,共2页
Electronics World