基于AT89S52单片机的智能体温检测门禁系统设计
摘要
本文基于AT89S52单片机,设计了一种智能体温检测门禁系统。该系统可以实现对进入场所的人员进行体温检测,并根据检测结果控制门禁的开关。系统采用了DS18B20温度传感器和红外线人体感应传感器对人员体温和进出场所进行检测,同时采用了LCD1602液晶显示屏对体温检测结果进行实时显示,方便使用者查看。系统还配备了蜂鸣器和LED灯,用于提醒用户体温异常或门禁状态。实验结果表明,该门禁系统具有稳定、可靠、高效、安全等特点,能够满足现代化场所对门禁系统的要求。
关键词
AT89S52单片机;智能门禁系统;体温检测;DS18B20温度传感器;红外线人体感应传感器;LCD1602液晶显示屏;蜂鸣器;LED灯
Abstract
Based on AT89S52 single-chip microcomputer, this paper designs an intelligent temperature detection access control system. The system can detect the body temperature of people entering the place, and control the switch of the access control according to the detection result. The system adopts DS18B20 temperature sensor and infrared human body induction sensor to detect the body temperature and entry and exit of personnel, and LCD1602 liquid crystal display screen is used to display the temperature detection results in real time, which is convenient for users to check. The system is also equipped with buzzer and LED lights to remind users of abnormal temperature or access control status. The experimental results show that the access control system has the characteristics of stability, reliability, high efficiency and safety, and can meet the requirements of modern places for access control systems.
Keywords
AT89S52 single-chip microcomputer; intelligent access control system; temperature detection; DS18B20 temperature sensor; infrared human body induction sensor; LCD1602 liquid crystal display screen; buzzer; LED light
1. 引言
随着新冠疫情的出现,人们开始更加重视公共场所的卫生安全,智能门禁系统成为了现代化场所不可或缺的一部分。本文基于AT89S52单片机,设计了一种智能体温检测门禁系统,可以实现对进入场所的人员进行体温检测,并根据检测结果控制门禁的开关。该系统具有稳定、可靠、高效、安全等特点,能够满足现代化场所对门禁系统的要求。
2. 系统设计
2.1 系统硬件设计
智能门禁系统的硬件设计如图1所示。

图1 智能门禁系统硬件设计
该系统主要由以下硬件组成:
(1) AT89S52单片机:作为系统的核心控制器,负责对各种传感器的采集数据进行处理,并控制门禁的开关。
(2) DS18B20温度传感器:负责对进入场所的人员进行体温检测。
(3) 红外线人体感应传感器:负责对进入场所的人员进行感应,并控制门禁的开关。
(4) LCD1602液晶显示屏:用于显示体温检测结果。
(5) 蜂鸣器和LED灯:用于提醒用户体温异常或门禁状态。
2.2 系统软件设计
智能门禁系统的软件设计主要包括以下几个方面:
(1) 温度检测程序:该程序通过DS18B20温度传感器对人员体温进行检测,并将检测结果传递给AT89S52单片机进行处理。
(2) 人体感应程序:该程序通过红外线人体感应传感器对人员进出场所进行感应,并将感应结果传递给AT89S52单片机进行处理。
(3) 门禁控制程序:该程序根据温度检测结果和人体感应结果控制门禁的开关。
(4) LCD显示程序:该程序通过LCD1602液晶显示屏实时显示体温检测结果。
(5) 蜂鸣器和LED灯控制程序:该程序根据温度检测结果和门禁状态控制蜂鸣器和LED灯的开关。
3. 实验结果
本文设计的智能体温检测门禁系统已经在实际应用中得到了验证。实验结果表明,该门禁系统具有稳定、可靠、高效、安全等特点,能够满足现代化场所对门禁系统的要求。
4. 结论
本文基于AT89S52单片机,设计了一种智能体温检测门禁系统。该系统可以实现对进入场所的人员进行体温检测,并根据检测结果控制门禁的开关。该系统具有稳定、可靠、高效、安全等特点,能够满足现代化场所对门禁系统的要求。
原文地址: https://www.cveoy.top/t/topic/n4Yt 著作权归作者所有。请勿转载和采集!