密码锁开发文档

合集下载

Q系例PLC解密步骤 密码表txt优秀文档

Q系例PLC解密步骤 密码表txt优秀文档

Q系例PLC解密步骤密码表txt优秀文档(可以直接使用,可编辑实用优质文档,欢迎下载)解密步骤解压出来后。

点安装安装时候输入49940安装完以后,电脑关机重开重开电脑后桌面有这个图标打开点Setting 然后这里设置为2000然后这个USB 打钩(注意这里只选择三菱MITSUBISHI这个驱动)其他USB全部不要选择点Device然后点这个按钮,,出现这个后 点RUN , 然后点最小化再点这个按钮点 RUN再点 小化再点 CAPTURE再点下面这个RUN然后就打开PLC编程软件设置通讯为USB然后点读,,到这一步,,出现需要密码,,点确定然后在回到解密软件到最下面那里看数据再点确定先选择MAIN 找到这个位置找到这串数字 就是91 93 95 99 04 07 0080 FF FFFFFFFFFFFF其中91 93 95 99 就是密文对应下面表 翻译成密码 密码就是1359找到这个位置,,很多个FFFFF 的,然后前后有 04 07 00 80 再往前4个就是密码91939599 对照下面的密码表就是1359 注意,有些PLC 这里是不会 出现04 07 00 80 的 而是FFFFFFF 前面就直接是密码了, 如果看不懂就拍图片给我看..密码对照表0=901=912=923=934=945=956-967=978=989-99A=a1 a=c1B=a2 b=c2C=a3 c=c3D=a4 d=c4E=a5 e=c5F =a6 f=c6G=a7 g=c7H=a8 h=c8I =a9 i=c9J =aa j=caK=ab k=cbL -ac l=ccM =ad m=cdN =ae n=ceO =af 0=cfP =b0 p=d0Q =b1 q=d1R = b2 r=d2S =b3 s=d3T =b4 t=d4U =b5 u-d5V =b6 v=d6 W =b7 w=d7 X =b8 x=d8 Y =b9 y=d9 Z -ba z=da JKKL一、题目:基于PLC电子密码锁设计二、内容与要求:1。

2018-2019-voc指纹锁说明书-精选word文档 (11页)

2018-2019-voc指纹锁说明书-精选word文档 (11页)

本文部分内容来自网络整理,本司不为其真实性负责,如有异议或侵权请及时联系,本司将立即删除!== 本文为word格式,下载后可方便编辑和修改! ==voc指纹锁说明书篇一:指纹锁使用说明书指纹锁使用说明书ddl-3200F确认包装内的物品包装箱里包括以下物品1. 锁身(前。

后)2. 手把3. BOXASSY4. BATTDRY1。

5V(磁性电池)5. SCREW*BODY固定用*REARBOXPLATE固定用6.REARBOXPLATE7.施工样本8.使用说明书9.2.5MM六角把手10.遥控器 1个顺序4――――安全注意事项6――――使用注意事项7――――产品特点1SET1BOX8个4个4个1个1本1本1个10―――产品部件和名称13―――产品使用方法14―――产品保证书的管理20―――说明消费者损坏补偿标准22―――产品保证书安全注意事项本产品使用前必须阅读“安全注意事项”后再使用为了防止使用者或者他人的安全及财产损失以下标志说明不遵守标志内容使用错误时的危害及损坏程度警告违反表示内容时有可能发生严重的伤害及死亡的标记违反表示内容时有可能发生受伤或物质损失的标记以下的标记区分是说明必须遵守的内容此标记是绝对不可使用的"禁止"标记有可能导致财产及人员的损失此标记是必须执行的"强制"标记有可能导致财产及人员损失绝对不要拆开,有可能导致财产及人员损失绝对不能用手碰,有可能导致财产及人员损失注意不要把发生强力磁性的大型TV或喇叭靠近本产品.导致产品故障不要安装在不稳定的场所导致降落受伤或故障不要安装在光线直射强烈或高温的场所导致产品变形及故障妥善保管在幼儿无法碰到的地方导致受伤如小孩使用时保护者先说明使用方法或者注意观察是否正确使用导致受伤不要强力冲击或抛扔导致产品故障使用注意事项为防止产品故障及正确使用请注意以下内容1. 紧急锁的管理方法o 为了以防万一携带紧急锁钥匙中的一部分或者妥善保管在室个的安全地方(例如:汽车办公室等.)2. 产品的使用事件o 电池:磁性电池AA1.5V*4个*2(DC6V) o 温度:70%RH以下o 湿度:-10~+50o 其他:防止产品内部进入湿气禁止清洗,并注意对产品不要加强力的冲击3. 产品发生故障时o 不要拆开产品,及时联系购买的销售店或本公司.产品特点世界上最早的语音说明功能2:密码开门及变更功能 *在室外使用数字键可轻松开门。

