项目编号:mcuclub-dz-365
设计简介:
项目名:红外测温
项目编号:mcuclub-dz-365
单片机:STC89C52
功能简介:
1、通过MLX90614红外测温模块采集温度
2、自动模式:每秒采集一次温度,当温度不在设置的上下限之间,进行蜂鸣器报警
3、手动模式:通过按键每按一次采集一次温度,当温度不在设置的上下限之间,进行蜂鸣器报警,并通过AT24C02将数据保存(保存10个,然后替换),可通过按键查看
5、通过按键可设置温度上下限值(默认30-40)
6、通过LCD1602显示器显示数据(第一行显示温度上下限,第二行显示温度值,精度0.1)
7、通过蓝牙可将数据发送到手机端
总字数:15711
摘 要
温度是反映人体身体状况的重要指标,是临床诊断和疾病筛查的重要方法。近年来,各种传染病在世界各地频发,严重威胁着全球人类健康,为满足防疫防控的要求,针对以前设计的红外测温仪在测量人体温度时易受环境温度和测量距离的影响,研究和开发一种高精度人体温度测量系统具有十分重要的意义。
本文通过研究红外测温理论相关基础知识,分析了当前疫情下需的人体测温方法,对人体红外测温系统的性能要求和功能要求进行了分析,给出了人体红外测温系统的总体设计方案在硬件设计上,使用STC89C52作为整个系统的控制芯片,选用MLX90614高精度红外温度传感器进行人体温度的测量,选用蓝牙实现无线通信传输,选用LCD1602 显示屏实时显示温度和设置阈值。在自动模式下,每秒采集一次温度,当温度不在设置的上下限之间,进行蜂鸣器报警。手动模式下,通过按键采集温度值,每按一次按键,采集一次温度,当温度不在设置的上下限之间,进行蜂鸣器报警,并通过AT24C02将数据保存。设计完成了人体红外测温系统的各个模块的硬件电路图和整体电路图,并根据系统的整体电路图绘制和制作了 PCB 板。在软件程序设计上,设计完成了人体红外测温系统的总体程序流程图以及各个功能模块的程序,并对采集到的人体温度进行数据预处理。
硬件和软件设计完成后,进行相关人体测温实验,本系统能够实现人体实时温度监测,并将监测温度实时通讯和实时显示,还具有报警功能。由于其非接触、响应快、精度高、反映接近于核心温度的人体温度等优点,适用在公众场合进行准确且迅速的体温筛查。
关键词:STC89C52单片机;红外避障;非接触红外测温;蓝牙;人体体温
Abstract
Temperature is an important indicator reflecting the physical condition of the human body and an important method for clinical diagnosis and disease screening. In recent years, various infectious diseases have occurred frequently around the world, posing a serious threat to global human health. In order to meet the requirements of epidemic prevention and control, it is of great significance to research and develop a high-precision human body temperature measurement system that is sensitive to environmental temperature and measurement distance when measuring human body temperature using previously designed infrared thermometers.
This article studies the basic knowledge of infrared temperature measurement theory, analyzes the human body temperature measurement methods required under the current epidemic situation, analyzes the performance and functional requirements of the human body infrared temperature measurement system, and provides the overall design plan of the human body infrared temperature measurement system. In terms of hardware design, STC89C52 is used as the control chip of the entire system, and MLX90614 high-precision infrared temperature sensor is selected for human body temperature measurement, Bluetooth is used for wireless communication transmission, and LCD1602 display screen is used to display temperature and set threshold in real-time. In automatic mode, temperature is collected once a second, and when the temperature is not between the set upper and lower limits, a buzzer alarm will sound. In manual mode, the temperature value is collected by pressing the button. Each time the button is pressed, the temperature is collected. When the temperature is not between the set upper and lower limits, a buzzer alarm is triggered, and the data is saved through AT24C02. We have designed and completed the hardware circuit diagrams and overall circuit diagrams of each module of the human infrared temperature measurement system, and have drawn and made a PCB board based on the overall circuit diagram of the system. In terms of software program design, the overall program flowchart of the human body infrared temperature measurement system and the programs of each functional module have been designed and completed, and the collected human body temperature data has been preprocessed.
After the hardware and software design is completed, relevant human body temperature measurement experiments are conducted. This system can achieve real-time temperature monitoring of the human body, communicate and display the monitoring temperature in real time, and also have an alarm function. Due to its non-contact, fast response, high accuracy, and ability to reflect body temperature close to the core temperature, it is suitable for accurate and rapid body temperature screening in public places.
Key words: STC89C52 microcontroller; Infrared obstacle avoidance; Non contact infrared temperature measurement; Bluetooth; Human body temperature
目 录
摘 要 I
Abstract II
1 绪论 1
2 系统方案设计 4
3 硬件设计 7
4 系统程序设计 14
5 仿真测试 21
6 实物调试 24
7 总结 28
致谢 29
参考文献 30
附录 31