【精品毕设】基于AT89S51单片机的电子密码锁的设计 下载本文

内容发布更新时间 : 2024/6/2 20:51:56星期一 下面是文章的全部内容请认真阅读。

毕业论文说明书

AT89S51单片机的电子密码锁的设计

课题: 基于

专 业 电气工程及其自动化 学 生 姓 名 唐加松 班 级 D电气111 学 号 1120603118 指 导 教 师 吴帆 专业系主任 顾春雷

发 放 日 期 2015年1月7日

盐城工学院本科毕业设计说明书2015

基于AT89S51单片机的电子密码锁的设计

摘 要:从古至今,锁都是人民财产安全乃至生命安全的一种重要保证。随着人

类历史的发展和人们对财产和人生安全越来越重视,多种多样的多功能的锁具也陆续出现,人们使用的锁具也由原来的机械锁逐渐发展为功能更多,安全性能更好的电子式密码锁。

本论文以AT89S51单片机芯片为核心器件,结合4*4矩阵按键电路、报警指示电路LCD数码管显示电路和开锁机构,利用单片机灵活的编程设计和丰富的I/O端口的特性,及其控制的准确性通过软件程序来运行整个系统实现电子密码锁的基本功能,其主要具有如下功能:

★密码输入错误三次,蜂鸣器将报警提示 ★密码通过键盘输入,若密码正确,则将锁打开 ★用户可以自由设定密码

本文设计的密码锁具有功耗低、安全性高、操作简单等优点。 关键词:AT89S51 ; 电子密码锁 ; LCD

Abstract: Since the ancient time, lock is a kind of security, guaranteeing people’s

property safety even life safety. With the development of human history and more attention paid to property safety and life safety, various multi-functional locks can be seen in the world. Traditional mechanical locks people use in life are gradually replaced by electronic combination lock characterized with better safety performance and more functions.

Based on the AT89S51 single-chip microcomputer as the core device, combining with the key circuit, LCD digital tube display circuit, an alarm circuit and unlocking mechanism, design the whole system to achieve the basic functions of electronic cipher lock by its flexible programming , rich I / O port, and accuracy basing on the software program . With the following functions :

盐城工学院本科毕业设计说明书2015

★If the password is error, the buzzer will alarm

★Input password through the keyboard, if the password is correct, lock will open

★Users can freely set the password

The lock has some features simple to work,like a reasonable design methods,low cost and security,it also has some promotion value.

Key words: AT89S51 ; Cipher lock ; LCD