基于单片机指纹识别的电子密码锁设计之令狐文艳创作

基于单片机指纹识别的电子密码锁设计之令狐文艳创作

毕业设计(论文)令狐文艳论文题目:基于单片机指纹识别的电子密码锁设计系部:自动控制系专业:楼宇智能化工程技术班级:学生姓名:学号:指导教师:2016 年 4 月20 日摘要随着社会的发展和科技的进步,传统的安全防盗系统面临极大的挑战。

生物识别技术的蓬勃发展,让人们对于安防系统的设计有了另一种灵感,指纹锁应运而生。

可供二次开发的指纹模块已经解决了指纹图像的处理问题,如何实现这种技术的实际应用已经成为急需解决的问题,本设计利用单片机对指纹模块的控制实现了这种技术的应用。

设计以指纹传感器对指纹图像的采集为基础,通过单片机控制指纹模块实现对指纹图像的组合处理,系统的各项具体功能皆建立在相应的指纹图像的组合处理基础之上,系统主要实现了指纹模板的录入以及指纹匹配功能。

关键词:指纹识别技术;指纹锁;系统设计;单片机ABSTRACTWith the development of the society and the progress of science and technology, The traditional security system faced with great challenges. With the vigorous development of Biometric Identification Technology, people have another kind of inspiration to design the lock,Fingerprint lock arises at the very historical moment. The fingerprint module for secondary development has solved the problem of image processing, The remaining problem is how to take advantage of the technology in practice. This design has realized the application, which mainly based on the control from MCU to the module of fingerprint. The foundation of this design is fingerprint collection, Through the control from MCU to the module can realize the combination of image processing,based on the combination of image processing can realize the various functions of the system . The mainly functions of the system include the landing and matching of fingerprint template .Keywords: Fingerprint identification technology;Fingerprint lock;System design;singlechip目录第1章引言11.1 课题研究意义11.2 指纹识别简介21.2.1指纹识别原理21.2.2 指纹识别应用31.3 国内外指纹锁发展的历史和现状31.4 本论文的研究内容及结构4第2章整体设计方案52.1 系统功能设计52.2 系统总体框架5第3章系统硬件的选择及电路设计73.1单片机的选择73.2 ATmega16单片机外围电路设计93.3 指纹模块 ZFM-206电路103.4 ADC键盘电路113.6 DS1302电路133.7 电子锁及相关电路14第4章系统软件设计164.1 整体程序流程图164.2 指纹识别程序设计184.3 ADC键盘程序设计214.4 DS1302程序设计224.5液晶RX12864ZW程序设计23第5章实物制作与调试255.1电路的焊接255.2电路和程序的调试25结论26致谢27 附录30第1章引言1.1 课题研究意义随着社会的发展和技术的进步,传统的安全防盗系统面临极大的挑战。

智能门锁管理系统V使用手册

智能门锁管理系统V使用手册

智能门锁管理系统使用手册智能门锁管理系统是为酒店电子智能门锁配套推出的一款专业管理软件,它集前台制散客开房卡,团体开房卡,酒店门锁功能卡,门锁数据通讯及数据查询等功能于一身,充分结合酒店门锁管理的实际情况,系统界面简洁优美,操作直观简单,无需专门培训即可正常使用。

特点:1)界面美观华丽,流程直观规范,无需对操作人员进行专门的培训就能正常操作。

2)功能不断完善,软件的成熟度,稳定性非常之高。

3)功能强大,卡类不但支持射频卡,还支持IC卡,能够实现门锁数据通讯,及时提取开门记录。

能够根据实际的酒店管理情况实现散客开房制卡,团体开放制卡及各种功能卡、管理卡的发放,管理及查询。

4)安装简便,对软件维护要求非常的低一. 快速入门、名词解释房间项目:房间项目也可以理解为房间的种类(例如可分为标准房间、商务房间等)。

具体到某个房间类型都有其相对应的房间,而每个房间就具体到某一来店登记的宾客,一般把房间提供给一个客人后,在当前客人未退出占用状态前暂时无法提供给另一个客人开房制新卡,但可以制兼容卡。

同时,房间项目设置也能够设置套房的子房间。

