设计说明书
总字数:15000+
摘 要
21世纪科技日新月异,人们的生活渐渐以智能和自动为主旋律,自动化和智能化丰富着人们的日常生活,给予人们更多的精力和时间。老式车库开关门需要钥匙或者遥控器,已经跟不上现代化信息的快节奏模式, 因此智能车库门应运而生。在智能车库门的设计过程中,采用STC89C52作为主控芯片,通过4*4的矩阵键盘进行密码重置和密码还原;通过AT24C02存储密码,实现掉电保存密码;通过步进电机模拟开门和关门;通过显示屏显示输入的密码;通过分离式红外对射管检测车库门有没有障碍物,如果有,则停止电机转动,直到没有障碍物;当输入密码错误次数大于等于3次,进行锁定键盘3分钟,在此期间,每按一次按键都会蜂鸣器报警。各模块相互配合,共同完成车库门功能的设计,从而实现车库门的开关智能自动化。
关键字:车库门;密码;STC89C52单片机;LCD1602显示屏;控制
Abstract
With the rapid development of science and technology in the 21st century, people’s life is gradually intelligent and automatic as the main theme, automation and intelligence enrich People’s Daily life, giving people more energy and time. The old garage needs a key or remote control to open and close the door, which can’t keep up with the fast-paced mode of modern information, so the smart garage door came into being.In the design process of the intelligent garage door, STC89C52 is used as the main control chip, and the password reset and password restoration are carried out through the 4*4 matrix keyboard. The AT24C02 stores the password to save the password after power failure. The stepper motor simulates opening and closing doors; Enter the password through the display screen; Detect whether there is any obstacle in the garage door through the separated infrared beam tube. If there is, stop the motor rotation until there is no obstacle; When the number of incorrect password input is greater than or equal to 3 times, lock the keyboard for 3 minutes, during this period, every key press will be a buzzer alarm. The modules cooperate with each other to complete the design of the garage door function, so as to realize the intelligent automation of the garage door switch.
Key words: garage door; Password; STC89C52 MCU; LCD1602 display screen; Controls
目 录
摘 要
Abstract
第一章 绪论
1.1选题背景及实际意义
1.2国内外研究现状
1.3 本文实现的功能
第二章 系统总体设计方案
2.1本文的研究方法
2.2 主要器件方案选择
2.2.1电源模块方案选择
2.2.2 主控制器模块方案选择
2.2.3 显示电路模块方案选择
2.2.4 按键模块方案选择
2.3总体设计方案
第三章 硬件系统设计
3.1 主控模块电路
3.1.1晶振电路
3.1.2复位电路
3.1.3电源输入电路
3.2分离式红外开关模块设计
3.3显示电路
3.4键盘输入电路
3.5报警电路模块
3.6 存储模块电路
3.7 步进电机驱动电路模块
3.8 遥控模块电路
第四章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 LCD1602液晶显示子流程
4.4步进电机子流程
4.5存储模块子流程
第五章 仿真调试
5.1 仿真总体设计
5.2 重置密码仿真测试
5.3 密码开门仿真测试
5.4红外对管模块仿真测试
第六章 实物调试
6.1 实物总体设计
6.2 重置密码实物测试
6.3 密码开门实物测试
6.4红外对管模块仿真测试
结 论
参 考 文 献
致 谢
附录
附录1:原理图
附录2:PCB
附录3:主程序
购买后可查看具体内容!