1、 I 论文题目:基于单片机的电子密码锁的设计 摘要 单片机已经在家电领域中得到了广泛的应用,而且在安全密保方面,具有防盗报警 功能的电子密码锁逐渐取代了传统的机械密码锁, 克服了机械密码锁密码过少的安全性 问题。本密码锁的主控芯片采用价格实惠而且容易购买的 STC89C52 芯片。密码输入 采用矩阵键盘及独立键盘,密码显示采用共阴极的八段显示数码管。系统能完成密码输 入、正确开锁、超次报警这些基本的密码锁的功能。系统的软件实现采用功能强大且易 于开发的 KeilC51 环境,且支持 ISP 下载。因此没使用编程器,用 C 语言实现系统的软 件部分。由于 51 单片机也有一些不足之处如断电后内部
2、 RAM 储存的数据会完全丢失, 为了克服这一缺点,系统的外围加了掉电存储电路并且由 AT24C02 芯片来实现。此设计 具有安全性高、价格低廉便于实现、易于改进等优点。 【关键词】 电子密码锁 STC89C52 矩阵键盘 AT24C02 【论文类型】设计型 II Title:Based on MCU electronic combination lock design Major:Communication engineering Name:Cui Ruini Signature: Supervisior:Cui Xing Signature: ABSTRACT MCU had been w
3、idely used in home appliance field,in the security password protection aspect anti-theft alarm function electronic combination lock gradually replace the traditional mechanical trick lock,it also overcome the security problems that the password of machinery combination lock are too few. This combina
4、tion locks master chip adopts STC89C52 which is affordable and easy to buy. Passwords input adopt matrix keyboard and independent keyboard, passwords display using the erection of the cathode tube display digital. This system can accomplish password input, correct unlock, super times alarm ,these basic combination lock function . Software realization of this system is used in KeilC51 environment .it is powerful and easy to develop, and to support ISP