单片机数字温度计设计.doc
文本预览下载声明
专科毕业设计(论文)
设计题目: 基于单片机数字温度计设计
系 部: 电气工程系
专 业: 电气自动化技术(工企电气)
班 级: 工企电气091301
姓 名: 徐东铭 学 号: 093905130144
指导教师: 熊渊琳 职 称: 助教
2012年6月 南京
摘 要
随着时代的进步和发展,单片机技术已经普及到我们的生活、工作、科研、各个领域,已经成为一种比较成熟的技术。本文介绍一种基于AT89C51单片机的一种温度测量,该电路采用DS18B20作为温度监测元件,测量范围-30℃-~150℃。正文着重给出了软硬件系统的各部分电路,介绍了集成温度传感器DS18B20的原理,AT89C51单片机功能和应用。该系统可以方便的实现温度采集和显示,并可根据需要设定上下限温度,它使用起来具有精确度高、测量广、灵敏度高、体积小、功耗低等优点。该电路设计新颖、功能强大、结构简单,有广泛的应景。
关键词 温度测量 DS18B20 AT89C51
Abstract
Along with the progress and development of the ages,single slice the machine technigue has already make widely availablc the life is to us,work,research,each reach,have alrealy become the technique of a kind of comparison maturity.The introduction of a cost-based AT89C51 MCU a temperatur measurement circuits, the circuits used DS18B20 high-precision temperatur sensor , measuring scope -30℃~+150℃。The paper focuses on providing a software and hardware system components circuit, introduced the theory of DS18B20, the founctions and applications of AT89C51 .System can easily to collect and display the temperature,it can also arbitrary set alarm temperature according to the accrual need.It is used convenience ,it has high precision ,wide range,high sensitivity,small size,and low power disspition,This circuit design innovative, powerful, can be expansionary strong,turu into as a complementary expansion.
Keywords Temperatur measurement DS18B20 AT89C51
目 录
1 引言 1
2 传统测温与数字温度计的比较 2
2.1 传统测温方法 2
2.2 基于温度传感器的温度测量 2
3 器件简介 2
3.1 AT89C51简介 2
3.2 DS18B20 简介 4
3.3 LCD 液晶显示 6
4 系统设计 6
4.1 设计方案 6
4.2 总体设计框图 7
5 系统硬件软件设计 7
5.1 硬件设计 7
5.2 软件设计 11
结论 13
致谢 14
参考文献 15
1 引言
温度控制是无论是在工业生产中,还是在日常生活中都有着非常重要的作用,过低的温度或过高的温度都会使水资源失去应有的作用,从而造成水资源的浪费。特别是在当今全球水资源缺乏的情况下,我们更应该掌握好对水温的控制,把身边的水资源好好地利用起来。
在现代冶金、石油、化工及电力生产过程中,温度是极为重要而又普遍的热工参数之一。在环境恶劣或温度较高等场合下,为了保证生产过程正常安全地进行,提高产品的质量和数量,以及减轻工人的劳动强度、节约能源,要求对加热
显示全部