摘要
根据阀门启闭动态转矩测定装置设计要求,提出了基于单片机高分辨率模数转换和单片机的数据采集方案。利用Visual Basic6.0提供的MSComm通信控件可以非常方便地编写Windows环境下的串口通讯程序。本文详细介绍了基于PIC16F877单片机的串行数据采集与控制系统实现以及PC机与单片机间串口通讯软件设计。该方法实现简单,功能满足要求,运行可靠。
According to the need of the opening and closing valve torque measure system, a method of data sampling on system based on high-resolution analog-digital converter was brought out. By using MSComm controller with Visual Basic 6.0, it is convenient to write a serial port communication program under Windows environment. The thesis has explained in detail the serial port communication sampling and controlling system based on PIC16F877 single chip microcomputer, the software design was illustrated for the communication between PC and single chip microcomputer. The engineering practice proves that it is easy in implementation, applicable in function and reliable in operation.
出处
《温州职业技术学院学报》
2004年第1期37-38,44,共3页
Journal of Wenzhou Polytechnic