您好,欢迎来到佳博论文网!

智能门锁系统

论文编号:CK050论文字数:14339,页数:39

摘 要

该设计是基于RFIC的智能门锁系统,主要完成对小区和其他重要部门的出入口安全控制,及对用户单元的监控。 工作过程为:用户刷卡开门时,读卡器读取卡中信息,主单片机将信息与内部数据库信息进行比较,进而判断该卡持有者的权限,控制开门。同时上位机显示和存储该卡信息及操作信息。用户也可以通过键盘输入密码开门。作为拓展部分,辅单片机采集用户单元的窗状态,温度、湿度等外部数据量,由上位机进行显示、存储,从而监控各用户单元。总之,RFIC读卡器负责读取RFIC卡的信息;辅单片机完成对各用户单元的信息数据采集;主单片机作为控制器,控制门的状态;上位机作为该系统的管理平台。 终,通过RFIC读卡器、主辅单片机和上位机的有机结合,形成了一个功能完善、可移植性高、操作性强的基于RFIC的智能门锁系统,通过对硬件的设计和软件对上位机的编程初步完成了所要求的结果。

关键词:感应控制,射频技术,信息采集

Abstract

The design is based on the intelligent RFIC entrance guard system, main area and other important sector of the gateway to users, and safety control unit. Working process card for users: open the door, the card reader reads the information, information and internal chip, then compare information database access card holders of judgment, control to open the door. While PC display and storage card information and operational information. The user can also through the keyboard input password to open the door. As the auxiliary microcontroller, collection development, the window user elements such as temperature and humidity external data quantity, the PC on display, storage, and monitor the user unit. Anyhow, RFIC RFIC card reader is responsible for reading information, For each user complete auxiliary MCU units of information, data acquisition, The single chip microcomputer as controller, the control gate; As the system of the upper management platform. Finally, through RFIC reader, auxiliary SCM and PC organically, formed a complete functions, high portability and feasible RFIC based on the intelligent entrance guard system, through the design of hardware and software for PC programming preliminary results of the completed required.

Keywords:Induction control, Rf technology, Information collection

目 录

摘要……………………………………………………………………………. . .………………..3

1.引言……………………………………………………………………………………………..7

2.系统方案的选择……………………………………………………………………………...8

2.1设计原则……………………………………………………………………………………8

2.1.1先进性………………………………………………………………………………...8

2.1.2灵活性和兼容性……………………………………………………………………...8

2.1.3经济实用性…………………………………………………………………………...8

2.1.4可靠性和安全性……………………………………………………………………...8

2.1.5操作和维护的方便性………………………………………………………………...8

2.2智能门锁系统连线方式选择………………………………………………………………8

2.3控制器模块方案设计与选择………………………………………………………………9

2.4身份识别模块方案设计与选择…………………………………………………………..10

2.5显示模块方案设计与选择………………………………………………………………..10

2.6读卡模块方案设计与选择………………………………………………………………..11

3.系统硬件电路设计………………………………………………………………………….11

3.1基本原理………………………………………………………………………………….11

3.2小系统设计…………………………………………………………………………….12

3.3读卡模块设计…………………………………………………………………………….15

3.3.1概述………………………………………………………………………………...15

3.3.2硬件/软件功能…………………………………………………………………….15

3.3.3硬件/软件规则…………………………………………………………………….16

3.4控制蜂鸣器电路设计…………………………………………………………………….18

3.5控制工作指示灯电路设计……………………………………………………………….18

3.6控制锁电路设计………………………………………………………………………….19

3.7复位电路设计…………………………………………………………………………….19

3.8电插锁的选择…………………………………………………………………………….20

3.9中断系统………………………………………………………………………………….21

3.10显示模块设计…………………………………………………………………………...23

4.系统软件设计………………………………………………………………………………..24

4.1系统工作流程…………………………………………………………………………….24

4.2子程序分析……………………………………………………………………………….25

4.2.1显示程序…………………………………………………………………………...25

4.2.2延时程序…………………………………………………………………………...27

5.功能实现……………………………………………………………………………………...27

5.1程序控制开锁…………………………………………………………………………….27

5.2出门按钮开锁…………………………………………………………………………….28

5.3读卡显示………………………………………………………………………………….28

5.5蜂鸣器报警……………………………………………………………………………….28

5.5工作指示灯……………………………………………………………………………….28

6.总结……………………………………………………………………………………………28

致谢………………………………………………………………………………………….. ….29

参考文献………………………………………………………………………………………...30

附录A 元件清单

附录B 部分程序清单

智能门锁系统......