毕业设计(论 文)基于单片机的自动存取柜的设计系 别自动化工程系专 业测控技术与仪器班级学号5060806姓 名雷宏指导老师宋爱娟2025 年 6 月 15 日基于单片机的自动存取柜的设计摘 要 本文介绍了自动存取柜控制系统的设计与实现方法。本课题由 AT89S52 单片机构成核心控制系统,整个系统由主控部分、键盘显示和条码扫描部分、执行部分三部分组成,通过密码的核对完成自动存包取包的过程。 第一部分:CPU 核心控制部分,由单片机 AT89S52、复位电路、时钟电路等构成,是整个系统的核心。 第二部分:键盘显示和条码扫描部分,该部分通过按下存包键以及对条码数据进行扫描来完成存包取包过程,并且通过液晶(LCD)显示各种提示信息。 第三部分:执行部分,该部分通过 AT89S52 的并行口扩展两片 8255A 芯片,并通过 8255A 控制 16 个锁来完成开门关门动作。 软件部分主要是密码产生过程,即把存包时刻作为密码。而密码的产生、核对过程就对应存包、取包的过程。本系统具有如下特色:经济有用、操作简单且便于安装。能产生一组密码,密码使用一次有效。利用软件产生密码而不是硬件,使得硬件更为简洁、可靠、稳定。关键词:自动存取柜,AT89S52 单片机,液晶显示,密码The design based on minicomputer for the roboticized access tank Author:Lei Hong Tutor:SongaijuanAbstractThis article describes the automatic control system access cabinet design and implementation. The issue posed by the AT89S52 microcontroller core control system, the entire system from the master part, the keyboard display and bar code scanner part, the operative part of three parts, the completion of checking by the password automatically saved packet access packet.Part I: CPU core control part, by the MCU AT89S52, reset circuit, clock circuit, etc., and is the core of the system.Part II: the keyboard display and bar code scanner part, the part of the package by pressing the save button and the scanned bar code data packet access package to complete the deposit process, and through the liquid crystal (LCD) display a variety of prompts...