1、 I 多通道数据采集和分析系统研究多通道数据采集和分析系统研究( (下位机下位机) ) 摘摘 要要 随着现代社会的进步,许多领域都越来越依赖于电子技术的发展。与我们的生 活环境较为密切如温度、湿度等都可以通过电子设备进行检测与控制。在工农业生 产方面对这些数值的要求也越来越高。因此,准确测量温湿度等都变得至关重要。 本系统的设计主要针对办公室以及仓库等对温湿度要求不是很严格但又与我们的 生活紧密相关的环境进行的。 针对上述环境空间大且不易逐点移动测量的特点,本文提出一种无线的多点温 湿度采集系统作为解决方案。该系统采用由两个低功耗、高性能单片机 AT89S52 作 为系统核心,同时控制 3 路
2、 DS18B20 温度模块及 1 路 DHT11 温湿度模块对周围环境 的温湿度进行检测,实时将采集到的数据在 LCD1602 显示器上显示出来,同时通过 两个无线数据通信收发芯片 NRF24L01 组成与上位 PC 机通信的智能多通道温湿度采 集系统。下位机与上位机之间通过 RS232 串口模块进行通信,最后在 PC 机上完成 配置、显示、画图以及实时存储数据的功能。该设计方案具有测量精度高,系统功 能强大且稳定性强等优点。 本文介绍了基于 NRF24L01 的短距离多通道无线温湿度采集系统,着重分析了 系统的整体设计,其中主要包括硬件电路设计、软件设计以及通信原理。通过采用 模块化设计,使
3、得整个系统的设计思路清晰且易于调整完善,最终较好的实现了设 计所要求的功能。 关键词:多通道关键词:多通道数据数据采集,采集,无线收发无线收发,串口通信,串口通信 II Multi-Channel Data Acquisition and Analysis System (Lower Computer) Abstract With the progress of modern society, many areas are increasingly dependent on the development of electronic technology. There are so many
4、parameters which can be detected and controlled by electronic devices and also of great reality with our living environment, such as temperature, humidity and so on. On the other hand, the use of these devices in industrial and agricultural areas is more strictly. Therefore, how to measure these parameters accurately is become more and more important. Our system is primarily designed for offices and warehouses where arent very strict with temperature and humidity but is closely related to ou