i 摘要随着人们生活水平的不断提高, 单片机控制无疑是人们追求的目标之一,它所给人带来的方便也是不可否定的,其中数字温度计就是一个典型的例子,但人们对它的要求越来越高,要为现代人工作、科研、生活、提供更好的更方便的设施就需要从数单片机技术入手,一切向着数字化控制,智能化控制方向发展。本设计所介绍的数字温度计与传统的温度计相比,具有读数方便,测温范围广, 测温准确,其输出温度采用数字显示,主要用于对测温比较准确的场所,或科研实验室使用。本设计分为硬件设计和软件设计。硬件系统由 3个模块组成:主控制器、测温电路和显示电路。软件系统程序主要包括主程序,读出温度子程序,温度转换命令子程序,计算温度子程序,显示数据刷新子程序等。单片机 AT89C51 具有功能强,体积小,功耗低,价格便宜,工作可靠,使用方便等特点。所以在本设计中采用单片机 AT89C51 作为控制器来控制电路。测温传感器使用 DS18B20 ,因为传感器 DS18B20 具有读数方便,测温范围广,测温准确。用 4位LED 数码管以串口传送数据,实现温度显示。关键词: 单片机 AT89C51 、DS18B20 传感器、 4位共阳极 LED 数码显示管。 ii Abstract With the constant improvement of people's living standard, it is undoubtedly one of the goals which people pursue that the one-puter controls, the convenience that it brings to somebody can't be denied either, among them the digital thermometer isa typical examp .But the requirements to itof people are higher and higher, want working for modern, scientific research, life, offering the better facilities more conveniently to need starting with counting the one-chip Originally design digital thermometers mended pare with traditional thermometer, convenient to have reading, it is warm and in extensive range to examine, it is warm and accurate to examine Originally design and is divided into hardware designing and software design. The hardware system is made upof3 pieces of module: Master controller, examining the warm circuit and revealing the circuit. The software system procedure mainly includes the main program, reads the temperature subprogram, temperature changes the order subprogram, accounting temperature subprogram. The one-puter AT89C51 has strong, small functions, low power dissipation, the price is cheap, it is reliable to work, characteristic easy to use. So control circuit adopts the one-puter Examine the warm transducer and use DS18B20, because the transducer DS18B20 has reading convenient, it is warm and in extensive range to examine, Realize temperature reveals. Keyword: One-puter AT89C51, DS18B20 transducer, 4 positive pole LED number reve
学位论文—基于单片机的数字温度计的设计论文 来自淘豆网m.daumloan.com转载请标明出处.