基于 51 单片机超市储物柜系统设计摘要: 课题为基于 51 单片机超市储物柜系统设计。基于 51 单片机超市储物柜系统设计主要包括矩阵键盘输入、显示、数据存储、指示灯、声音提示以及主控制器。在超市储物柜系统设计硬件设计中,选择单片机作为系统的核心控制原件,具体设计内容包含选取的超声波方案、单片机以及传感器的种类及型号,此外还需结合各部件进行显示模块的设计;在系统软件设计中,最核心的内容为系统程序的设计,程序运算结果可由显示模块加以呈现。首先按下存物按键,进入密码设置界面,在 10 秒内设置好存储密码后,调试几号储物柜,并提示牢记密码,按下取物按键,需要先输入箱号,等到用户输入密码,密码正确,开启对应的都储物柜,知道亮起 。存储选择AT24C02。人机交互选择矩阵键盘。显示选择 LCD12864。软件设计通过 C 进行设计,使用 C 开发简单,单片机的专用 Keil 设计工具,完成程序文件的执行,系统软件设计完成后,通过 Proteus 进行系统仿真,成功功能验证。对设计进行优化,完成系统设计要求。关键词: STC89C52;储物柜;LCD12864;AT24C02IAbstract: The subject is the design of supermarket storage cabinet system based on 51 single chip computer. The design of supermarket storage cabinet system based on 51 MCU mainly includes matrix keyboard input, display, data storage, indicator lamp, sound prompt and main controller. In the hardware design of supermarket storage cabinet system, single-chip computer is selected as the core control original. The specific design includes the selected ultrasonic scheme, the types and types of single-chip computer and sensors. In addition, the display module needs to be designed in combination with each component. In the software design of the system, the core content is the design of system program, and the results of program operation can be obtained by the software design of the system. The display module is presented. Firstly, press the store key, enter the password setting interface, after setting the store password i...