基于单片机电子锁的设计.doc
文本预览下载声明
PAGE ii
安防课程设计(论文)
基于单片机的电子密码锁设计
The Design of Electronic Password-lock with SCM
学 院
专 业 电子科学与技术
(微电子、光电子方向)
年级班别 2008级
学 号
学生姓名
指导教师
2011年12月
PAGE ii
摘 要
随着电子产品向智能化和微型化的不断发展,单片机已成为电子产品研制和开发中首选的控制器。随着人们生活水平的提高,如何实现家庭防盗这一问题也变的尤其的突出,传统的机械锁由于其构造的简单,安全性能低,无法满足人们的需要。
本文从经济实用的角度出发,采用美国Atmel公司的单片机AT89S51与低功耗CMOS型E2PROM AT24C02作为主控芯片与数据存储器单元,结合外围的键盘输入、显示、报警、开锁等电路,用汇编语言编写主控芯片的控制程序,设计了一款可以多次更改密码具有报警功能的电子密码锁。
经实验证明,该密码锁具有设计方法合理,简单易行,成本低,安全实用等特点,符合住宅、办公室用锁要求,具有推广价值。
关键词
密码锁 单片机 报警
Abstract
As electronic products are developing towards intelligence and minimization, single—chip computers (SCM ) have become the first choice for controllers in the development of electronic products. With the improvement of peoples living standards, it has become particularly prominent about how to achieve Anti-theft family. The traditional mechanical lock has such shortcoming as simple structure , Low security, it cant meet peoples demands.
For practicality, this paper designs a new electronic cipher lock, which has the function of alarm and whose cipher can be changed many times. This cipher lock uses AT89S51 SCM and E2PROM HYPERLINK /icstock/145/AT24C02.html \t _blank AT24C02 as main chip and data memory cell . The author made this ciphor lock by use of making controlled program of master CMOS with periphery electrocircuit of keyboard input, display, alarm and unlock.
Experiments show that the designed cipher lock is characterized by its reasonable designing methods, simple operation, low cost and property of safety and practicality.Besides,it works well as a residence lock and has great potential for commercial development.
Key words: Cipher lock SCM Alarm
PAGE \* MERGEFORMAT 23
目 录
TOC \o 1-2 \h \z \u HYPERLINK \l _Toc201543233 1 引言 PAGEREF _Toc201543233 \h 1
HYPERLINK \l _Toc201543234 1.1 电子密码锁简介 PAGEREF _Toc201543234 \h 1
HYPERLINK \l _Toc201543235 1.2 电子密码锁的发展趋势 PAGEREF _Toc201543235 \h 1
HY
显示全部