1、 I 基于串行口的数据采集系统的设计 摘要 : 数据采集在日常生活中有着广泛的应用,特别是在一些对数据的准确性,实时性要求比较高的场合,需要设计专用的电路来实现系统的需求,而系统的功能的实现,与我们对元器件的选型,设计搭建的电路有直接的关系,它们直接影响着系统对外界环境的感知和响应能力,决定着系统的性能。 数 据采集在工业控制领域有着广泛的需求,本设计是实现基于串行口的数据采集系统,以采集周围的环境温度为采集对象,以 STC89C51 单片机作为下位机,以 PC 机作为上位机,使用 9 针串口来实现下位机和上位机的通讯。通过在 PC 机上使用 VB6.0开发软件来开发实现数据接收显示控制界面。
2、系统调试结果表明,该系统设计合理,对周边环境温度的变化反应敏感,数据采集的波特率达到 9600bps. 关键字 : 数据采集系统 、 STC89C51 单片机、串口通信、 VB 中图分类号 : TP2 II Design of Data Acquisition System Base on Serial Communication ABSTRACT: Data collection is widely applied in daily life, especially in the place which is very high request in data accuracy, real
3、time display. A special circuit is need to be designed to realize it. Also, it have much connection with the sensor and circuit design , they influence the systems sensor and response ability very much , it directly determined the systems character. Nowadays, Data collection is widely requested in t
4、he industry control area. The system is designed to realize the data acquisition according to the serial port , collecting the temperature around the environment as collection object , use STC89C51 single-chip microcomputer as down machine , use personal computer as upper machine , use 9 pin serial
5、port to realize the down SCM and upper PCs communication . A display control form was made use the VB6.0 software . The experiment have done display that , the design was reasonable , it was very sensitive to the temperatures change around the environment .The systems data collection speed could arrived to 9600bps. 关 键 词 : data collection system ; STC89C51 single-chip microcomputer ; serial communication; Visual Basic 中图分类号 : TP2