基于51单片机电子密码锁的课程设计.doc

  1. 1、本文档共57页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于51单片机电子密码锁的课程设计

基于单片机的电子密码锁设计 摘 要 随着人们生活水平的提高,如何实现家庭防盗这一问题也变得尤为突出。在科学技术不断发展的今天,电子密码防盗锁作为防盗卫士的作用显得日趋重要。 本文从经济实用的角度出发,系统由STC89C52与低功耗CMOS型E2PROM AT24C02作为主控芯片与数据存储器单元,结合外围的键盘输入、LCD显示、报警、开锁等电路模块。它能完成以下功能:正确输入密码前提下,开锁;错误输入密码情况下,报警;密码可以根据用户需要更改。用C语言编写的主控芯片控制程序与EEPROM AT24C02读写程序相结合,并用Keil软件进行编译,设计了一款可以多次更改密码,具有报警功能的电子密码控制系统。 本密码锁具有设计方法合理,简单易行,成本低,安全实用,保密性强,灵活性高等特点,具有一定的推广价值。 关键词:电子密码锁;报警;液晶显示 朗读 显示对应的拉丁字符的拼音 Design of Electric Password Lock Based on MCU Abstract As peoples living standards improve, the question how to achieve home security has become particularly prominent. In science and technology is developing continuously, electronic code lock as a security guards role is increasingly important. This article from the economical point of view, the system by the STC89C52 with low power CMOS based E 2 PROM AT24C02 as the master chip and the data memory unit, combined with the external keyboard, LCD display, alarm, unlock and other circuit modules. It performs the following functions: enter the password correctly under the premise of unlocking; wrong password case the alarm; password can be changed according to user needs. Master in C language control program and EEPROM AT24C02 chip to read and write process are combined and compiled with the Keil software, designed a number you can change the password, the password with an electronic alarm control system. The lock has a reasonable design, simple, low cost, safe and practical, confidentiality, flexibility, and high, with some promotional value. Key Words:Electric Password lock;Alarm; LCD Display 目 录 引言 1 第1章 绪论 2 1.1 电子密码锁的背景与研究意义 2 1.2 电子密码锁的现状及发展趋势 2 1.3 本章小结 4 第2章 系统整体方案设计 5 2.1 设计目标 5 2.2 主控部分的选择 5 2.3 密码输入方式的选择 5 2.4 本章小结 6 第3章 硬件系统设计 7 3.1系统芯片介绍 7 3.1.1单片机STC89C52功能介绍 7 3.1.2 LCD1602显示器介绍 8 3.1.3存储芯片AT24C02介绍 9 3.1.4 I2C总线介绍 9 3.2 硬件电路设计 11 3.2.1 复位电路 11 3.2.2 晶振电路 12 3.2.3存储电路 12 3.2.4 键盘输入电路 14 3.2.5 显示电路 14 3.2.6 电源输入电路 15 3.2.7 报警电路 15 3.2.8 开锁电路 16 3.3 本章小结 17 第4章 软件程序设计 18 4.1 主程序流程图 18 4

文档评论(0)

xjj2017 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档