摘要
为提升高校实验室的安全性和便利性,设计了一种智能化的门禁系统。运用单片机STC89C52作为控制器,采用红外测温传感器检测体温,通过键盘输入密码,单片机将储存的密码与输入密码进行对比,通过PWM算法控制门锁动作,同时将所测体温与密码比对结果进行显示。仿真实验结果表明,该系统可以实现密码开锁、人体测温等功能,测温平均相对误差为0.07%。该系统的成本低、操作方便、节省了人力资源,推进了线下实验课的安全展开。
To enhance the safety and convenience of university laboratories,an intelligent access control system has been designed.This system utilizes the STC89C52 single-chip microcomputer as its controller,employs an infrared temperature sensor for body temperature detection,and allows password input through a keyboard.The single-chip microcomputer compares the stored password with the input password,controls the door lock action through a PWM algorithm,and simultaneously displays the measured body temperature and password comparison results.The simulation experimental results indicate that this system can achieve functions such as password unlocking and body temperature measurement,with an average relative error of 0.07%in temperature measurement.This system is cost-effective,easy to operate,saves human resources,and promotes the safe conduct of offline experimental classes.
作者
王小会
李保印
薛延刚
李晓青
何爱欢
WANG Xiao-hui;LI Bao-yin;XUE Yan-gang;LI Xiao-qing;HE Ai-huan(Lanzhou Institute of Technology;China Telecom Wanwei Information Technology Co.,Ltd.;Chongqing Water Resources and Electric Engineering College)
出处
《中国集成电路》
2024年第11期63-68,共6页
China lntegrated Circuit
基金
重庆市教委科学技术研究计划资助(KJZD-K202403801)
2023年甘肃省教育科技创新项目(2023A-165)。
关键词
实验室门禁
单片机
PWM算法
laboratory access control
single-chip microcomputer
PWM algorithm