摘要
针对煤气表检定装置中的数据传输与显示的重要功能要求,介绍了采用PC机与单片机及显示模块实现该目标的构成设计,阐述了用VC++结合MSComm控件编程实现上下位机串口通信的技术,以及程序中控件的插入步骤、设置方法等内容。完成了由PC机与MCS-51单片机及YM12864显示模块相结合以及在煤气表检定装置中的应用。研究结果表明,该方法符合数据传输与显示功能要求。
Aiming at the important functions of data transmission and display required by gasometer checking equipment,the constructional design of this function with serial port communication between computer and microcontrollers was introduced.The insert MSComm control steps and set up methods were also described in detail.By using VC ++ development and MSComm control,serial communication between PC and microcontroller,number display on LCD YM12864 were completed in the study and application of gasometer checking equipment.The results indicate that this method is proper,and it meets the data transmission and display needs.
出处
《机电工程》
CAS
2010年第5期82-85,共4页
Journal of Mechanical & Electrical Engineering
关键词
检定装置
数据传输
VC++
单片机
checking equipment
data transmission
VC++
microcontrollers