多功能密码锁课程设计.doc

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

学 号: HEBEI UNITED UNIVERSITY 微机原理课程设计说明书 设计题目: 学生姓名: 专业班级: 学 院: 指导教师: 2012年11月25日 成绩评定表 指导教师评语: 答 辩 成 绩: (占总成绩70%) 说明书 成 绩: (占总成绩30%) 摘 要 密码锁在输入密码正确的条件下输出开锁电平,控制电控锁开启,同显示00字样。当输入密码错误时,发出错误警告声音,同时显示FF字样。当六次误码输入的条件下,产生报警电平报警。还可以实现对密码的修改,修改成功后,蜂鸣器发出确认音。密码锁的基本功能是可输入密码、修改码以及判断密码是否正确,故需要输入设备及其与CPU的接口电路及相关存储设备;判断密码则涉及逻辑分析,即要实现逻辑功能;另外相关的报警提示功能则需要相关的输出设备及其接口电路。 我采用8255A的B口作为显示器的输出,c口为选管和接蜂鸣器,开锁及报警电平。对于6次密码错误输入,可以直接用软件控制,线路简单,程序也很易实现。用蜂鸣器发声次数来区分确认和警告声音,一声表示确认,三声表示警告。键盘上的按键用SW-PB共12个,0-9为数字键,连接到8255A的A口对应二进制数,还有确认键和密码修改键,按下表示A口接收到低电平信号。 关键词;密码锁, 蜂鸣器, 微机原理,接口技术, Abstract Cipher lock when the input password is correct conditions the output level control electric lock lock, open, the samedisplay the words 00. When the input password mistake, sending the error warning sound, at the same time display FF. When the six error input conditions, generating alarm level alarm. Also can be achieved on the password modification, modification is successful, the buzzer sends confirmation tone. The cipher lock is the basic function of input password, modify the code and password to determine whether the correct, so it needs to input device and an interface circuit of CPU and related storage device; Determine whether the password to logical analysis, namely, to realize the logic function; the related alarm function needs to output equipment and its interface circuit. I use the 8255A B as the display output, C for selected tube and a buzzer, lock and alarm level. For the 6 time password input errors, starting with a 8253 counter, and then found can be directly controlled by the software, simple circuit, the program is very easy to realize. With buzzer sound frequency to distinguish and confirm the warning sound, a sound that confirm, three sound warning. The keys on the keyboard to use SW-PB in all 12, for the number keys 0-9, connect to the 8255A A port corresponding binary number, and a confirmation key

文档评论(0)

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

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

1亿VIP精品文档

相关文档