摘要:单片机相关的各种技术已经快速的在生活、科研、工作等等的各个领域迅速普及,并逐渐成为了一类相当成熟的技术。本设计就是一种基于单片机控制的温度报警器,可以采集温度,并设置温度的报警值,能够实现实时的温度感应,当其所测量的温度值不在设置范围内立即报警。本设计中的温度报警器使用AT89S52单片机作为温度报警器的主控单元,同时测温传感器方面就使用了DS18B20数字式温度传感器,并使用了LCD1602型的液晶显示器来实现温度的显示,并采用蜂鸣器作为电报警装置。本设计中的温度报警器结构十分简单,具有较强的可操作性,能广泛应用。且本温度报警器工作时,可测量的温度范围为-55到125ºC。57479

毕业论文关键词:AT89S52单片机,数字控制,温度报警器,DS18B20,液晶显示器

Abstract:Various technologies related to SCM had been universal in all areas of life, research,work,etc.and had become a kind of relatively mature technologies.The design is a temperature alarm based on SCM-control,the temperature alarm can collect temperature and set temperature alarm value,to achieve real-time temperature sensing,it works when the temperature is out of the set value.The temperature alarm using AT89S52 micro-controller as the control unit,while aspects of the use of a temperature sensor DS18B20 digital temperature sensor and uses the LCD1602 liquid crystal display monitors to indicate the temperature,and the use of bee as electric buzzer alarm.It can well meet the design requirements,and with high cost performance.The temperature alarm is very simple,highly operable and widely used. The measurable temperature range is from -55 to 125ºC when it works.

Key words:STC89C51,digital control,thermometer, DS18B20,LCD

目录

1 前言 4

1.1 温度报警器的必要性 4

1.2 温度报警器发展现状 4

1.3 选题背景和意义 5

2 系统总体方案设计 5

2.1 系统设计思路 5

2.2 系统总体框架 6

2.3 系统硬件选型 6

2.4 AT89S52单片机技术简介 7

3 系统硬件设计 10

3.1 主控电路部分 10

3.2 最小运行系统部分 11

3.2.1 晶振 11

3.2.1 复位电路 11

3.3 温度采集部分 12

3.4 开关输入部分 15

3.5 液晶显示部分 16

3.6 蜂鸣器、发光二极管报警部分 19

4 系统软件设计 20

4.1软件设计总流程 20

4.2 子程序设计 21

4.2.1 初始化LCD 21

4.2.2 初始化DS18B20 21

4.3 温度的采集与存储 22

5 实验测试结果及分析 23

5.1 设计成果展示 23

5.2 系统测试结果 24

结  论 25

参考文献 26

上一篇:LED路灯恒流驱动开关电源设计
下一篇:基于MATLAB的数字图像增强技术研究

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

粉料称重装置的单片机控...

STM32单片机的无刷直流电机控制系统设计

AT89S52单片机车内空气检测系统设计+源代码

LABVIEW+AT89C51单片机智能药箱系统设计+源代码

PCI+PID算法直流力矩电机速...

《水浒传》中血腥暴力研...

大规模MIMO系统的发展研究现状

小型通用机器人控制系统设计任务书

遥感土地用变化监测国内外研究现状

从企业eHR建设谈管理信息...

浅析施工企业保理融资成...

MNL模型历史城区居民活动...

高效课堂教师问卷调查表

提高小學语文課堂朗读教...