电子世界
電子世界
전자세계
ELECTRONICS WORLD
2014年
20期
180-180,181
,共2页
霍尔传感器%单片机%LCD1602
霍爾傳感器%單片機%LCD1602
곽이전감기%단편궤%LCD1602
Hal sensor%MCU%LCD1602
本文所介绍电机测速系统主要由霍尔传感器、单片机、LCD1602液晶显示模块组成。系统以STC89C52单片机系统和霍尔传感器为核心,霍尔传感器把不同转速所转变成的不同频率的脉冲信号发送至到单片机,通过单片机的设置可对霍尔传感器输入的脉冲信号进行计数和处理,这样能精确地算出加到引脚的单位时间内检测到的脉冲数,单片机进行控制与计算后,采用LCD液晶显示模块实时显示。本测速系统的设计具有操作方便,显示清晰,结构简单,稳定可靠,成本低廉等优点。
本文所介紹電機測速繫統主要由霍爾傳感器、單片機、LCD1602液晶顯示模塊組成。繫統以STC89C52單片機繫統和霍爾傳感器為覈心,霍爾傳感器把不同轉速所轉變成的不同頻率的脈遲信號髮送至到單片機,通過單片機的設置可對霍爾傳感器輸入的脈遲信號進行計數和處理,這樣能精確地算齣加到引腳的單位時間內檢測到的脈遲數,單片機進行控製與計算後,採用LCD液晶顯示模塊實時顯示。本測速繫統的設計具有操作方便,顯示清晰,結構簡單,穩定可靠,成本低廉等優點。
본문소개소전궤측속계통주요유곽이전감기、단편궤、LCD1602액정현시모괴조성。계통이STC89C52단편궤계통화곽이전감기위핵심,곽이전감기파불동전속소전변성적불동빈솔적맥충신호발송지도단편궤,통과단편궤적설치가대곽이전감기수입적맥충신호진행계수화처리,저양능정학지산출가도인각적단위시간내검측도적맥충수,단편궤진행공제여계산후,채용LCD액정현시모괴실시현시。본측속계통적설계구유조작방편,현시청석,결구간단,은정가고,성본저렴등우점。
This article describes the motor speed of the system consists of a Hal sensor,microcontrol er,LCD1602 LCD module.STC89C52 SCM system as the core system and the Hal sensor,Hal sensor sends pulses are converted into different speeds at different frequencies to the microcontrol er,the Hal sensor input pulse signal is counted and processed by the microcontrol er setting,this can accurately calculate the number of pulses applied to the pin within the unit time detected,the microcontrol er 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.