1、 电子密码锁设计 The design of The design of electronic combinationelectronic combination locklock 摘 要 随着科技和人们的生活水平的提高,如何实现家庭防盗这一问题也变的尤其的 突出,传统机械锁由于构造简单,被撬事件屡见不鲜;电子锁由于其保密性高,使用 灵活性好,安全系数高,受到了广大用户的青睐。 本设计以单片机AT89C51作为密码锁监控装置的检测和控制核心,分为主机控制 和从机执行机构,实现钥匙信息在主机上的初步认证注册、密码信息的加密、钥匙丢 失报废等功能。根据51单片机之间的串行通信原理,这便于对密码信息
2、的随机加密和 保护,而且采用键盘输入的电子密码锁具有较高的优势。 采用数字信号编码和二次调 制方式,不仅可以实现多路信息的控制,提高信号传输的抗干扰性,减少错误动作, 而且功率消耗低;反应速度快、传输效率高、工作稳定可靠等。软件设计采用自上而 下的模块化设计思想,以使系统朝着分布式、小型化方向发展,增强系统的可扩展性 和运行的稳定性。 关键词:单片机;密码锁;单片机设计;电子锁。 AbstractAbstract Along with the exaltation of social science and the living level of people, how carry out t
3、he family to guard against theft, this problem also change particularly outstanding.Because of the simple construct of traditional machine lock,the affairs of theft is hackneyed.the electronics lock is safer because of its confidentiality, using the vivid good, the safe coefficient is high, being su
4、bjected to the large customer close. It can carry out the key information to register in the main on board initial attestation, the password information encrypt etc. Go to correspond by letter the principle according to the string between 51 machines, this is easy to encrypt and protect to the passwords information random. Adopt the numerical signal codes,not only can carry out many controls of the road information, raise the anti- interference that signal deliver, reduce the mistake action,