更新时间:09-09 上传会员:我是小强
分类:单片机论文 论文字数:9206 需要金币:1000个
摘要:温度是一个常用的物理量,在我们的生活中起着十分重要的作用,温度的高低,直接决定生命的存在与否;温度的不同,创造了多样的生命体;人为控制温度,大大提高生产效率与生产产量。所以对温度了解、测量、控制十分必要。因而,对温度计的设计也不可缺少。传统的温度检测大多以热敏电阻为温度传感器,但热敏电阻的可靠性差,测量温度准确率低,而且必须经过专门的接口电路转换成数字信号才能由单片机进行处理,制作复杂。随着科学技术的发展和现代工业技术的需要,测温技术也不断地改进和提高。由于测温范围越来越广,精度要求越来越高。传统的热敏电阻已不能符合这种要求,而单片机以功能强,体积小,功耗低,价格便宜,工作可靠,使用方便等特点悄悄进入这个领域,很好的改善了以上的不足,所以选用单片机来制作温度计。
本文介绍的是由单片机AT89S52作为主控制器,DS18B20作温度采集,4位共阳极LED数码管作为显示器,经硬件电路连接,软件系统控制的制作相对简单的数字温度计,具有测温范围广、测温准确,读书方便等优点。
关键词:温度计;热敏电阻;单片机;DS18B20;测温准确
Abstract:Temperature is a common physical quantities, it plays a very important role in our lives, high and low temperature, directly determine the existence of the live or not; different temperature to create diverse life. Artificial temperature control, playing to improve the production efficiency and production yield. It is necessary to understand measurement and control of temperature. Thus, the thermometer design is indispensable. The traditional temperature detection mostly by the thermistor as a temperature sensor, but the thermistor temperature measurement reliability, low accuracy rate, and must pass through the dedicated interface circuit is converted into a digital signal to the single-chip microcomputer processes, production complex. With the development of science and technology and modern industry technology needs, temperature measurement technology will continue to improve and enhance. Increasingly high demand due to the increasingly wide rang of measurement accuracy. The traditional thermal resistance has been unable to meet this requirement, and the single chip microcomputer with strong function, small volume, low power consumption, low price, reliable work, use convenient wait for a characteristic crept into this field, good to improve the deficiency of the above, so the selection of SCM to make a thermometer.
This paper is composed of single chip AT89S52as the main controller, DS18B20 as a temperature acquisition, a total of 4anode LED as a digital control display, the hardware circuit, software system to control the production of relatively simple digital thermometer, has the advantages of a wide range , accurate temperature and reading convenience.
Key words: Thermometer;Thermistor;Single chip microcomputer;DS18B20;Accurate temperature measurement