1、 I 摘摘 要要 由于数据采集系统的应用范围越来越宽、 所涉及到的测量信号和信号源的类型 越来越多、对测量的要求也越来越高,国内现在已有不少数据测量和采集的系统, 但很多系统存在功能单一、采集通道少、采集速率低、操作复杂,并且对测试环境 要求较高等问题。人们需要一种应用范围广、性价比高的数据采集系统。基于单片 机的多通道数据采集系统是由将来自传感器的信号通过放大、线性化、滤波、同步 采样保持等处理后,输入 AD 转换为数字信号后由单片机采集,然后利用 SPI 通信将数据送到主机进行数据的存储、 后期处理与显示, 实现了数据处理功能强大、 显示直观、 界面友好、 性价比高、 应用广泛的特点, 可
2、广泛应用于工业控制、仪器、 仪表、机电一体化、智能家居等诸多领域。 关键词 多通道 数据采集 单片机 II Abstract Since the wide range of data acquisition system, which involves the measurement signal and the type of signal source more and more, Surveyors are increasingly high requirements of the domestic now have a lot of data acquisition and measu
3、rement system But there are many single function systems, collecting less access, low collection rate, complicated operations, and the demands of the test environment and other issuesIt requires abroad scope of application, high reliability and low-cost data acquisition systemBased on SCMs multi-cha
4、nnel data acquisition system is adopted will come from the sensor signal amplification, linear filtering, After processing maintain synchronous sampling, which converted to digital signal input A/D conversion by SCM Acquisition, Then, SCM and PC to PC communications data to the data storage, post-pr
5、ocessing and display. a powerful data processing, visual shows, friendly interface and high performance-price ratio, a wide range of features. can be widely used in industrial control equipment, instruments, and electrical engineering integration, intelligent home and many other fields Key words Mul
6、ti-channel Data Acquisition Microcontro III 目 录 摘 要 I Abstract II 第1章 绪论 1 1.1 研究的目的和意义. 1 1.2 当前国内外数据采集器的现状 2 1.3 本设计主要研究内容. 3 第2章 系统分析与总体设计 5 2.1 总体设计. 5 2. 2 方案论证 5 2.2.1 传感器的选择 6 2.2.2 主控部分 . 6 2.2.3 数据传输部分 7 2.3 方案确立. 7 第3章 硬件和软件设计 . 10 3.1 单片机 AT89S52及其最小电路 10 3.1.1 AT89S52简介 . 10 3.1.2 AT89S52引脚说明 11 3.1.3 单片机的最小系统 13 3.2 温度采集电路 . 14 3.2.1 DS18B20简介 14 3.2.2 电路设计 . 16 3.3 无线传输电路模块 18 3.4 无线发送与接收电路. 21 3.5 显示电路 22 3.5.1 12864的简介 . 23 3.5.2 12864液晶模组接口 23 3.5.3 12864的功能部件的介绍 . 24 IV