项目编号:mcuclub-dz-284
设计简介:
项目编号:mcuclub-dz-284
单片机类型:STC89C52
具体功能:
1、通过4*4的矩阵键盘中的0-9为数字键,*为删除键,#为确定键,A为重置密码键,B为一键还原密码键
2、重置密码过程:管理员密码–>旧密码–>新密码–>再次新密码
3、一键还原:输入管理员密码,直接还原密码123456
4、通过AT24C02存储密码,实现掉电保存密码
5、当输入密码错误次数大于等于3次,进行锁定键盘3分钟,在此期间,每按一次按键都会蜂鸣器报警
6、通过步进电机模拟开门和关门
7、通过显示屏显示输入的密码(*号表示,防止被偷看),另外,输入密码可以前后加入扰乱码,只要包含正确密码即可
8、通过分离式红外对射管检测车库门有没有障碍物,如果有,则停止电机转动,直到没有障碍物
9、通过遥控器可以打开或关闭车库门
总字数:15814
摘 要
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
第一章 绪论
第二章 系统总体设计方案
第三章 硬件系统设计
第四章 系统程序设计
第五章 仿真调试
第六章 实物调试
结 论
参 考 文 献
致 谢
附录