1、 1 基于单片机的电子密码锁设计基于单片机的电子密码锁设计 The Design of Electronic PasswordThe Design of Electronic Password- -lock with SCMlock with SCM 学生姓名: 所在系别: 机电工程系 所学专业: 计算机辅助设计与制造 所在班级: 指导教师: 学生学号: 2 摘摘 要要 随着电子产品向智能化和微型化的不断发展, 单片机已成为电子产品研制和 开发中首选的控制器。随着人们生活水平的提高,如何实现家庭防盗这一问题也 变的尤其的突出,传统的机械锁由于其构造的简单,安全性能低,无法满足人们 的需要。 本
2、文从经济实用的角度出发, 采用美国 Atmel 公司的单片机单片机 AT89C51 作为主 控芯片,结合外围的键盘输入、显示、报警、开锁等电路,用汇编语言编写主控 芯片的控制程序,设计了一款可以具有报警报警功能的电子密码锁密码锁。 经实验证明,该密码锁具有设计方法合理,简单易行,成本低,安全实用等 特点,符合住宅、办公室用锁要求,具有推广价值。 关键词:单片机关键词:单片机 报警报警 密码锁密码锁 3 A Abstractbstract As electronic products are developing towards intelligence and minimization, si
3、nglechip computers (SCMSCM ) 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
4、simple structure , Low security, it cant meet peoples demands. This article from the economic practical Angle and Atmel company adopts the microcontroller AT89C51 as the master, combined with peripheral chip keyboard input, display, alarm, unlock circuits, etc, with the main control chip assembly la
5、nguage preparation control procedures, designed a paragraph can have alarmalarm function electronic combination lock. Experiments show that the designed cipher lockcipher lock is characterized by its reasonable designing methods, simple operation, low cost and property of safety and practicalityBesi
6、des,it works well as a residence lock and has great potential for commercial development KeyKey wordswords: : SCMSCM A Alarmlarm C Cipher lockipher lock 4 前言前言 在日常的生活和工作中, 住宅与部门的安全防范、单位的文件档案、 财务报表以及一些个人资料的保存多以加锁的办法来解决。若使用传统的 机械式钥匙开锁,人们常需携带多把钥匙, 使用极不方便, 且钥匙丢失后 安全性即大打折扣。随着科学技术的不断发展,人们对日常生活中的安全 保险器件的要求越来越高。为满足人们对锁的使用要求,增加其安全性, 用密码代替钥匙的密码锁应运而生。密码锁具有安全性高、成本低、功耗 低、易操作等优点。 在安全技术防范领域,具有防盗报警功能的电子密码锁逐渐代替传