毕业设计(论文)-基于AVR单片机的温度采集系统设计.doc

毕业设计(论文)-基于AVR单片机的温度采集系统设计.doc

  1. 1、本文档共65页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
目 录 要 1 Abstract 2 0 引言 4 1 课题背景及研究意义 6 1.1 温度采集系统设计的意义及其应用目的 6 1.2 AVR单片机简介 7 1.2.1 AVR单片机的主要特点 7 1.2.2 AVR系列单片机简介 8 1.3 ATmega16单片机系统结构 9 1.3.1 ATmega16简介 9 1.3.2 ATmega16的总体结构 9 1.4 温度传感器 11 1.4.1 数字式温度传感器 12 1.5 串口概述 12 1.5.1 串口介绍 12 1.5.2 串口分类 13 1.6 protel DXP2004软件基本概念以及使用 15 1.7 系统方案设计 17 1.7.1 软件设计方案 17 2 数字式温度传感器DS18B20软硬件设计 18 2.1 DS18B20 数字式温度传感器基本特性 18 2.2 DS18B20测温模块 21 2.2.1 DS18B20工作方式 21 2.2.2 DS18B20温度数据 22 2.2.3 DS18B20在温度采集系统中的应用 23 3 ATmega16单片机软硬件设计 24 3.1 ATmega16引脚说明 24 3.2系统硬件设计 26 3.2.1 复位线路的设计 27 3.2.2 晶振电路的设计 28 3.2.3 AD转换滤波线路的设计 28 3.2.4 ISP下载接口设计 29 3.2.6 电源设计 30 3.2.7总设计图 31 3.3 软件系统设计 33 3.3.1 温度采集软件设计 33 3.3.2 串口软件设计 35 3.3.3 程序 40 4.串口 RS232软硬件设计 46 4.1 USART 46 4.2 串口的组成 46 4.3 串口电平转换电路MAX232 47 5 研究总结 49 参考文献 51 译文 53 原文说明 61 摘 要 在国民经济各部门,如电力、化工、机械、冶金、农业、医学以及人们的日常生活中,温度采集是十分重要的。在许多模拟量控制和监视应用中,温度测控通常是基于 -55℃~125℃温度范围内的应用,如环境监测、蔬菜大棚、粮库、热电偶冷端温度补偿、设备运行的可靠性等应用。实时采集温度信息,及时发现潜在故障,并采取相应的处理措施,对确保设备良好运行具有重要意义。 本文介绍了一种基于 ATmega16单片机的温度采集控制系统,该系统能实现温度检测和数值显示,系统主要由温度采集、单片机控制、串口通讯,输出控制几个单元组成。温度采集采用单总线数字传感器 DS18B20进行采集,温度数据在传感器内部转化为数字信号并传送给单片机;单片机对传感器采集来的数据进行处理,通过串口把传感器采集到的温度传输至PC机上。 关键字:单片机;温度测试;DS18B20 Temperature Measuring System Based on ATMEGA16 Abstract In national economic sectors, such as power, chemical, machinery, metallurgy, agriculture, medicine and Peoples Daily life, temperature gathering is very important. In many analogue control and monitoring application, temperature measurement and control is usually based on-55 ℃ ~ 125 ℃ temperature range of applications, such as the environmental monitoring, vegetables awning, grain depot, thermocouple temperature compensation, the cold end of the equipment operation reliability of application. Collect real-time temperature information, timely find fault, and take the corresponding treatment measures, to ensure that equipment good operation to have the important meaning. This dissertation introduces a temperature control system based on ATmega16 MCU. The system can achieve detecti

您可能关注的文档

文档评论(0)

***** + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档