单片机数字温度计设计电路图和汇编程序

单片机数字温度计设计电路图和汇编程序
论文摘要
本文介绍的数字温度计是由中央控制器、温度检测器、显示器及报警部分组成。该温度计的基本范围为-50℃-110℃,精度误差小于0.5℃,LCD液晶显示器直接读取温度值显示,当测量温度超出报警门限时,系统将输出光报警信号。
本文主要包括两个方面的设计:一方面是硬件电路的设计,另一方面是系统程序的设计。其中,硬件电路各部分组成如下:中央控制器采用单片机AT8051,温度检测部分采用DS18B20温度传感器,用LCD液晶12232F作为显示器。其次,系统软件程序包括主程序,温度值读取、转换及计算程序,显示数据刷新程序等。
该温度计是通过温度传感器DS18B20采集温度信号送该给单片机处理,单片机再把温度数据送液晶显示器12232F显示。
关键词:单片机  温度传感器  DS18B20 LCD液晶显示器  
ABSTRACT:
This article describes the digital thermometer is from the central controller, temperature detector, monitor and alarm parts. The basic scope of the thermometer for -50 ℃ -110 ℃, the accuracy error of less than 0.5 ℃, LCD liquid crystal display shows temperature read directly, when the measurement of temperature in excess of the door alarm limit, the system will output alarm signal.
        In this paper, two aspects of design: on the one hand, the hardware circuit design, on the other hand, the system design process. Among them, the hardware components of the circuit is as follows: the central controller using single-chip AT8051, used some of the temperature detection DS18B20 temperature sensor, with LCD liquid crystal display as 12232F. Second, the system software includes the main program, read the temperature, conversion and calculation procedures, such as display data refresh process.
           The temperature sensor thermometer DS18B20 through acquisition sent the temperature to the single-chip signal processing, single-chip temperature data and then send 12232F LCD display.

Key words: Single-chip temperature sensor DS18B20 LCD liquid crystal display
目 录封 面            …  …1
摘 要            …  ....2
目 录           …  … .4
前 言            …  …5
第一章 数字温度计的总体方案设计及论证      …  6
第二章 数字温度计硬件电路的实现       … ...7
第一节 复位电路及晶振电路设计        …7
一、复位电路     …     … 7
二、晶振电路     …     … 7
第二节 液晶显示电路设计       7
一、概述     …    … .7
二.模块主要硬件构成     …     7
三、模块的外部接口     …     …9
四、指令说明     …     …..10
五、串列资料与串列传输资料     …   … ..11
第三节 温度传感器设计         .13
一、概述     …     … 13
二、DS18B20的外形和内部结     …   … . 13
三、DS18B20工作原理     …    17
四、DS18B20 的温度测量     …    … 18
五、DS18B2的外部电路图     …    … 20
第四节 数字温度计总体电路图         …… 21
第三章  数字温度计软件设计流程及程序     …  22
第一节 各部分程序设计流程      …  …22
一、 主程序设计     …     … 22
二、温度值读取程序设计     …     22
三、温度值转换程序设计          …22
四、计算温度程序设计     …     … 22
五、 显示数据刷新程序设计     …    … 24
第二节 温度计源程序      …   ……24
结    论             ..37
结 束 语             .. 38
参考文献         493

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 下一页

  • 上一篇文章:
  • 下一篇文章:
  • Copyright © 2007-2012 www.chuibin.com 六维论文网 版权所有