文档详情

基于DS18B20的数字温度计的设计.doc

发布:2017-09-17约6.45千字共13页下载文档
文本预览下载声明
摘 要 人们的生活水平在日益提高,实现单片机的控制无疑是人们追求的目标之一,它在人们生活及工作中起到的作用也是不可否定的,其中温度计数字显示就是一个典型的例子。本课题是研究温度传感器(DS18B20)以及串口通信,用液晶显示温度结果。本课题所研究的温度传感器有很多优点,比如测温方便,测温准确,其输出可用液晶显示,主要用于对测温度测量要求比较严格的场所。利用AT89S51单片机控制DS18B20进行数据采集并由LM016L液晶显示模块显示结果,采集结果可由MAX-232送入另外一块单片机显示并存储,利用AT89C51芯片进行存储,实现温度测量存储与再现。 关键字:温度采集 串行通信 温度传输 液晶显示 Abstract Peoples living standards in the increasing control of the microcontroller is undoubtedly one of the goals of the people to pursue it play a role in peoples lives and work is undeniable, thermometer digital display is a typical example, but people its increasingly high demand, to provide mankind with better facilities will need to start from the microcontroller technology, all toward the digital control, intelligent control direction. This article describes the design based on DS18B20 digital thermometer and how to use the single-chip transmission temperature and display. The design introduced digital thermometer thermometer has a wide temperature range, easy reading, accurate temperature measurement, the output temperature with digital display, is mainly used for measuring temperature measurement requirements more stringent workplace, or scientific experiments scheme of the room. AT89S51 MCU DS18B20 data collection by the the LM016L liquid crystal display module displays the results In addition, the acquisition results by MAX-232 fed to a microcontroller and stored using AT89C51 chip storage, temperature measurement storage and reproduction. Keywords: the temperature collection serial communication temperature transfer LCD 撤消修改 1、引言 1.1选题目的和意义 随着电子科学技术的发展,人们的生活也日趋数字化。多功能的数字温度计显然给我们的生活带来了很大的方便。而支持“一线总线”接口的温度传感器不仅大大简化了数字温度计的设计,而且降低了成本。DALLAS公司的数字化温度传感器DS18B20是世界上第一片支持“单总线”接口的温度传感器,他只有一个I/O脚即可实现温度的采集,在实际应用中不需要外部任何元器件即可实现测量温度,他的测量温度范围在实际应用中也较合理:-55~+125 ℃ ,并且精度也很高,精度为0.5℃. 显然,单片机控制无疑是人们追求的目标之一,它所给人带来的方便也是不可否定的与具有测温精确数字显示特点。选用型单片机作为,温传感器通过。直
显示全部
相似文档