清洁区域设置:清洁区域设置主要是提供制作清洁卡的区域划分。

主要包括:(1)创建一个新的区域;(2):为所创建的区域选择房间。

如果在此设置好了清洁区域,那么在制作清洁卡的时候就能够看到您所添加的清洁区域名称了。

扩展区域设置:扩展区域设置主要是提供制作扩展卡的区域划分。

主要包括:(1)创建一个新的区域;(2):为所创建的区域选择房间。

如果在此设置好了清洁区域,那么在制作扩展卡的时候就能够看到,您所添加的扩展区域名称了。

串口选择:制卡所选择的默认串口,可根据实际情况修改串口的选择。

客户信息设置:客户信息是指使用该软件的授权人,也可设置为酒店的名称。

操作员设置:操作员是指使用本系统的人员,管理员可为其分配相应的操作权限。

本系统分为三级权限:超级用户、一般用户及限制用户。

系统已经设定了一个超级用户:ADMIN 初始密码为空,该用户有系统的最高权限,包括:(1)可以添加其他级别的用户及设定密码;(2)能够使用系统的所有功能。

门禁一体锁使用说明书

门禁一体锁使用说明书

门禁一体锁使用说明书刷卡电机锁把刷卡开锁、遥控开锁、防盗报警等功能综合设计为一体;采用红外遥控键盘编程,操作简便;锁体用坚硬的不锈钢做外壳,抗强破坏、防撬。

此款锁功能齐全、设计精巧、安装简单快捷、容易维护,而且价格合理。

此锁可容纳超大量用户,分为以下几类。

1000个5000个10000个一、进入编程(出厂编程密码为123456)* 编程密码#(一)用“红外遥控键盘”靠近锁体,连续输入* 编程密码# 。

(二)蜂鸣器长鸣一声,锁体指示灯一直闪烁,表示进入编程状态,即可进入其它操作。

(三)按*或等待15秒退出编程。

二、修改编程密码11 新编程密码(6位数字键)#(一)进入编程后,连续输入11 新编程密码(6位数字键)#,后蜂鸣器长鸣一声,表示修改成功。

(二)编程密码只能用0-9键设置,共6位。

全为000000时取消编程密码,下次进入编程输入* #。

二(二)键盘设置报警(一)进入编程后,输入120 #,打开蜂鸣声以及报警;进入编程后,输入121 #,关闭蜂鸣声及报警。

(二)进入编程状态后,输入130 #,关闭机械开锁以及刷无效卡报警;(三)进入编程状态后,输入131 #,打开机械开锁报警,无线遥控器A或B或刷有效卡取消当次报警,如果连续按无线遥控器B键两次,则等同于(二)的操作(四)进入编程状态后,输入132#,打开刷无效卡报警,无线遥控器A或B或刷有效卡取消当次报警,如果连续按无线遥控器B键两次,则等同于(二)的操作三、注册ID卡(ID卡应未在该锁体注册过的)(一)注册超级管理卡1、注册超级增加卡21 刷ID卡#a、进入编程后,在“红外遥控键盘”上输入21;b、然后刷(感应)ID卡;c、蜂鸣器嘀一声后,按下“#”键,蜂鸣器长鸣一声表示注册成功。

2、注册超级删除卡22 刷ID卡#a、进入编程后,在“红外遥控键盘”上输入22;b、然后刷(感应)ID卡;c、蜂鸣器嘀一声后,按下“#”键,蜂鸣器长鸣一声表示注册成功。

萤石 智能锁 执手系列-DL20系列 CS-DL20VS-BrBBE-W 使用说明书

萤石 智能锁 执手系列-DL20系列 CS-DL20VS-BrBBE-W 使用说明书

目录2 37 8 13 14 16使用须知产品简介6首次使用设置锁使用锁添加到“萤石云视频”23附录维护与保养售后服务支持使用须知. . . . . . . 萤石智能门锁(以下简称为“锁”)作为高科技产品,安装的好坏直接影响到门锁的正常操作及使用寿命,建议您请有智能锁安装经验的师傅进行安装,并根据产品附件中门板开孔图样板进行开孔,凿支承窝,确认所开凿的孔准确无误,然后严格按照本手册中的步骤进行操作,如果安装后发现锁有任何异常,请及时和当地的经销商或本公司的售后服务部门联系,以便快速解决问题。

如果您的房间正在装修,我们建议您将产品卸下,待装修完成后再把产品重新装上,这样做的目的是:①.避免装修过程中腐蚀性物质或腐蚀性气体腐蚀锁体,影响外观及降低产品使用寿命;②.避免门的油漆未干会影响锁的灵活传动。

