信息工程学院《单片机原理与外围电路》课程论文题目:基于单片机的数字温度计设计 姓名: 金鑫 学号: 50112113 班级: 计算机 15-3 摘要:随着时代的进步和进展,单片机技术已经普及到我们生活、工作、科研、各个领域,已经成为一种比较成熟的技术, 本 文主要介绍了一个基于 89S51 单片机的测温系统,详细描述了利用数字温度传感器 DS18B20 开发测温系统的过程,重点对传感器在单片机下的硬件连接,软件编程以及各模块系统流程进行了详尽分析,对各部分的电路也一一进行了介绍,该系统可以方便的实现实现温度采集和显示,并可根据需要任意设定上下限报警温度,它使用起来相当方便,具有精度高、量程宽、灵敏度高、体积小、功耗低等优点,适合于我们日常生活和工、农业生产中的温度测量,也可以当作温度处理模块嵌入其它系统中,作为其他主系统的辅助扩展 。DS18B20 与 AT89C51 结合实现最简温度检测系统,该系统结构简单,抗干扰能力强,适合于恶劣环境下进行现场温度测量,有广泛的应用前景。 关键词:单片机;温度检测;AT89S51;DS18B20;ABSTRACT: Along with the progress and development of the ages, single slice the machine technique has already make widely available the life is to us,work,research,each realm, have already become the technique of a kind of comparison maturity. This paper mainly describes a temperature measurement system based on 89S51 singlechip, detailedly describing the development process use digital temperature sensor, the paper introduces the hardware connectivity and software programming of the DS18B20 based on the single-chip, and give the software flow chart of each module,as well as introduced each circuit of the system.System can easily to collect and display the temperature, it can also arbitrary set alarm temperature according to the actual need, It is used convenience, it has high precision,wide range ,high sensitivity, small size,and low power dissipation, The device is especially applied to measure temperature in people's daily lives , industrial a...