本科论文设计-基于单片机的温度测量及报警系统设计与实现.doc
文本预览下载声明
基于单片机的温度测量及报警系统设计与实现
摘 要
随着时代的进步和发展,人们生活水平的不断提高单片机控制无疑是人们追求的目标之一单片机技术已经普及到我们生活,工作,科研,各个领域,已经成为一种比较成熟的技术,伴随计算机与控制技术的蓬勃发展与广泛应用,人们从中受益良多,生活中也随处可见电子产品,自动化,智能化成为发展趋势,而以单片机为核心的应用正在不断地走向深入,同时带动传统控制检测的日新月益。本设计论述了一种以89S52单片机为控制单元,以DS18B20为温度传感器的温度控制系统。温度测量范围0到99.9摄氏度,精度为0.1摄氏度,可见测量温度的范围广,精度高的特点。要测的环境温度是通过一线温度传感器 DS18B20 采集,然后通过单片机处理并在数码管上显示,当温度高于上限温度时,蜂鸣器报警,当温度低于下限温度时,蜂鸣器报警温度的上下限可自行设定,并可保存,掉电不丢失能通过按键设置上下限温度,更加智能化。
单片机所给人带来的方便也是不可否定的,其中数字温度计就是一个典型的例子,但人们对它的要求越来越高,要为现代人提供更好的更方便的设施就需要从数单片机技术入手,一切向着数字化控制,智能化控制方向发展。
关键词:单片机,温度控制,蜂鸣器,DS18B20,AT89S52Design and Implementation of Test and Alarm System for Temperature Based on Single Chip Microcomputer
Abstract
With the era of progress and development, continuous improvement of peoples living standard, single-chip control is undoubtedly one of the pursuit of the goal, chip technology has spread into our life, work and research in various fields, has become a relatively mature technology, with the computer and control technology and the rapid development of a wide range of applications, which benefited the people and life are everywhere electronics, automation, intelligent become a trend, and a microcontroller as the core of the application is constantly deepening, while driving tradition controlling interest in the detection of the new moon.
Discusses the design of a control unit with STC89C52 microcontroller to DS18B20 temperature control system temperature sensor. Temperature measurement range from 0 to 99.9 degrees Celsius, an accuracy of 0.1 degrees Celsius, showing a wide temperature measurement range, high accuracy. The ambient temperature is to be measured by a temperature sensor DS18B20 line acquisition, and then processed by the microcontroller and displayed on the digital control, when the temperature is higher than the upper limit of the temperature, the buzzer alarm when the temperature falls below the lower temperature, the buzzer alarm. Upper temperature limit can be set, can be saved, non-volatile. Button set by upper
显示全部