1、-I- 摘 要 在生活中有些场合并不是任人自由进出的, 而只允许有进出权限者通行, 这时,就得使用出入口管理系统即门禁系统。传统的门锁是最古老、最简单 的门禁方式,一把锁配一把钥匙,几把锁就要配几把钥匙,使用不便。为了 适应信息时代的需要,保证建筑内部的安全性,满足用户当时的各种需求, 智能门禁系统应运而生。 根据市场需求设计一款基于 RFID 的门禁系统。本设计采用 AT89C52 作 为主控芯片,用北京易火眼公司的 YHY502ATG 专用读卡器模块用来读射频 卡的信息, 当有卡进入到读卡器读卡的范围内时就会读取到相应的卡序列号, 并根据得到的卡序列号做出相应的操作。 在扩展时采用 Del
2、phi软件做上位机, 并建立一个 Access 数据库用来存储用户信息。上位机与下位机之间的通信采 用串口通信,选用 MAX232CPE 芯片完成上、下位机之间的通信。按键部分 采用的是自制的 3*4 按键矩阵,采用线反转法来判断是哪个按键按下。本设 计实现了自动、准确的识别卡序列号,对门禁系统起着重要的作用。 关键词 门禁系统;射频识别;读卡器 -II- Abstract Some occasions in life is not a fancy free access, while access privileges are allowed only to those who pass t
3、his time, you have to use the import and export management system for the access control system. The traditional hardware is the oldest, the easiest access mode, a lock with a key lock is necessary with a few a few keys, use the inconvenience. In order to meet the information needs of the times to e
4、nsure the safety of inside the building to meet the diverse needs of the user at that time, intelligent access control system came into being. According to market demand to design a RFID-based access control system. This design uses AT89C52 as the master chip, with eyes of fire the companys Beijing Yi YHY502ATG dedicated RF card reader module for reading the information, when there are card into the reader within the reader, it reads to the appropriate card serial number, and in accordance wit