基于单片机的红外温度计设计说明
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
x x x x x x x x x大学
学位论文
基于单片机的红外温度计系统
姓名:
专业:
学院:
指导教师:
提交日期:2017年月日
.页脚
摘要
随着社会的进步和发展,人们越来越重视身体健康,同时技术的进步,各种现代化电子设备在各个领域应用越来越广,电子计算机也越来越普及,在医疗领域,温度计应用非常广泛,但是传统的温度计读数不准,温度示数读取不方便,特别是一些老人,更是不能独自使用传统温度计,针对这种情况,本课题设计研究了一款基于单片机的红外温度计。该系统的主要功能是通过红外传感器非接触检测人体温度,根据软件中对报警温度的设置,检测的温度超过37度,蜂鸣器就会报警。系统的硬件组成部分主要包括单片机控制器,非接触式TN901红外测温传感器、lcd1602液晶显示、蜂鸣器电路等部分。软件部分是利用单片机C语言编程,C语言入门简单,编程效率较高,方便移植,复用性良好,系统软件编程均为函数化设计,方便了功能逻辑实现。当系统开始工作时,传感器采集的信号传送到单片机中,单片机经过处理后,将温度信息显示在液晶上。利用该系统能够方便的检测人体温度,具有方便快捷的优点,在电子设备迅速普及应用的今天,该系统具有广泛的实际应用价值,在后期逐渐完善功能后,通过进一步推广,能够带来可观的经济效益。
关键词:红外传感器,单片机,蜂鸣器电路,液晶显示
.页脚
ABSTRACT
With the social progress and development, people pay more and more attention to health at the same time, the progress of technology, modern electronic equipment used in various fields more and more widely, computer is more and more widely used in the medical field, the thermometer is widely used, but the traditional thermometer temperature allowed, shows the number of reads is not convenient, especially some the old man is not alone, the use of traditional thermometer, in view of this situation, the design of an infrared thermometer based on mcu. The main function of the system is to detect the human body temperature by non-contact infrared sensor, according to the setting of the alarm temperature in the software, the detection temperature of more than 37 degrees, the buzzer will alarm. The hardware of the system mainly includes MCU controller, non-contact TN901 infrared temperature sensor, LCD1602 LCD display, buzzer circuit and so on. Part of the software is the use of single-chip C language programming, C language entry is simple, high programming efficiency, easy to transplant, good reusability, system software programming are functional design, facilitate the realization of functional logic. When the system starts to work, the signal collected by the sensor is transmitted to the microcontroller, and the temperature information is displayed on the lcd. The system can detect the temperature of the human body has the advantages of convenient, fast and convenient, rapid popularization and application in electronic devices today, the system has a broad application value in the later gradually improve the function, through further promotion, can bring considerable economic benefits.
Keywords: infrared sensor, MCU, buzzer circuit, liquid crystal display .页脚
目录
摘要 ............................................................. I ABSTRACT .......................................................... II 目录 ........................................................... III 第一章引言 .. (1)
1.1研究背景和意义 (1)
1.2体温计发展现状 (1)
1.3本课题的研究容 (1)
1.4本文结构 (2)
第二章设计方案 (3)
2.1主控芯片设计方案 (3)
2.2显示电路设计方案 (3)
第三章硬件电路设计 (5)
3.1系统结构 (5)
3.2主控芯片电路 (5)
3.2.1 单片机概述 (5)
3.2.2 单片机的构成特性 (6)
3.2.3 晶振电路 (7)
3.2.4 复位电路 (8)
3.3液晶显示电路 (9)
3.4系统USB电源电路 (11)
3.5红外传感器电路 (12)
第四章软件设计 (13)
4.1主程序软件设计 (13)
4.2液晶显示设计 (14)
4.2红外测温软件设计 (16)
4.3液晶驱动流程图.................................. 错误!未定义书签。第五章调试结果分析 .. (18)
5.1硬件调试 (18)
5.1.1 排除元器件失效 (18)
5.1.2 排除电源故障 (18)
.页脚