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 acc
3、uracy, real 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 re
4、quested in the 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
5、 pin serial 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 III 目目 次次 摘要 I ABSTRACT