没有合适的资源?快使用搜索试试~ 我知道了~
基于51系列单片机的智能IC卡门禁控制系统设计.pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉

温馨提示


试读
53页
基于51系列单片机的智能IC卡门禁控制系统设计.pdf基于51系列单片机的智能IC卡门禁控制系统设计.pdf基于51系列单片机的智能IC卡门禁控制系统设计.pdf基于51系列单片机的智能IC卡门禁控制系统设计.pdf基于51系列单片机的智能IC卡门禁控制系统设计.pdf基于51系列单片机的智能IC卡门禁控制系统设计.pdf基于51系列单片机的智能IC卡门禁控制系统设计.pdf基于51系列单片机的智能IC卡门禁控制系统设计.pdf基于51系列单片机的智能IC卡门禁控制系统设计.pdf
资源推荐
资源详情
资源评论










. - -
编 号:
审定成绩:
邮电大学
填表时间:年月
毕业设计(论文)
设计(论文)题目:智能门禁系统
学院 名 称 :
学 生 姓 名 :
专 业 :
班 级 :
学 号 :
指 导 教 师 :
答辩组 负责人 :
. 可修编-

. - -
邮电大学教务处制
摘要
本文介绍了智能 IC 卡网络门禁系统的设计与开发,详细分析了系统的硬件设计
和软件设计,给出了制作非接触式智能卡读卡器的电路原理图和印刷电路板制作 PCB
图,以及主要程序设计的流程图和程序。读卡器主要由射频天线、读卡模块、RS485
通信接口及单片机控制系统组成,能读写荷兰 Philips 公司的 Mifare 非接触式智能射频
卡,读卡距离约 10cm。当没有卡进入读卡能量围时,系统显示时钟,当有卡进入时
则读卡数据并将卡号显示在数码显示器上。通过 RS485 接口与 PC 机组成通信网络系
统,读卡器平时可独立工作,PC 机会每隔一定时间访问读卡器,用 PC 机上的时钟统
一校准读卡器上的时钟,并读取存储器的读卡数据,以便读卡器中的数据得到及时处
理。经过反复测试,系统运行正常,稳定可靠。 读卡器采用部集成有 8K 字节 Flash
程序存储器的 AT89C52 单片机作控制器,扩展有带备用锂电池的实时时钟、数据存储
器、8 个 LED 显示器及显示驱动。除此以外还扩展有状态指示灯和蜂鸣器用于读卡状
态指示、校时成功指示和数据传送成功指示。系统全部采用串行接口芯片,其接口管
脚少、连线简单,有利于缩小读卡器的体积,降低功耗。本读卡器除了用做管理门禁
用外,还可扩展其它别的用途,实现一卡多用。
【关键词】门禁系统 读卡器 单片机 串行接口
. 可修编-

. - -
Abstract
This paper introduces the design and development of network access control system of
intelligent IC card, a detailed analysis of the hardware design and software design of the
system, the flow chart and program are making contactless smart card reading device of the
circuit schematic and printed circuit board PCB drawings, as well as the main program
design. Card reader mainly by the radio frequency antenna, card reader module, RS485
munication interface and MCU control system, can read and write Philips Mifare pany's
contactless smart RF card, card reader distance of about 10cm. When there is no card into
the card reader in the energy range, the system will display the clock, when the card entered
read data in the card and the card number to display on the digital display. Through RS485
interface and PC, constituting the munication network, card reader usually can work
independently, PC every opportunity to a certain time access card reader, with unified clock
calibration for PC card device on the clock, and read the memory card data, in order to read
the data card to be timely processing. After repeated testing, the system runs normally, and
is stable and reliable. Card reader using internal integration with 8K bytes of Flash program
memory AT89C52 microcontroller as the controller, with the expansion of the standby battery
with a real-time clock, data memory, 8 LED display and display driver. In addition, the state
indicating lamp and the buzzer are extended to be used for indicating the status of the card,
the success indication of the school and the successful indication of the data transfer. Serial
interface chip is adopted in the system, which has few pins and simple connection, which is
advantageous to reduce the volume of the card reader and reduce the power consumption. In
addition to use the card reader to do the management of access control, but also can be
extended to other uses, to achieve a multi-purpose card.
【Key words】Access control system Card reader Microcontroller
Serial interface
. 可修编-