门锁在恢复出厂设置后会清空所有用户信息,在门锁安装调试完成后,请您尽快将锁恢复出厂设置并重新添加密码、感应卡、指纹等开锁信息。

门锁使用一段时间后,电池电量偏低时,门锁会发出低电压警报,每次开门会语音提示电量不足,此时请及时给电池充电。

若您要出远门或长期不使用锁,请将机械钥匙随身携带。

鉴于锁产品本身置于开放环境等特点,我们建议您谨慎注意使用安全,包括妥善保管机械钥匙及感应卡等细小部件、开锁前核查周围环境、定期更新密码及感应卡设置、及时擦除残留指纹等,避免您的开锁信息被非法盗取、复制,造成安全隐患。

支持人脸或指纹识别开锁的电子锁,将涉及您的人脸、指纹信息的处理。

萤石仅为向您提供开锁功能之必要,仅针对您以事先录入方式做出授权的人脸或指纹进行分析比对,您所录入的原始信息及其处理过程均在您自行控制管理的设备本地进行,不会在云端存储。

萤石承诺,严格遵守所有适用法规,妥善保护您的个人信息安全。

您可通过萤石网站或“萤石云视频”客户端查阅《萤石智能门锁类产品服务使用规则》,进一步了解我们的承诺与实践措施。

产品简介外观图室外室内数字按键区域感应卡区域应急电源接口钥匙区域镜头PIR透镜门铃按键指纹传感器外把手*PIR透镜请勿按压PIR透镜,以免损坏或影响PIR透镜寿命。

门锁技术交底

门锁技术交底介绍本文档旨在对门锁技术进行交底,使相关人员对门锁技术有更深入的了解和掌握。

门锁分类根据不同的工作原理和使用场景,门锁可以分为以下几类:1. 机械锁:传统的机械门锁,采用物理锁芯和钥匙,适用于一般家庭和办公场所。

2. 电子锁:采用电子芯片和密码或指纹识别等技术,实现开锁与锁定的自动化,提高了门锁的安全性和便利性。

3. 智能门锁:基于互联网和智能手机等技术的门锁,可以通过手机远程控制、密码、指纹、人脸识别等多种方式开锁。

4. 生物识别门锁:采用指纹、人脸识别等生物特征识别技术,提供更高级别的安全保障。

门锁技术要点在选择和使用门锁时,需要注意以下要点:1. 安全性:门锁的首要任务是保证房屋和财产的安全。

选择具有高安全性能的门锁,如电子锁和智能门锁。

2. 方便性:门锁的开锁方式应该方便快捷,例如密码、指纹等无需携带钥匙的方式。

3. 耐久性:门锁需要具备耐久性,能够经受长期使用和恶劣天气条件的考验。

4. 防护性:门锁应该具备防护功能,如反撬、防护罩等,提高门锁的安全性能。

门锁维护为了保证门锁的正常使用和延长其寿命,需要进行定期的维护和保养,包括:1. 清洁:定期清洁门锁表面和内部的灰尘和杂质,可以使用软刷和清洁剂进行清洁。

2. 润滑:使用专用的门锁润滑剂或润滑油对门锁芯和机械部件进行润滑,保持门锁的灵活性和顺畅性。

3. 检查:定期检查门锁的各个部件是否正常工作,如有发现问题及时进行修复或更换。

总结门锁技术是保障家居安全的重要组成部分,了解门锁的分类、技术要点和维护方法对于选择和使用合适的门锁具有重要意义。

希望本文档能够帮助相关人员更好地理解和掌握门锁技术。

以上是对门锁技术的交底内容。

如有任何疑问或需要进一步了解,请随时与我联系。

