2024年5月4日发(作者:)

优秀论文 审核通过

未经允许 切勿外传

毕业论文题目:基于单片机的电子密码锁的设计

专业

通信工程

摘要

单片机已经在家电领域中得到了广泛的应用,而且在安全密保方面,

具有防盗报警功能的电子密码锁逐渐取代了传统的机械密码锁,克服了

机械密码锁密码过少的安全性问题。本密码锁的主控芯片采用价格实惠

而且容易购买的 STC89C52芯片。密码输入采用矩阵键盘及独立键盘,

密码显示采用共阴极的八段显示数码管。系统能完成密码输入、正确开

锁、超次报警这些基本的密码锁的功能。系统的软件实现采用功能强大

且易于开发的KeilC51环境,且支持ISP下载。因此没使用编程器,用C

语言实现系统的软件部分。由于51单片机也有一些不足之处如断电后内

部RAM储存的数据会完全丢失,为了克服这一缺点,系统的外围加了掉

电存储电路并且由AT24C02芯片来实现。此设计具有安全性高、价格低

廉便于实现、易于改进等优点。

【关键词】

电子密码锁 STC89C52 矩阵键盘 AT24C02

ABSTRACT

MCU widely used 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 combination lock's master chip adopts STC89C52

which is affordable and easy to buy.

Password’s input

adopt matrix keyboard and independent keyboard,

password's 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