摘要
介绍一种由单片机STC89C52为核心构成的机车测速仪,对机车运行状况(主要是运行速度、超速信息和时间)进行显示和存储,并利用USB接口芯片CH376对U盘进行读写操作,以文件的形式对机车超速信息进行转存,实现与PC机之间快速数据交换,以方便对数据进行分析和处理。主要介绍了测速仪的基本组成、工作原理,USB接口芯片CH376的功能、特性及其与单片机的接口电路,并给出了软件的编写思路和方法。
This paper introduces a locomotive speedometer which is consists of single chip microcomputer STC89C52 as core, displays and stores movement condition such as speed, overspeed and time information. The information is transmitted to USB Flash Drive in form of file through USB connection chip CH376 so that we can analyze and dispose data on PC easily and expediently. The basic composition and the principle of locomotive speedometer, the function and characteristics of CH376, the interface circuit between CH376 and STC89C52, and the programming method of software are mainly illuminated.
出处
《煤矿机械》
北大核心
2012年第11期272-275,共4页
Coal Mine Machinery