谢谢!Title: 门锁技术交底IntroductionThis document aims to provide a briefing on door lock technology, enabling relevant individuals to have a deeper understanding and mastery of door lock technology.Door Lock ClassificationBased on different working principles and usage scenarios, door locks can be classified into the following categories:1. Mechanical Lock: Traditional mechanical door locks that use physical lock cores and keys, suitable for general homes and office places.2. Electronic Lock: Uses electronic chips and technologies such as password or fingerprint recognition to automate locking and unlocking, improving the security and convenience of door locks.3. Smart Lock: Door locks based on internet and smart phone technologies, allowing remote control through mobile phones, and offering multiple options for unlocking such as passwords, fingerprints, and facial recognition.4. Biometric Door Lock: Uses biometric features recognition technologies, such as fingerprint and facial recognition, providing a higher level of security.Key Points of Door Lock TechnologyWhen choosing and using door locks, the following key points should be taken into account:1. Security: The primary task of a door lock is to ensure the security of the house and property. Choose door locks with high security performance, such as electronic locks and smart locks.2. Convenience: The unlocking method of the door lock should be convenient and quick, such as passwords, fingerprints, etc., without the need for keys.3. Durability: Door locks need to have durability to withstand long-term use and harsh weather conditions.4. Protective Features: Door locks should have protective features, such as anti-prying and protective covers, to enhance the security performance of the door lock.Door Lock MaintenanceTo ensure the normal use and extend the lifespan of door locks, regular maintenance and upkeep are necessary, including:1. Cleaning: Regularly clean the surface and interior of the door lock from dust and debris, using a soft brush and cleaning agents.3. Inspection: Regularly check whether all parts of the door lock are functioning properly, and promptly repair or replace any issues found.ConclusionThe above is the content of the briefing on door lock technology. If you have any questions or need further information, please feel free to contact me. Thank you!。

实用文档之智能门锁管理软件使用说明

8.5数据库维护 (6)一、概述门锁的基本设置:门锁安装完毕,在投入使用前必须使用安装卡对门锁进行系统设置。

设置过程如下:在【维护】菜单中,找到【门锁房号设置】,制作一张安装卡。

用安装卡去门锁上设置门锁编号。

亮蓝灯,响两声,表示安装成功。

注意:安装卡不可对已有系统信息的门锁进行设置,若要重新设置门锁,先用清除卡清除门锁内信息。

蓝灯亮,响一声,说明门锁中有信息,如果要重新设置,请先靠清除卡。

安装卡内自带时钟,如果制卡和设置时间相差五分钟以上,请在设置好门锁信息后,用时钟卡校对时间。

卡片的使用和管理:1、开门功能卡:●总控开门卡:可以开启所有门锁,即使反锁也可以开启。

一般由酒店总经理、客房部经理等管理人员持有,总卡有挂失功能,如果发生丢失,应采用挂失功能补发总卡,并用它将所有的门锁开一遍,这样原来的总卡开门功能将失效,如需恢复已被挂失的总卡的开门功能只需在系统重新做一次总卡即可。

●楼栋开门卡:开某一栋楼的所有门,不可以开反锁。

如:***大酒店\***栋。

一般由客房管理人员持有。

●楼层开门卡:开某一区域某一栋某一楼层所有门。

如:***大酒店\***栋\***楼。

●应急开门卡:可以开所有门,包括反锁。

使用之后,门锁状态始终为开,用有效的开门卡开一次门,可以终止这个状态。

此卡一般不用,只在特殊情况时才用此卡。

●片区开门卡:可以开启指定片区房门的门锁,此卡开门不影响其它类型的开门卡的正常功能。

●密码开门卡:用来开启对应已设定密码的门锁。

●通道开门卡:开指定房门,具有交替开门功能(碰一次开,再碰一次关),一般用于会议室或其它特殊场合。

2、设置功能卡●时钟卡:用来校正和设置每个客房门锁内部的时钟。

该卡当时有效。

●清除卡:清除门锁信息,使门锁恢复到初始状态。

该卡当天有效。

●片区设置卡:为指定区域内的门锁设定片区号,设定片区号的门锁,如要片区开门卡开门有效,需要发行对应片区号的片区开门卡。

●复位卡:复位门锁内的特征信息,如果在电脑的时钟混乱情况下发行开门卡后可能导致开门失败,此情况下可用此复位卡及时钟卡的配合进行复位即可恢复正常开门功能。

电子密码锁中英文对照外文翻译文献

