网站导航免费论文 原创论文 论文搜索 原创论文 网学软件 学术大家 资料中心 会员中心 问题解答 原创论文 大学论文导航 设计下载 最新论文 下载排行 原创论文
返回网学首页
网学联系
最新论文 推荐专题 热门论文 素材专题

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

来源:http://myeducs.cn 联系QQ:点击这里给我发消息 作者: 用户投稿 来源: 网络 发布时间: 15/07/04

鉴于大家对电子数电单片机十分关注,我们编辑小组在此为大家搜集整理了“基于单片机的电子密码锁的设计”一文,供大家参考学习

论文编号:JD920   论文字数:15160,页数:47

 摘  要
 本设计选用单片机芯片AT89C52为主控芯片,作键盘处理和数码管显示,以及控制指示灯和开锁。采用4×4键盘,其中设定10个数字键(0—9)和两个功能键(确认和取消),只有当确认功能键先按下的情况下才能执行相应的功能部分;若没有按下,则单片机继续进行键盘扫描。当输入六个密码并按下确认键后,单片机将输入的密码与设定的密码进行比较,若密码正确,则控制绿色发光二极管亮一秒钟,同时单片机控制驱动电路开锁;若密码不正确,则控制红色发光二极管亮一秒钟,并且驱动开锁电路不动作。.
关键词:单片机;键盘; 密码; 二极管
 
Abstract

    This design chooses to use a single slice the machine chip AT89 C52 to control chip for the lord, making keyboard processing and figuring to take care of a manifestation, and controling an indicator and opening a lock. It adopts 4×4 keyboards, sets 10 piece character key(0-9)s among them with two function keys(ENTER and CANCEL), only having to be under the circumstance that the ENTER function key presses first then can carry out homologous function part; If do not press, the single slice machine then continued to carry on a keyboard to scan. After inputing six passwords and pressing ENTER function key, then the single slice machine carries on the password of password and enactment for inputing to comparison, if the password is right, then controling the green give out light diode for bright second, at the same time ,the single slice machine control drives electric circuit to open a lock;If the password is incorrect, then controling red to give out light diode for bright second, driving to open lock electric circuit not to act. This completes burglarproof function.
Keywords :  SCM ,keyboard ,password ,diode
                          

目   录
摘   要……………………………………………………………………………………I
Abstract…………………………………………………………………………….II
第1章  绪  论................................................1
 1.1发展历史..................................................1
 1.2发展前景..................................................2
 1.3设计的实现.................................................2
第2章  模块电路设计............................................4
 2.1系统框图.................................................4
 2.2控制电路设计..............................................4
 2.2.1单片机AT89C52的总体介绍................................. 5
 2.2.2单片机AT89C52的引脚功能说明...........................6
 2.2.3控制电路...............................................9
 2.3   键盘电路设计..........................................10
 2.3.1键盘输入原理..........................................10
 2.3.2键盘扫描中遇见的问题.................................12
 2.3.3键盘的键值编码…………………………………………………13
 2.3.4键盘面板逻辑图…………………………………………………14
 2.4显示电路设计………………………………………………………………… 15
 2.4.1数码管显示………………………………………………………15
 2.4.2数码管显示原理图……………………………………………17
 2.5电源模块……………………………………………………………………… 19
 2.6密码锁和指示灯设计…………………………………………………………. 19
第3章   总电路设计………………………………………………………………21
第4章   软件设计………………………………………………………………22
 4.1 软件流程…………………………………………………………………22
 4.2  程序的编译和调试………………………………………………………30
     4.2.1 对程序进行编译……………………………………………………30
     4.2.2 对程序进行调试……………………………………………………31
总结……………………………………………………………………………………32
参考文献………………………………………………………………………33
致谢……………………………………………………………………………………34
附录1………………………………………………………………………………35
附录2………………………………………………………………………………43

基于单片机的电子密码锁的设计......
  • 上一篇资讯: 智能音乐闹钟设计
  • 版权所有 QQ:3710167 邮箱:3710167@qq.com 网学网 [Myeducs.cn] 您电脑的分辨率是 像素
    Copyright 2008-2015 myeducs.Cn www.myeducs.Cn All Rights Reserved 湘ICP备09003080号