基于单片机电子密码锁设计摘 要伴随大家生活水平提升,怎样实现家庭防盗这一问题也变得尤为突出。在科学技术不停进展今日,电子密码防盗锁作为防盗卫士作用显得日趋关键。 本文从经济有用角度出发,系统由 STC89C52 和低功耗 CMOS 型 E²PROM AT24C02 作为主控芯片和数据存放器单元,结合外围键盘输入、LCD 显示、报警、开锁等电路模块。它能完成以下功效:正确输入密码前提下,开锁;错误输入密码情况下,报警;密码能够依据用户需要更改。用 C 语言编写主控芯片控制程序和 EEPROM AT24C02 读写程序相结合,并用 Keil 软件进行编译,设计了一款能够数次更改密码,含有报警功效电子密码控制系统。本密码锁含有设计方法合理,简单易行,成本低,安全有用,保密性强,灵活性高等特点,含有一定推广价值。关键词:电子密码锁;报警;液晶显示Design of Electric Password Lock Based on MCUAbstractAs people's living standards improve, the question how to achieve home security has become particularly prominent. In science and technology is developing continuously, electronic code lock as a security guard's role is increasingly important. This article from the economical point of view, the system by the STC89C52 with low power CMOS based E ² PROM AT24C02 as the master chip and the data memory unit, combined with the external keyboard, LCD display, alarm, unlock and other circuit modules. It performs the following functions: enter the password correctly under the premise of unlocking; wrong password case the alarm; password can be changed according to user needs. Master in C language control program and EEPROM AT24C02 chip to read and write process are combined and compiled with the Keil software, designed a number you can change the password, the password with an electronic alarm control system. The lock has a reasonable design, simple, low cost, safe and practical, confidentiality, flexibility, and high, with some promotional value. Key Words:El...