文档详情

数字式多路温度采集系统设计.doc

发布:2018-01-17约1.77万字共35页下载文档
文本预览下载声明
数字式多路温度采集系统设计 王全 (吉首大学张家界学院,湖南 吉首 416000) 摘要 本设计是基于AT89C52单片机和DS18B20温度传感器实现的一个数字式多路温度采集和控制系统。单片机在本系统中作为温度控制器件,DS18B20被用作温度数据的采集和温度输出器件。实现了两路温度的实时监控,并通过电脑进行实时显示且通过MYSQL数据库对温度进行存储。本系统采用单总线操作,线路简单,测量值精确,可实现多点测量和数据采集。本系统被广泛应用于温度控制、温度检测、温度采集等系统中。 关键词:AT89C52单片机;DS18B20温度传感器;温度采集 Digital Multi-channel Temperature Gathering System Design Wang Quan (College of Zhangjiajie Jishou University,Jishou Hunan,416000) Abstract The design is a digital multi-channel temperature gathering and control system which based on AT89C52 single-chip microcomputer and the temperature sensor DS18B20.The single-chip microcomputer serves as the temperature control device in the system, while DS18B20 is used as the collector of temperature data and the temperature output device.It realized the real-time monitoring of two-road temperature,and then through the computers for real-time display and stored it into MYSQL databases. The system adopts the single bus operation,with simple lines and accurate measurements,which can realize the multi-point measurement and data collection.This system has been widely used in the systems of the temperature control,temperature detection,and temperature collection ,etc. Key words:AT89C52 microcontroller;Temperature sensor DS18B20;Temperature collecting 目录 第一章 绪论 1 1.1 系统背景 1 1.2 系统的应用示例 1 1.3 系统概述 2 第二章 总体方案及设计原理 3 2.1 温度采集模块方案设计及论证 3 2.2 串行通信模块方案设计及论证 3 2.3 PC机模块 5 2.3.1 JAVA串口通讯方式和界面设计选择 5 2.3.2 系统数据库的选择 7 2.4 系统的总体框图 7 2.5 本章小结 8 第三章 系统硬件电路的设计 9 3.1 单片机最小系统模块 9 3.1.1 AT89C52简介 9 3.1.2 单片机最小系统电路 11 3.2 温度传感器模块 11 3.2.1 DS18B20的管脚及特点 12 3.2.2 DS18B20的数据部件 12 3.2.3 DS18B20电路连接 13 3.3 液晶显示模块 13 3.3.1 LCD1602简介 13 3.3.2 LCD1602主要参数及引脚说明 13 3.3.3 LCD1602指令说明及时序 14 3.3.4 LCD1602初始化过程 15 3.3.5 LCD1602电路连接 15 3.4 报警电路模块 16 3.5 单片机与PC机串口通信模块 16 3.5.1 MAX232简介 16 3.5.2 MAX232电路原理图 16 3.6 本章小结 17 第四章 系统软件设计 18 4.1 单片机模块流程图 18 4.2 串行通信模块 19 4.3
显示全部
相似文档