文档介绍:基于单片机设计的数字密码锁设计
摘要
在现代社会,电子密码锁已不是一个陌生的名词。本文中将要介绍的电子密码锁是一种通过密码输入来控制电路或是芯片工作,从而控制机械开关的闭合,完成开锁、闭锁任务的电子锁装置。电子密码由于其保密性高,使用灵活性好,安全系数高,受到了广大用户的青睐。
本设计以单片机AT89C51作为密码锁监控装置的检测和控制核心,它是一种通过密码输入来控制电路或是芯片工作,运用键盘输入、密码修改、密码检测、液晶显示电路、执行电路、报警电路来完成开锁、密码修改等任务。利用识别密码是否正确来开锁或报警。采用键盘输入的电子密码锁具有较高的优势。采用数字信号编码和二次调制方式,不仅可以实现多路信息的控制,提高信号传输的抗干扰性,减少错误动作,而且功率消耗低;反应速度快、传输效率高、工作稳定可靠等。软件设计采用自上而下的模块化设计思想,以使系统朝着分布式、小型化方向发展,增强系统的可扩展性和运行的稳定性。本文设计的密码锁具有安全性高、成本低、功耗低、易操作等优点,并且利用Keil编程工具进行编程,并在Proteus电路仿真软件中进行了设计仿真。
关键词:AT89C51;单片机设计;密码锁;控制电路;
The bination lock design based on single chip puter
Abstract
In the modern society, the electronic lock is not a strange noun. This paper will introduce an electronic lock, which is through the password input to control circuit or chips work, so as to control the closing or open of the mechanical switch, complete the lock that the task of electronic lock locking device. Electronic lock, due to its high secrecy, good flexibility of use, high safety coefficient, is liked by the majority of customers.
The design on the single puter AT89C51 as bination lock monitoring device of the detection and control the core, it is a kind of through the password input to control circuit or chips work, using the keyboard, and password changing, password detection, the lock circuit, executive circuit, alarm circuit, keyboard input frequency circuit plete the lock, locking closure such tasks. Using password is correct recognition to replace or call the police. Through the keyboard input number to realize the keyboard to lock the record. The keyboard input electronic lock has higher advantage. Adopting digital signal encoding and secondary modulation mode, not only can achieve more road information control and improve the signal transmission of anti-jamming, reduce the wrong action, but also power consumption is low; Reaction speed is high,;and it is high transmission efficiency; it is stable on working,and so on. The software design uses top-down idea of modular design, which