毕 业 设 计(论 文)
设计(论文)题目: 基于单片机的IC卡门禁系统的设计 学生姓名: XXXXX 指导教师: XXXXXX 二级学院: XX学院 专 业: 自动化 班 级: 10自动化 学 号: XXXXXXX 提交日期: 2014 年 5 月 12 日 答辩日期: 2014 年 5 月 17 日
金陵科技学院学士学位论文 目录
目 录
摘 要 .......................................................... III Abstract ........................................................IV 1 绪论 ..........................................................1 1.1选题论证 ..................................................1 1.2 门禁系统概括 ..............................................1 1.2.1门禁系统组成 ..........................................1 1.2.2门禁系统功能 ..........................................1 1.2.3门禁系统的发展过程 ....................................1 1.2.4门禁系统的优越性 ......................................2 1.2.5门禁系统的国内外现状 ..................................2 1.3课题背景及意义 ............................................2 1.4本论文拟解决的关键问题与解决方法 ..........................3 2 系统结构与设计原则 .............................................4 2.1门禁读卡器 ................................................4 2.2非接触式IC卡 .............................................4 2.3智能门禁系统的设计原则 ....................................4 2.4门禁模块图 ................................................5 3 系统硬件电路图设计 .............................................7 3.1各模块选用的硬件介绍 ......................................7 3.1.1 STC89C52单片机介绍 ...................................7 3.1.2 FM1702高频读卡器模块介绍 ............................10 3.1.3 Mifare射频卡介绍 ....................................10 3.2 STC89C52的电路连接 ......................................11 3.3 LCD12864液晶显示屏的介绍 ...............................12 3.4 AT 24C02介绍 ............................................14 3.4.1AT 24C02存储模块模块连接电路图 .......................14
I
金陵科技学院学士学位论文 目录
3.4.2 主要特性: ...........................................14 3.4.2.2引脚描述: .........................................15 3.5电子锁控制 ...............................................15 3.6报警电路 .................................................16 3.7射频卡读卡器块的复位电路 .................................16 3.8按键模块 .................................................17 3.9LED显示模块 ..............................................17 4 射频卡读卡器的软件设计 ........................................19 4.1系统流程及主程序介绍 .....................................19 4.2读卡器 ...................................................19 4.3读卡过程及程序设计介绍 ...................................20 4.3.1寻卡图 ...............................................21 4.3.2防冲突 ...............................................21 4.3.3选择卡片 .............................................22 4.3.4读取卡片 .............................................22 4.3.5 卡挂起 ...............................................22 5 读卡器的调试 ..................................................24 5.1各模块硬件调试 ...........................................24 5.1.1单片机的调试 .........................................24 5.1.2串口通信模块的调试 ...................................24 5.1.3本章小结 .............................................24 5.1.4 硬件实物图 ...........................................25 参考文献 ........................................................30 致谢 ............................................................31 附录1 系统原理图 ...............................................32 附录2 程序 .....................................................33
II
金陵科技学院学士学位论文 摘要
基于单片机的IC卡门禁系统的设计
摘 要
本论文介绍了可加强安全的智能门禁系统。论文具体的介绍了门禁系统的组成、读卡器的硬件设计以及系统的软件开发内容。提供了门禁读卡器的电路原理图,和主要程序设计的流程图和程序。重点分析了单片机与FM1702高频读卡器频模块的接口电路、报警电路、门锁继电器电路、液晶12864电路以及单片机最小系统。读卡器主要有读卡模块、单片机控制模块、射频天线以及智能IC卡组成。读卡器能读写荷兰Philips公司的Mifare非接触式射频卡。当有卡进入时则读卡内数据后通过单片机进行处理后程序自动判断是不是合法IC卡,并且将卡号传送到液晶12864上显示。读卡器的软件部分重点介绍了读卡过程的程序设计,包括询卡、选取卡片、读取卡片、判别IC卡是否合法等。
读卡器选用内部集成有8K字节Flash程序存贮器的STC89C52单片机作控制器,系统采用SPI通信,其接口管脚少、连线简易,便于缩小读卡器的体积。
关键词:门禁系统;STC89C52;读卡器
III
金陵科技学院学士学位论文 abstract
The design of IC card entrance guard system based on single
chip microcomputer
Abstract
This paper introduces the intelligent entrance guard system security can be strengthened. This thesis introduces the software development content, access control system, the hardware design of card reader and system. Provides access to read circuit diagram the card reader, and the main flow chart and program. Focus on the analysis of the single chip computer and FM1702 interface circuit, the high-frequency read card reader module and alarm circuit, frequency lock relay circuit, LCD 12864 circuit and MCU minimum system. The reader has read card module, MCU control module, RF antenna and intelligent IC card. The card reader can read and write Philips Holland's Mifare of contactless RF card. When the card entered will read the card data processing program to automatically determine Is it right? Legitimate IC card through the microcontroller, and the number is transmitted to the liquid crystal display 12864. The card reader software part emphatically introduces the program design card process, including inquiring card, select card read card, IC card, judging the legality of.
Card reader with integrated with internal 8K bytes of Flash program memory of STC89C52 single chip microcomputer as controller, the system uses the SPI communication interface, the connection pin is less, simple, easy to reduce the volume of the card reader
Key words:entrance guard system ;AT98S52 ; devices, card reader
IV
百度搜索“70edu”或“70教育网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,70教育网,提供经典综合文库基于单片机的IC卡门禁系统的设计 - 图文在线全文阅读。
相关推荐: