摘要:不管是在生活中还是工作上,安全防范问题很重要。不单单是为了人身安全,还有保护一些贵重物品及私人物品的需要。锁的发明很好的帮助人们消除了这个烦恼。将门上锁或是抽屉,柜子上锁,就不会让他人轻易的进入。传统的机械锁需要钥匙才能打开,人们需要随身携带钥匙,造成了一些不方便的问题,没带钥匙又或者不小心丢失钥匙的情况下,就打不开锁,由此引发的安全性问题也令人担忧。电子密码锁的出现很好的解决了这个问题,它不需要钥匙,而是采用输入密码的方式解锁,使用起来方便、简单,大部分人一学就会,又有防盗报警功能,安全性很高。
本次设计的密码锁,主控芯片与数据存储器单元采用的是美国Atmel公司的AT89C51单片机,显示方面使用的是功能强大的LCD1602液晶显示,结合外围的4*4矩阵键盘输入,进行解锁、上锁、修改密码等操作,另外还具有智能报警功能。主控芯片控制程序以及EEPROM AT24C02读写程序是利用C语言编写的,用Keil软件进行编译,最后使用Proteus进行仿真来实现其功能。57452
毕业论文关键词:密码锁;单片机;LCD显示;报警;Proteus
Four combination lock based on Proteus
Abstract: Whether in life or work, security problem is very important.Not just for the sake of personal safety and protect some valuables and belongings. The invention of the lock is very good to help people to eliminate the trouble. Locked door or drawer, cabinet lock, will not let people easily into. The traditional mechanical lock need keys to open, people need to carry keys, some inconvenient problem, don't have my keys or accidentally lost key, dozen don't open the lock, the resulting security problems also worrying. The emergence of electronic combination lock good solve the problem, it doesn't need the key, but by means of a password to unlock, easy to use, simple, the majority of people is quick to learn, and anti-theft alarm function, high security.
The design of the trick lock, the main control chip and the data storage unit used is the Atmel company of AT89C51 and display aspects using the powerful LCD1602 LCD display, combined with peripheral 4 * 4 matrix keyboard input, to unlock, locked, change passwords, such as operation, also has intelligent alarm function. Main control chip control program block and EEPROM read and write AT24C02 procedures are written using C language compiled with Keil software, finally use Proteus simulation to realize its function.
Keywords:Password lock; MCU; LCD Display; Alarmk;Proteus
目录
摘要 i
Abstract i
目录 3
1 绪论 5
1.1 电子密码锁简介 5
1.2 电子密码锁的发展趋势 6
1.3 本设计所要实现的目标 7
1.4 设计方案简介 7
2 主要元器件 9
2.1 主控芯片AT89C51 9
2.1.1 主控芯片AT89C51主要功能 9
2.1.2 主要特性 9
2.1.3 管脚说明 10
2.2 AT89C51单片机四位密码锁的设计+程序+电路图:http://www.youerw.com/zidonghua/lunwen_62111.html