1、毕业设计(论文) I 摘摘 要要 本文综述了锁具寿命自动检测系统的现状,在总结各种模式的锁具寿命自动检 测控制系统利弊的基础上, 提出了一种基于 89C51 的锁具寿命自动检测仪控制系统, 并详细介绍了该系统的原理与构成。重点论述了以 89C51 单片机为核心的软硬件设 计原理,利用步进电机和直流电机来模拟实际锁具的上锁与开锁,并给出了硬件原 理图和软件设计流程。通过实际运行表明,该系统具有成本低、测试速度快、结构 简单、性能稳定等优点,有着良好的市场前景。 关键词关键词:89C51;步进电机;直流电机;锁具寿命 毕业设计(论文) II Abstract This paper reviews
2、the status quo of the automatic detection system of the locks life ,on the basis of summing up the pros and cons of various modes of automatic detection system of the locks life ,an automatic detection system of the locks life based on 89C51 is presented , and describe the principle and pose of the
3、system in details .The paper focuses on the designing principles of the hardware and software which use the 89C51 microcontroller as the core ,and the system use stepper motor and the DC motor to stimulate the lock and unlock of the actual lock ,and presents the schematic of the hardware and the des
4、igning process of the software .The practical application shows that the system has the advantages of low cost ,high speed ,simple structure ,and stability and has good market prospects . Keywords: 89C51; Stepper motor; DC motor;Locks life 毕业设计(论文) III 目录目录 1 绪论 . 1 1.1 锁具寿命测试仪. 1 1.2 选题的背景和意义 1 2 方案论证 . 2 2.1 方案的提出. 2 2.2 方案的可行性分析. 2 2.3 结论. 3 3 系统硬件设计 . 4 3.1 系统的总体设计. 4 3.2 系统的模块化设计. 4 3.2.1 89C51 及其外围电路 . 4 3.2.2 LED 显示电路 8 3.2.3 锁型选择电路及故障报警电路 10 3.2.4 232 串口电路 10 3.2.5 步进、直流电机及其控制电路 12 4