(毕业设计 页数:12 字数:5860)
摘要:自动控制升降旗系统主要由单片机(AT89S52)、步进电机驱动模块、ISD2560语音模块、显示电路、遥控电路、键盘等基本部分组成。采用单片机控制步进电机,从而使国旗自动升降。采用单片机内部定时器产生脉冲,控制国旗升降速度和时间。由ISD2560语音芯片组成的语音电路完成奏国歌的功能,且国旗上升过程中能准确的与国歌乐曲同步。显示电路用来显示升降时间和国旗所在的高度。可手动、可遥控的控制升降旗。既可以通过键盘控制旗帜的匀速升降,也可以通过遥控器来实现远距离控制。可以按照用户的要求上升或下降到指定的位置,并可以在任何位置停止。用外部存储器AT24C02对数据进行存储,起断电保护功能。经测试,该系统无论在功能上、性能上都完全达到了题目的要求(包括发挥部分的设计要求),误差较小,操作方便,经济实用,美观大方。 关键字:单片机 时钟芯片 语音芯片 遥控 断电保护
The system of automatic control the flag rising and lowering Abstract: The system of automatic control rises and lowers the flag is made up of MCU (AT89S52),stepper motor, ISD2560 voice chip and display circuits, remote control circuit, keyboards. With the stepper which is controlled by MCU, to drive the flag rising and lowering. The pulse of inside timer0 of MCU creation standard, control the flag ascend and descend speed and time. With the voice chip to complete the function of play the national anthem, and play the national anthem at the same time with rising the flag. With the show chip to reveal the time and the height which the flag is arrive. It can be manually operated or remote-controlled. That is, through the buttons to control movements can be achieved, and through the remote control device can also achieved. It can stop in accordance with the requirements of the user to the designated location and may increase or decrease in any position. With the exterior RAM AT24C02 to memory the data. It has the function that can power outages protective. The test results show that the system in functional and performance requirements have been fully attained (including the design requirements of play). And which is less error and easy to use, economical and practical, attractive and unaffected.
Key words: MCU clock chip voice chip remote control
1.引言 2、方案设计 2.1 方案论证 2.2 方案选择 3、总体设计 4、单元电路设计 4.1 电机的选择: 4.2 显示选择 4.3 遥控电路设计 4.4 语音模块设计 5 软件设计 6 电路功能说明 6.1 步进电机驱动脉冲数计。 6.2 国旗运动按键的控制 6.3 掉电保护功能 7 电路测试 7.1 分步检测: 7.2 综合调试: 7.3 测试结果: 参考文献:
附:单片机系统原理图
|