智能家居门禁系统设计

 2022-10-22 03:10

论文总字数:34394字

摘 要

古往今来最简单的门禁系统就是一把锁配一把钥匙或者几把锁就要配几把钥匙,这种门禁系统或多或少使用不便。为了与时俱进,保证门禁系统的安全性,满足用户安全方便的需求,智能化的门禁系统由此而生,如今随着科技的发展,物联网产业火热的进行,未来的智能家居门禁系统会更好的满足用户的需求。

根据市场需求设计一款基于RFID和ESP8266无线 WI FI模块的智能家居门禁系统。无线电频率识别技术得到广泛使用和发展,特别是在无线电技术领域,主要用于非无线电频率双向通信,以实现识别和数据共享。本设计采用STC89C52作为主控芯片,如果一张卡属于读卡人的阅读范围之内,则使用RC522无接触读取模块访问射频卡的信息,然后根据所获卡的序列号阅读和操作相应的卡号。使LCD2864液晶能够正确的显示出卡号和其他有用的信息。对应的新用户需要配备卡,新用户可以通过管理系统进行注册卡,撤销卡,手机远程控制等操作。同时在忘记携带注册过的会员卡时,可以通过使用密码进行解锁。本系统安全可靠,方便。本系统可以直接使用于家庭、宾馆门禁楼宇监控等;ESP8266可以通过无线模块与无线信号,再通过芯片模块与单片机远程控制门锁。用户可以通过手机app连接系统并且可以远程控制门锁的开关和工作状态。

关键词RFID门禁系统;STC89C51单片机;LCD2864液晶;物联网 ;ESP8266;WI FI; 单片机

Design of Intelligent Home Access Control System

ABSTRACT

The simplest access control system in the past and present is that a lock is equipped with a key or several locks are equipped with several keys. This access control system is more or less inconvenient to use. In order to keep pace with the times, ensure the security of access control system and meet the needs of users'safety and convenience, intelligent access control system came into being. With the development of science and technology and the hot development of the Internet of Things industry, the future intelligent home access control system will better meet the needs of users.

According to the market demand, a smart home access control system based on RFID and ESP8266 wireless WI FI module is designed. Developed and disseminated in RFID technology in radio technology. Its main principle is based on the radio frequency mode of non-contact two-way communication, so as to achieve the purpose of identification and data exchange. This design uses STC89C52 as the main control chip and RC522 non-contact read-write module to read the information of the RF card. When the card enters the reading range of the card reader, it will read the corresponding serial number of the card, and make corresponding operations according to the serial number of the card, so that LCD 2864 LCD can correctly display the card number and other useful letters. Interest. Corresponding new users need to be equipped with cards. New users can register, cancel cards and remote control of mobile phones through the management system. At the same time, when forgetting to carry membership cards, you can use password to unlock them. The system is safe, reliable and comfortable. This system can be directly used in home and hotel entrance control building monitoring, etc. Then it can receive wireless signals through wireless module ESP8266, and then transmit them to single-chip computer, and use single-chip computer module remote control door . Users can connect to the system through mobile app, and remote control the switch and working status of the door lock.

Key words: The RFID Access Control System, STC89C51 Single Chip Microcomputer,the liquid crystal of LCD12864, Internet of things, ESP8266 , WIFI, Microcomputer

目录

摘要 III

ABSTRACT IV

第一章 引言 1

1.1设计的选题背景 1

1.2 国内外研究发展状况 1

1.2.1  国外研究发展现状 1

1.2.2 国内研究发展现状 1

1.3 设计的目的和意义 2

1.4本文主要研究的内容 2

第二章 系统硬件方案选择 3

2.1 硬件方案的选择 3

2.1.1 主控芯片的选择 3

2.1.2 显示器件的选择 3

2.1.3 数据存储芯片的选择 4

2.1.4 人机交互输入器件的选择 4

2.1.5 WIFI模块选择 4

2.1.6 报警模块的选择 5

2.2 系统总体方案 6

第三章 系统硬件电路设计 7

3.1 STC89C52单片机系统设计 7

3.1.1 STC89C52的概述 7

3.1.2 STC89C52单片机的最小系统 7

3.2 LCD12864液晶显示电路的设计 8

3.2.1 液晶LCD12864的概述 8

3.2.2 液晶LCD12864的工作原理 9

3.3 射频识别的设计 10

3.3.1 射频识别技术原理 10

3.3.2 RC522读卡器的设计 10

3.4 AT24C02的介绍 11

3.4.1 AT24C02的概述 11

3.4.2 AT24C02的工作原理 11

3.5 矩阵键盘的设计 12

3.6 蜂鸣器电路的设计 13

3.7 继电器驱动电路设计 13

3.8 ESP8266无线模块设计 14

3.8.1 ESP8266概述 14

3.8.2 ESP8266产品特性 14

第四章 系统软件部分设计 16

4.1 软件开发环境的介绍 16

4.2 系统重要函数的介绍 16

4.2.1 主函数的设计 16

4.2.2 LCD12864显示函数的设计 18

4.2.3 匹配IC卡程序设计 20

4.2.4 AT24C02读/写函数的设计 20

4.2.5 矩阵键盘检测函数的设计 22

4.2.6 ESP8266无线模块程序设计 23

第五章 系统硬件与软件调试 25

5.1 电路焊接 25

5.2系统调试 25

5.2.1 系统程序调试 25

5.2.2硬件测试 27

致 谢 30

参考文献(References) 31

附录一 程序清单 32

剩余内容已隐藏,请支付后下载全文,论文总字数:34394字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;