基于 RFID 的智能挂锁的设计与实现 Design and implementation of smart padlock based on RFID 1摘 要物联网时代家居智能化是大趋势,锁更是不可缺少的一部分。密码锁具有,便捷、安全性高、忘记带钥匙也能开锁等优点。此设计是一个基于 RFID 的射频智能锁。本设计源于笔者日常生活中经常忘记带钥匙,通过市场调查蓝牙锁后,发现蓝牙锁往往需要,先连接蓝牙,再开锁,其间过程需要 2 至 3 分钟,虽然这些蓝牙锁可以实现不带钥匙也能开门,但是并不节省时间,于是想设计一款可以更加快速开锁的智能锁。本设计由硬件和软件两部分组成,主要采用了 RFID 技术和红外遥控技术。本设计中硬件实现部分由 STC89C52 单片机系统、4*4 矩阵键盘、LCD1602 液晶显示模块、RC522 读卡模块等组成;软件部分使用 C 语言进行编程。可以实现通过管理员密码,读写卡片、对 RFID 卡进行管理。本系统有多种开锁方式,可以使用 RFID 卡片开锁,红外遥控开锁,蓝牙遥控开锁。关键词:RFID;单片机;智能锁 2AbstractIn the era of Internet of things, home intelligent is the general trend, and lock is an indispensable part. This design password lock has the advantages of convenience, high security, forgetting to take the key, etc. This design is a RFID Based RF smart lock. This design originates from the fact that I often forget to take the key in my daily life. After market investigation, I found that the Bluetooth lock often needs to be connected first and then unlocked. The process takes 2 to 3 minutes. Although these Bluetooth locks can open the door without the key, it does not save time, so I want to design a smart lock that can unlock the door more quickly. This design is composed of hardware and software, mainly using RFID technology and infrared remote control technology. In this design, the hardware part is composed of STC89C52 single chip microcomputer system, 4 * 4 matrix keyboard, LCD1602 liquid crystal display module, rc522 card reading module, and the so...