摘要
针对传统机械锁的各种缺点以及当前使用的电子密码锁价格昂贵、功能受限的现状,提出以STC15F2K32S2单片机为主控芯片,辅以射频模块、OLED、DS1302时钟芯片等一些电子元器件,利用C语言编程,实现了一电子密码锁系统的设计。此密码锁具有密码正确开锁、错误声光报警、误输超次键盘锁死、密码修改、实时显示时间与温度、温度超限报警提示、使用射频模块恢复初始密码等功能。经调试证明:此系统安全可靠、使用方便、易于扩展其功能,值得推广使用。
In view of the shortcomings of traditional mechanical locks and the current situation of expensive andlimited function electronic code locks,a system design about an electronic code lock is provided with C languageprogramming.STC15F2K32S2MCU acted as the master chip,RF module,OLED,DS1302clock chip and someother electronic components constitute the system.The functions of the code lock include:correct password tounlock,wrong password to alarm with sound and light,overtimes of wrong input to lock the keyboard,passwordmodification,real-time time and temperature to display,temperature limit to alarm,the initial password restoredby RF module and so on.It demonstrated by debugging that the system is safe,reliable,convenient use and easyto expand its functions.It is worth popularizing.
出处
《科技创新导报》
2017年第24期99-104,共6页
Science and Technology Innovation Herald
基金
辽宁省自然科学基金项目"基于局部算法的复杂间歇过程故障诊断研究"(项目编号:201602584)