1、 I 本科毕业论文(设计)本科毕业论文(设计) (2014(2014 届届) ) LED 爱心灯设计 院 系 电子信息工程学院 专 业 电气工程及其自动化 姓 名 * 指导教师 * 2015 年 1 月 2 摘摘 要要 近年来随着科技的飞速发展,单片机的应用正在不断地走向深入,同时带动传统控制 检测日新月益更新。在实时检测和自动控制的单片机应用系统中,单片机往往是作为一个 核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构,以及针对具体应 用对象特点的软件结合,加以完善。我们周围有许多广告牌。通过单片机的控制,我们可 以把城市的夜晚装饰的更漂亮。 本论文基于单片机 STC89C52
2、 芯片和 74HC595 寄存器用 C 语言程序实现心形流水灯 的多种亮与灭的循环。通过老师的讲解,课堂知识的累积和网上资料的查找了解单片机的 知识及 89C52 芯片的一些功能,同时也需要 C 语言编程的累积,把它们结合一起用于实际 实验之中,从而完成我们所需要实现的目标即流水灯的循环亮与灭。同时,论文中也介绍 了单片机,锁存器,流水灯等等硬件设备和各种所需用到的软件知识,可以帮助我们更好 地学习与交流。 关键词:单片机,心形灯,C语言。 3 Abstract In recent years, with the rapid development of science and technol
3、ogy, SCM applications are continually deepening, while the traditional control test drive the crescent benefit update. In the SCM application of real-time detection and automatic control system, SCM is often used as a core component to use, only single-chip knowledge is not enough, should according
4、to specific hardware structure, and software for a specific application object feature binding, perfection. There are many billboards around us. Through the MCU control, we can put the city night decoration more beautiful. In this paper a variety of STC89C52 chip and 74HC595 registers with C programming language based on the heart-shaped water lamp light cycle anddie.After the teachers explanation, some functions of knowledge and 89C52 chip microcontroller to find und