. - -
目 录
前 言 … … … … … … … … … … … … … … … … … … … … … … … … … … … 2
第一章 门禁系统方案设计与选择…………………………………………………… 2
第一节 方案的选择 ………………………………………………………………… 2
第二节 IC 卡的选择 ……………………………………………………………… 3
第三节 设计原理 …………………………………………………………………… 3
第四节 设计功能…………………………………………………………………… 3
第五节 本章小结………………………………………………………………………
第二章 门禁系统硬件电路的设计……………………………………………………… 4
第一节 门禁系统电路基本原理…………………………………………………… 4
第二节 门禁系统结构图…………………………………………………………… 4
第三节 门禁系统各部分电路图………………………………………………………5
一、 主控芯片 AT89C51…………………………………………………………… 5
二、 门锁电路……………………………………………………………………… 8
三、 报警电路…………………………………………………………………… 9
四、 工作指示灯电路…………………………………………………………… 9
五、 读卡模块…………………………………………………………………… 10
4 门禁系统软件设计与调试……………………………………………………… 15
4.1 系统软件设计基本思路……………………………………………………… 15
4.2 系统软件主流程图………………………………………………………… 16
4.3 软件调试……………………………………………………………………… 17
4.3.1 程序调试用到的软件及工具…………………………………………………17
4.3.2 KEIL C51 简介…………………………………………………………………18
4.3.3 调试过程………………………………………………………………………18
5 门禁系统的仿真……………………………………………………………… 19
5.1 整体电路的功能仿真……………………………………………………… 19
5.1.1 系统通电后无刷卡时的仿真……………………………………………… 19
5.1.2 合法卡刷卡时的仿真……………………………………………………… 20
5.1.3 非法卡刷卡时的仿真……………………………………………………… 21
5.2 调试分析……………………………………………………………………… 21
结论 ………………………………………………………………………………… 22
参考文献…………………………………………………………………………… 23
致……………………………………………………………………………… 24
附录 A 程序清单…………………………………………………………………… 25
. 可修编-

. - -
前 言
在当今社会,随着人们对门禁系统各方面要求的不断提高,门禁控制系统的应用
围越来越广泛,因此门禁控制系统的研发已成为现代科技领域的一个热门课题。
目前,门禁控制系统已成为安防系统中极为重要的组成部分,在发达国家中,门
禁控制系统正在以远高于其它安防类产品的速度迅猛发展。门禁控制系统之所以能够
在无数多的安防类产品中异军突起,其根本原因在于门禁系统改变了以往的安防类产
品,如:防盗报警,闭路监控等被动的安全防方式,以主动的控制替代了被动的监视,
通过对主要的通道控制,大防了犯罪分子从正常的通道侵入,并且还可以在罪案发生
的同时通过对通道门的控制限制犯罪分子的活动围,制止犯罪或减少损失。此外,人
们对门禁控制系统的应用已经不再局限于单一出入口的控制,而且还将它应用于智能
大厦和高档社区的门禁控制、安防报警、考勤管理、电梯控制、停车场控制、楼宇控
制等。
本文介绍了基于 AT89C51 单片机 IC 卡门禁控制系统研究与实施,以单片机为核
心采用编程的方法来实现门禁控制系统的功能。 根据设计的要求,对卡号的比较和
开关门的指令进行程序的编写,并将所写程序装入单片机的程序存储器中。在程序运
行中,通过读卡器读取卡号,再将卡号传送到单片机进行比对,从而实现门禁功能。
. 可修编-
剩余52页未读,继续阅读

G11176593
- 粉丝: 6397
- 资源: 3万+
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


安全验证
文档复制为VIP权益,开通VIP直接复制

- 1
- 2
- 3
前往页