电子密码锁中英文对照外文翻译文献(文档含英文原文和中文翻译)2THE DESIGN OF MATRIX KEYBOARD AND LCD DISPLAY BASED ON MCUAbstractThe development of microelectronics technology and industrial measure requirement bring a good opportunity for development and research system,which makes it a broad prospects. The equipment has the advantages of small size, single power supply and a variety of output voltage leads it has a special module. Through the analysis of the hardware structure, we can summarizes each module needs.For example,we often go through the keys to realize the control of the electronic device. Small to watch mobile phone, to the TV computer, to a variety of complex instruments, all need to realize various operations through the buttons. This design is an important part of step for the further research,using buttons to control the display,include some modules like LCD 1602 liquid crystal display,4*4 matrix keyboard,STC89C52single-chip microcomputer and other bine with the Proteus software,the simulation results are displayed on the LCD in 1602 type of data.KEY WORDS: Single-chip; LCD 1602 liquid crystal display; 4*4 Matrix keyboard31 IntroductionWith the development of economy and the progress of science and technology, Microprocessors and peripheral chips have developed rapidly. The newest development of the integrated technology is the CPU chip and external. Like the program memory, data memory, parallel, serial, I/O timing / counter, interrupt controller and other control components are integrated in a chip—single chip. SCM has a manufacturing process CMOS, The smaller lithography process improves integration which make the chip space smaller, lower cost, lower working voltage, lower power consumption. Adopts double CPU structure, increasing the width of data bus, improve the speed and the ability of data processing, a pipeline structure, improve the processing and computing speed, in order to meet the needs of real-time control and processing. To increase the storage capacity, the internal EPROM EPPROM, secure program, to improve the driving capability of parallel port, in order to reduce the peripheral driving chip, increase the logic function and control the external I/O port flexibility. Peripheral in serial mode based expansion; peripheral circuit internal installation is an obvious trend to connect the internet. Reliability and application level is getting higher and higher. Some high-end microcontroller and launched in recent years also contains many special function unit, Such as A/D4converter, modem, communication controller, PLL, DMA, floating point unit etc.So,as we add some external expansion of the circuit and channel interface it can constitute a variety of computer applications, such as industrial control systems, data acquisition system, automatic test system, intelligent instrument, intelligent interface, function module etc. With MCU development and complete structure,SCM has become a powerful tool and will have a higher level and broader development.2 Design of the whole structure of systemThis design is based on single-chip, include matrix keyboard and LCD display module. Single-chip is the first model to select the appropriate target, function, reliability, cost, accuracy and speed control system. According to the actual situation of the topic selection, configuration management model different mainly from the following two aspects: First, supply chain management has strong anti-interference ability; second, SCM has a higher price. For information input module, keyboard selection can use economic benefits and meet the requirements of the 4*4 key matrix keyboard can realize multi function key requirements. As for the output module, using LCD 1602 liquid crystal display module, liquid crystal to achieve key information processing functions after the show. The circuit of the system is required by AT89C51 chip, clock circuit, reset circuit, driving circuit, scanning line5driving circuit and LCD1602 LCD screen. 4*4 matrix keyboard accessof P1.0 —P1.7,LCD 1602 screen to access P0.0—P0.7.3 System hardware circuit design3.1 Liquid crystal moduleThe principle of liquid crystal display is the use of physical properties of liquid crystal, The display control area voltage, power is displayed, it can display graphics. Liquid crystal display with thin thickness, suitable for large scale integrated circuit directly driven, easy to realize full color display characteristics, has been widely used in many fields of portable computer, digital camera, PDA mobile communication tools etc.1602 liquid crystal is also called the 1602 character LCD, which is a special used to display letters, numbers, symbols of the LCD module. It is composed of a plurality of 5X7 or 5X11 dot matrix character components, each dot matrix character who can display a character, there is a distance between the interval of each, there are intervals between each line, played the character spacing and row spacing, and because of this it is not well display graphics (with custom CGRAM, show the effect is not good). 1602 LCD refers to the display of the content for the 16X2, which can display two lines, 16 characters per line (LCD moduledisplay characters and numbers).63.2 Matrix keyboard module1. Key characteristicsThe keyboard is composed of a number of separate keys, press and release key is through the closed mechanical contact and off to achieve, because of the elastic action of mechanical contact, in the closing and the opening of the moment has a dither. Jitter must be eliminated, include software and hardware elimination.2.Scanning principleFirst determine whether a key is closed, and then one by one scan to further determine which button closure;(1) D0 ~ D3 output 0, level detection line D4 to D7. If the D4 - level D7 all high, said no key was pressed. If the D4 - level D7 is not all high, said the key was pressed.(2) If no key closure, return the scanning. If there is a button closure, in column by column scanning, closed key key number to find out. The D0=0, D1 ~ D3=1, D4 ~ D7 level, if D4=0, said the K1 key is pressed; similarly, if the D5 ~ D7=0, K5 respectively, K9, K13 key is down; if the D4 ~ D7=1, said that without a key is pressed. Then the D1=0, D0, D2, D3 was 1, the scanning of the second columns, which were carried on, until the closure of the key found.4 Software design7The software design mainly consists of keyboard scanning procedures, write instruction code program of LCD module, LCD module display data initialization code written subroutine, liquid crystal display module, liquid crystal display a character subroutine, time delay subroutine and so on. Programming for each module, software programming ended, Keil software was used for debugging, when the various parts of the program debugging is correct, according to the source sequence of calls, the parts together, compile, compile successfully downloaded to the mcu. The result is when the user presses a key, LCD display of the button is pressed after the realization of functional parameters corresponding to the. When the system power supply, P1 port scan cycle and the key button debounce, after completion of input through the SCM processing, output in the P0 port, through the liquid crystal display program content, complete system function.5 ConclusionWith the continuous development of high and new technology, the miniaturization and the miniaturization of electronic products has been achieved. And all kinds of new technology, as a single field of the new method, the development trend of new products and symbol -- intelligent significantly is one of the trends in development. The module design display microcontroller matrix keyboard and LCD, make us understand8to this technology innovation, through in-depth study on this technology, we can master the use in other areas, such as the design of electronic password lock, adjustment and control of indoor temperature and humidity, field access control system design etc.. Technological progress and economic development are the main themes of the present era, the improvement of people's living standard is bound to the requirements of electronic products increase, the design of any a small system is for a foundation, design of system innovation, the hardware, software integration, method and technology of virtual display and soft measurement artificial intelligence, I firmly believe that our life will be more colourful.9基于单片机的矩阵键盘与液晶显示的设计摘要微电子技术的发展和工业测量的需求,给系统的开发及深入研究带来了良好的契机,发展前景广阔。

