基于 RFID 的门禁系统摘要:本文主要介绍了门禁系统设计的基本背景和设计方法。门禁系统的硬件主要包括六个部分:分别为供电电源、1602 液晶屏、按键锁、矩阵键盘、RFID 射频模块和 STC89C52 微控制器。系统软件主要由 1602 液晶显示程序、RFID 射频程序和键盘扫描程序等组成。社区 RFID 门禁管理系统以 51 单片机为系统的基础,加上 12864 液晶屏幕、RFID 射频模块和上位机等主要的器件,做到了从下位机刷卡读取从上位机屏幕上显示相关信息的功能。其中,STC89C52 作为该系统的“大脑”,它是主控制器,作用是实现把采集到射频信号转化成计算机数据,然后经过串口传输,数据传到电脑后然后通过屏幕进行相关信息的显示。在这个过程中,上位机要调用数据库的数据做比对,假若下位机的数据与数据库中的数据匹配时,将同时发送指令给下位机,此时门禁系统随即开启,上位机把从数据库调用的个人信息显示在屏幕上,用户每次刷卡信息都会由上位机存储到数据库,管理员随时可以查询相关信息。如果数据库中没有匹配的信息,此时上位机就会发出报警提示同时下位机蜂鸣器将做报警提示。关键词: STC89C52 单片机;门控装置;RFID 射频;上位机Access Control System Based On RFIDAbstract:This article mainly introduces the basic background and design method of the access control system. The access control system mainly includes six parts: key lock, RFID radio frequency module,STC89C52 microcontroller,Matrix keyboard, 1602 LCD display, power supply and so on. The system software is mainly composed of 1602 LCD display program, RFID radio frequency program and keyboard scanning program. The community RFID access control management system is based on the 51 single-chip microcomputer system, plus 12864 LCD screen, RFID radio frequency module and host computer and other main devices. It has achieved the function of reading related information from the host computer screen by swiping from the lower computer. Among them, STC89C52 as the "brain" of the system, it is the main controller, the role is to achieve the collect...