摘要本设计是以STC89C52单片机为核心,以共阴数码管作为电梯楼层显示,以多个发光二极管作为电梯楼层上下指示灯,以非自锁按键作为电梯楼层按键,最终用步进电机模拟电梯运行的系统设计。本次设计实现了电梯运行的基本功能,操作者可以通过楼层按键模拟自己想要去的楼层,可以智能处理不同楼层的请求,更加高效合理的进行电梯模拟运行。本次设计将平时所学的单片机知识与现实生活中的应用工具相结合,通过单片机来实现电梯控制,主要程序则使用C语言进行编程实现,很好的节省了设计硬件电路所用的花费,使这种新型电梯具有良好的市场前景。68867
该论文有图15幅,,参考文献10篇。
毕业论文关键词:单片机STC89C52 电梯 共阴数码管
Elevator Simulation Operating System Based on Single Chip Microcomputer
Abstract
The design is based on STC89C52 MCU. It is based on the common cathode digital tube to achieve the elevator floor display . A plurality of light emitting diodes are used as the up and down indicator light of the elevator floor. The non self locking key is used as the key of the elevator floor. Finally the stepper motor is used to simulate the operation of the elevator. This design realize the basic functions of the elevator operation, the operator can simulate the floor by the floor button. The system can handle the requests from different floors intelligently and carry out the simulation of the elevator operation efficiently and reasonably. The design combines the usual learning of SCM knowledge and real life application tools through the MCU to achieve the elevator control. The main procedure is using the C language programming, it saves the cost of designing the hardware circuit. The new elevator will have a good market prospect.
This thesis has 15 pictures and 10 references.
Key Words: microcontroller STC89C52 elevators common cathode LED
目 录
摘 要 I
Abstract II
图清单 V
1 绪论 1
1.1 论文研究背景 1
1.2 电梯发展趋势 1
2系统总体设计方案及主要芯片介绍 3
2.1 系统总体设计方案 3
2.2 硬件设计方案 3
2.3 主要芯片介绍 4
3 系统硬件设计及主要模块介绍 7
3.1 系统总体电路图 7
3.2 主控芯片模块 7
3.3 按键控制电路 8
3.4 数码管显示电路 8
3.5 楼层指示电路 9
3.6 电梯上下指示电路 9
3.7 停站报警电路 10
3.8 电机驱动电路 10
4 系统软件设计与情况处理 11
4.1 系统流程图 11
4.2 电梯各情况下所对应的处理方法 12
5电路调试 14
5.1 电路的焊接与调试 14
5.2 电路调试实物图 15
6总结 16