好文档 - 专业文书写作范文服务资料分享网站

基于单片机的无线多路数据(温度)采集系统的设计与实现

天下 分享 时间: 加入收藏 我要投稿 点赞

XXX大学毕业设计

目录l

前言 ............................................................................................................................................ 4 1 总体方案设计 ...................................................................................................................... 4

1.1 方案论证 ................................................................................................................... 5

1.1.1 传感器 ............................................................................................................ 5 1.1.2 主控部分 ........................................................................................................ 5

2 硬件电路的设计 .................................................................................................................. 6

2.1 电源电路 ................................................................................................................... 6 2.2 温度采集电路 ........................................................................................................... 7

2.2.1 DS18B20简介 ................................................................................................. 7 2.2.2 电路设计 ........................................................................................................ 9 2.2.3 无线传输电路模块 ...................................................................................... 10

3 无线发送与接收电路 ........................................................................................................ 10

3.1 无线发送电路 ......................................................................................................... 10 3.2 无线接收模块 ......................................................................................................... 11 4 显示电路 ............................................................................................................................ 12

4.1 字符型液晶显示模块 ............................................................................................. 12 4.2 字符型液晶显示模块引脚 ..................................................................................... 12 4.3 字符型液晶显示模块内部结构 ............................................................................. 13 5 单片机AT89S52 ................................................................................................................. 14

5.1 AT89S52简介 .......................................................................................................... 14 5.2 AT89S52引脚说明 .................................................................................................. 15 6 软件设计 ............................................................................................................................ 17

6.1 系统概述 ................................................................................................................. 17 6.2 程序设计流程图 ..................................................................................................... 17 6.3 温度传感器多点数据采集 ..................................................................................... 18 7 调试及结果 ........................................................................................................................ 18

7.1 测试环境及工具 ..................................................................................................... 18 7.2 测试方法 ................................................................................................................. 18 7.3 测试结果分析 ......................................................................................................... 18 8 总结 .................................................................................................................................... 19 附录1: 电路原理总图 ......................................................................................................... 20 附录2: 发射部分主程序 ..................................................................................................... 21 附录3: 接收部分主程序 ..................................................................................................... 27 参考文献 .................................................................................................................................. 32

1

XXX大学毕业设计

无线数据采集系统的设计与实现

内容摘要:由于数据采集系统的应用范围越来越宽、所涉及到的测量信号和信号源的

类型越来越多、对测量的要求也越来越高,国内现在已有不少数据测量和采集的系统,但很多系统存在功能单一、采集通道少、采集速率低、操作复杂,并且对测试环境要求较高等问题。人们需要一种应用范围广、性价比高的数据采集系统。

在分析了不同类型的单片机的特点及单片机与PC机通信技术的基础上,设计了单片机控制的采集系统,并通过串口通信实现单片机与P(:机之间的通信,实现数据的传送并将数据在PC机上显示及存储,完成单机的多通道数据采集系统的设计及实现。

基于单片机的多通道数据采集系统是由将来自传感器的信号通过放大、线性化、滤波、同步采样保持等处理后,输入A/D转换为数字信号后由单片机采集,然后利用单片机与PC机的通信将数据送到PC机进行数据的存储、后期处理与显示,实现了数据处理功能强大、显示直观、界面友好、性价比高、应用广泛的特点,可广泛应用于工业控制、仪器、仪表、机电一体化、智能家居等诸多领域。

关键词:多通道 数据采集 单片机

Design and implementation of wireless data acquisition

2

XXX大学毕业设计

system

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 measurement 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 issues.It requires abroad scope of application, high reliability and low-cost data acquisition system. Based on the analysis of the characteristics of different types of SCM and SCM and PC communication technology, SCM control of the collection system designed and adopted MCU serial communication between PC and communications, Data transmission and display of data stored on the PC.Single completed the multi-channel data acquisition system design and implementation.

Based on SCM′s multi-channel 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-processing 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: Multi-channel Data Acquisition Microcontroller

无线数据采集系统的设计与实现

3

基于单片机的无线多路数据(温度)采集系统的设计与实现

XXX大学毕业设计目录l前言............................................................................................................................................41总体方案设计.............
推荐度:
点击下载文档文档为doc格式
8ihse5c9fw8iiwn479cv9uewu2s0h401e3v
领取福利

微信扫码领取福利

微信扫码分享