设计说明书
总字数:20000+
摘 要
随着当前人们经济的发展,人们生活水平的提高,当前人们对财产安全和重要物品的重视程度越来越高,此次设计一款智能保险向,有效降低盗窃事件给用户造成财产损失。为了更好地促进保险箱在各个领域的应用,本设计基于STM32单片机控制的智能保险箱。该保险箱采用STM32单片机作为主控芯片,采用OLED显示屏对密码和相关参数进行显示,采用4*4的矩阵键盘作为信号输出按键,采用AT24C02对保险箱密码进行存储,采用门磁锁模拟保险箱门的开关,采用人体热释电传感器检测是否有人,采用MPU6050传感器检测保险箱是否被移动,采用声光报警器进行报警提醒。除此之外,还采用WiFi模块,手机端可以收到系统端的提示信息,手机端也可以实现远程控制保险箱门的功能。当正确输入密码后,保险箱门自动打开,并将门打开的信号在显示屏上显示;当输入密码或RFID卡总错误次数大于等于3次,进行锁定键盘及RFID卡模块3分钟,在此期间,每按一次按键都会蜂鸣器报警。用户可以根据需求重新设置保险箱密码,且可以实现掉电保存密码的功能。此次设计可以解决当前保险箱密码泄露的问题。本次设计的保险箱密码锁具有操作监简单、保密性强、防偷窥的优势。
关键字:保险箱;防偷窥;STM32单片机;OLED显示屏;远程控制
With the development of people’s economy and the improvement of people’s living standards, people pay more and more attention to property safety and important items. The design of an intelligent insurance system can effectively reduce property losses caused by theft incidents to users.In order to better promote the application of safe in various fields, this design is based on STM32 MCU control intelligent safe. The safe adopts STM32 single chip microcomputer as the main control chip, OLED display screen to display the password and related parameters, 4*4 matrix keyboard as the signal output key, AT24C02 to store the safe password, door magnetic lock to simulate the switch of the safe door, and human pyroelectric sensor to detect whether there is anyone. The MPU6050 sensor is used to detect whether the safe is moved, and the sound and light alarm is used to remind the alarm. In addition, the WiFi module is also used, and the mobile phone can receive the prompt information of the system side, and the mobile phone can also achieve the function of remote control of the safe door. When the password is entered correctly, the safe door will open automatically, and the signal of opening the door will be displayed on the display screen; When entering the password or the total number of errors of the RFID card is greater than or equal to 3 times, lock the keyboard and RFID card module for 3 minutes, during this period, every time the key is pressed, the buzzer will alarm. You can reset the coffer password as required and save the password after a power failure. This design can solve the problem of leakage of the current safe password. The design of the safe code lock has the advantages of simple operation monitoring, strong confidentiality and anti-peeping.
Key words: safe; Anti-snooping; STM32 MCU; OLED display; Remote control
目 录
摘 要
Abstract
第一章 绪论
1.1课题的背景和意义
1.2电子保险箱的简介
1.3 国内外研究现状
1.4 此次设计功能实现
第二章 系统总体设计方案
2.1 本设计完成的工作和实现目标
2.2 本文的研究方法
2.3 主要器件方案选择
2.3.1 主控制器模块方案选择
2.3.2 显示电路模块方案选择
2.3.3 按键模块方案选择
2.4总体设计方案
第三章 硬件系统设计
3.1 主控模块电路
3.2显示电路
3.3键盘输入电路
3.4人体热释电感应模块
3.5 MPU6050监测模块
3.6 RFID刷卡模块
3.7声光报警电路模块
3.8 存储模块电路
3.9 继电器模块电路
3.10 WiFi模块电路
第四章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3矩阵键盘子流程
4.4 存储模块子流程
4.5 OLED显示流程设计
4.6WiFi模块子流程设计
第5章 实物调试
5.1 实物总体设计
5.2 重置密码实物测试
5.3 密码开门实物测试
5.4 密码还原实物测试
5.5 添加REID卡实物测试
5.6 有人报警实物测试
5.7 保险箱移动报警实物测试
5.8 WiFi远程控制实物测试
结 论
参 考 文 献
致 谢
附录
附录1:原理图
附录2:PCB
附录3:主程序
购买后可查看具体内容!