基于单片机的数字温度计设计与仿真 盘桂云(吉首大学物理科学与信息工程学院,湖南 吉首 416000) 摘 要本课题以单片机为控制核心,设计了一款数字温度计。该系统由 51 单片机、DS18B20 温度传感器以及 1602 LCD 液晶显示屏等部件组成。系统上电后进入实时温度显示状态,此时将 DS18B20 中的温度值读到单片机中并将其显示在 LCD 液晶显示屏上。系统可以设置上下限报警温度值,当测得结果超过设定值时进行相应的报警,提供一个接口可以将温度值传送给其它控制器或计算机,测量准确且误差小,其误差在±0.02℃。关键词:单片机;温度采集;LCD 显示;温度传感器;数字温度计; Emluater and Design of Digital Thermometer Based on Microcomputer ControlPanguiyun (College of Physics Science and Information Engineering,Jishou University,Jishou,Hunan 416000)AbstractThis topic with the microcontroller as control core , and design a digital thermometer. It consists of 51 single -chip microcomputer, 18B20 temperature sensor and 1602 LCD screen display etc. After power on, the system into real-time temperature display state, then the temperature 18B20 will read in the single-chip microcomputer and displayed in the LCD screen. System can set upper temperature alarm, when the alarm measured results than the setting measured corresponding alarm, System can provide an interface which sends the temperature to other controller or computer. There is little measuring error, measuring error at ±0.02℃. Key words:Microcontroller;Temperature acquisition;LCD display;Temperatere sensor;Digital thermometer目 录第一章 绪 论 …………………………………………………………………………11.1 系统背景 ……………………………………………………………………… 11.2 系统概述 ……………………………………………………………………… 11.2.1 系统功能 …………………………………………………………………11.2.2 系统所用器件及其作用 ……………………………………………………1第二章 系统总体设计2.1 系统硬件电路总体...