CHD2100-J5K 电子密码机柜锁产品规格书

四、使用环境
集成电路读写机具规范 安全防范报警设备 安全要求和实验方法 通信局(站)门禁集中监控系统技术要求
表 1 :环境条件
项目 场所 工作环境 存储环境 大气压力 冷却方式 防护等级 运输条件
标准


室内
-10~50℃、20~90%(无结露·结冰)
-20~60℃、20~90%(无结露·结冰)
大气压力:70~106Kpa
产品开发文档
八、产品提供的资料
提供详细的使用说明书(包括产品功能介绍、安装调测步骤、包装清单、注意事项、故 障维护等内容),与上位通讯协议。
资料名称
用户手册(产品说明书) 通讯协议
说明
使用者在阅读用户手册后,能够了解产品的技术 规格、功能、安装说明等。
见《CHD806D2CP门禁通讯协议》
九、产品接线定义
4.安规要求 符合GB4943。
5. 产品可靠性MTBF要求 无故障工作时间>10万小时。
七、整机外观及相关尺寸
产品开发文档
锁体尺寸:公差±5%
锁体侧面
锁体及装饰面板
7
深圳市纽贝尔电子有限公司产品规格书 第 8 页 共 9 页 锁体正面
产品开发文档
8
深圳市纽贝尔电子有限公司产品规格书 第 9 页 共 9 页
深圳市纽贝尔电子有限公司产品规格书 第 1 页 共 9 页
产品开发文档
纽贝尔电子有限公司
共 9页
文档编号
NBL-WI-YJ-357
版本
A0
产品规格书
(专利产品 仿冒必究)
产品名称: CHD2100-J5K 电子密码机柜锁
拟 制: 卢海星
日期: 2013-11-10
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

密码锁 一、实验要求 密码锁用24c04与LCD 16B20设计,实现开锁,修改密码,开锁成功声音提示。 1, 按键0—9位输入密码范围,密码为六位; 2, 按键A为开锁,开锁成功显示”Unlock OK!”;LED灯亮;喇叭播放两只老虎音乐; 开锁不成功会显示“ERROR”,密码错误; 3, 按键B为上锁功能; 4, 按键C、D修改密码功能,C修改密码,D为保存新密码; 5, 按键E为重新输入,当输入错误时便于修改; 6, 按键F为删除输入一位密码;(扩展功能) 7, 播放两只老虎音乐音符储存在II24C04中;

二、硬件设计

