摘要
随着科学技术的进步,IC卡门禁系统在日常生活中的应用越来越普及。比如公司、写字楼出入口门禁制系统采取以感应卡来取代用钥匙开门的方式。使用者用一张卡可以打开多把门锁, 对门锁的开启也可以有一定的时间限制。如果卡丢失了,不必更换门锁,只需将其从控制主机中注销。出入口门禁控制系统是通过对出入口的准入情况进行控制、管理和记录的设备,对何人何时在何地进行详细跟踪,以实现中心对出入口的24小时控制、监视及管理等。
本系统以89C51系列单片机AT89C52为控制核心,利用非接触式高频Mifare IC卡模块读取用户手中的IC卡信息,识别成功后与系统存储的IC卡库数据进行比对校验,如果IC卡数据库中有IC卡则证明IC卡合法,单片机通过控制继电器控制电子锁门禁开启和关闭。同时系统采用4X4矩阵键盘作为输入,LCD1602液晶作为人机交互显示,让系统具备更大的实用价值。
关键词:AT89C52;4X4键盘;IC卡;LCD1602;Mifare
With the progress of science and technology, access control systems used in daily life is more and more popular. The gate entrance control system to replace open a door with a key way to induction card. A user with a card can open the lock on the door lock, the opening can also have a certain time limit. If the card is lost, do not have to change the locks, the cancellation of its control from the host. The gate entrance control system through control, equipment management and records of the admittance of entrance to whom, when and where to detailed tracking, to achieve the center on the entrance 24 hours control, monitoring and management.
This system uses 89C51 Series MCU AT89C52 as the control core, the use of contactless IC card information of high frequency Mifare IC card module to read the user's hands, ratio of IC are checking data recognition after successful and storage system, if there is evidence that the IC card IC card IC card database legal, chip by controlling the relay control electronic lock opening and closing. At the same time the system uses the 4X4 matrix keyboard as input, LCD1602 liquid crystal display as human-computer interaction, can complete the IC card information through the keyboard to add, delete and other tasks, to make the system more practical value.
Key words: AT89C52;4X4 keybord;IC card;LCD1602;Mifare
目 录