硬件已给出如下图: 三、软件设计 本程序难点是怎么将音符写入24C04中并读取出来;本人将音符写入IIC的声明函数中,并将读取函数也写在24C04.c 中便于直接读取数组。 //--------------------------------------------------------- //IIC总线初始化 //--------------------------------------------------------- void IIC_24C04_Init() { uchar i,j; // SCL=0;Stop(); for (i=10,j=0;i<24;i++,j++) //向24C04写入音符表 { Write_IIC(i,Song_24c04[j]); } } //-------------------------------------------------------- //音乐播放程序 //---------------------------------------------------------- void yinyue() { uchar i,j; for (i=10,j=0;j<14;i++,j++) //从24C04读取音符 { sidx = Random_Read(i); //从指定地址读取字节 TR0 = 1; //播放 DeslayMS(300); //延时 } TR0 = 0; } //-------------------------------------------------------- //中断发声换函数 //-------------------------------------------------------- void T0_INT() interrupt 1 { BEEP=!BEEP; TH0=HI_LIST[sidx]; TL0=LO_LIST[sidx]; } 三、调试过程 1,开始仿真,输入密码,初始密码是“123456”,输入“ 123456”时;会看到“*”,遮盖真实密码;按开锁键,密码输入成功时会听到“两只老虎”的音乐,LCD会看到 “Unlock OK!”,LED 灯会亮着;输入错误时LCD显示“ERROR”; 2,输入新密码:同样会建新密码用星号遮盖按保存密码,即可将新密码保存;(只有在关闭仿真,再次仿真即可保存新密码管用) 3,清除键,当输入密码时,按下全部清除键,即可清除全部输出,按下清除一位,即可清除一位密码; 4,每次按下键值会听到低的一声;

附件 程序

//―――――――――――――――――― //MAIN.c文件,主函数 //―――――――――――――――――― //-------------------------------------------------------------------------- //名称:用1602LCD与24C04设计的电子密码锁 //-------------------------------------------------------------------------- //说明:初始密码由24C04.bin设定为123456. // 当输入0-9中的数字时可以输入密码,不超过6位,输入完成后按下A键开锁, // 密码正确时LED点亮,液晶屏显示开锁成功。 // 其他按键功能是:B---上锁 C---重新输入密码 D---保存密码 E---清除 // 重设密码时要求先输入正确的密码成功开锁 //-------------------------------------------------------------------------- #include #include #define uchar unsigned char #define uint unsigned int

uchar KeyNo=16; uchar code Title_Text[]="Your Password..."; uchar DSY_BUFFER[10]=""; //显示缓冲 uchar UserPassword[10]=""; //用户输入的密码

void Initialize_LCD(); void Set_Disp_Pos(uchar pos); void Write_LCD_Data(uchar dat); void Display_String(uchar *str,uchar LineNO); //在液晶指定行显示字符串 void IIC_24C04_Init(); //IIC初始化 void Beep(); void yinyue(); void Write_LCD_Command(uchar cmd); uchar RecString(uchar Slave,uchar Subsddr,uchar *Buffer,uchar N);//从IIC读取数据 uchar SendString(uchar Slave,uchar Subsddr,uchar *Buffer,uchar N);//向IIC写入数据 uchar Keys_Scan(); //键盘扫描

sbit LED_OPEN=P2^7; //开锁亮灯 sbit BEEP=P3^7; //蜂鸣器

//------------------------------------- //延时 //------------------------------------- void DelayXus(uint x) { uchar i; while(x--) for(i=0;i<120;i++); } //------------------------------------- //蜂鸣器子程序 //------------------------------------- void Beep() { uchar i; for (i=0;i<100;i++) { DelayXus(1); BEEP=~BEEP; } BEEP=0; } //------------------------------------- //清除密码 //------------------------------------- void Clear_Password() { UserPassword[0] = '\0'; DSY_BUFFER[0]='\0'; } void Display_String(uchar *str,uchar LineNO) { uchar i; Write_LCD_Command(LineNO|0x80); for(i=0;i<=strlen(str);i++) { Write_LCD_Data(str[i]); } }

//----------------------------------------------------------------- // 主程序 //----------------------------------------------------------------- void main() { uchar i = 0; uchar IIC_Password[10]; uchar IS_Valid_User = 0; P0 = 0xFF; P1 = 0xFF; P2 = 0xFF;

IE=0x82; //允许T0中断 TMOD=0x00; // TMOD = 0x02; //T0设置为8位自动重装模式 // TH0 = 175; // TL0 = 175; // TR0 = 1; //启动T0

DelayXus(10); Initialize_LCD(); //初始化LCD

IIC_24C04_Init(); //初始化24C04

Display_String(Title_Text,0x00); //在第1行显示标题 //24C04的内容已由初始化BIN文件导入 //将24C04中预先写入的密码读入pass RecString(0xa0, 0 , IIC_Password, 6); IIC_Password[6] = '\0';

while(1) { P1 = 0xF0; if(P1 != 0xF0) KeyNo = Keys_Scan(); //扫描键盘获取键序号KeyNo

相关文档
最新文档