1 / 50
文档名称:

基于51单片机的花样流水灯设计毕业论文.doc

格式:doc   页数:50页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

基于51单片机的花样流水灯设计毕业论文.doc

上传人:追风少年 2015/8/19 文件大小:0 KB

下载得到文件列表

基于51单片机的花样流水灯设计毕业论文.doc

文档介绍

文档介绍:摘要
计算机技术的飞速发展和提高,把我们带入了崭新的时代,现在,计算机的应用已经深入到千家万户。单片微型计算机是制作在一块集成电路芯片上的计算机,简称单片机。单片机在现在社会有着广泛的应用,小到人们的日常电子用品,大到航天飞机、宇宙飞船,上面都有单片机的广泛应用。单片机具有体积小、功能强大、低功耗、应用广泛等特点。以AT公司的芯片 AT89C51 单片机来实现流水灯的设计。本系统由单片机控制,I/O口接LED的负极,而LED的正极则直接与5V电源相连。通过I/O口输出的低电平点亮LED灯。因此可以通过控制单片机的I/O口的电平高低以达到控制LED,从而实现不同花样的流水灯的目的。
关键词:LED,单片机,高低电平变化
ABSTRACT
The rapid development puter technology and improving, bring us to the new era, now, the application puter has been deep into the thousands. Single chip puter is made on an integrated circuit puter, hereinafter referred to as single chip puter. SCM has been widely used in the present society, small to People's Daily electronic products, big to aerospace aircraft, spacecraft, above has the wide application of single-chip puter. SCM has small volume, powerful function, low power consumption, wide application, etc. AT pany's chip AT89C51 single-chip puter to realize the water lamp design. This system controlled by single chip puter, I/O ports connect the LED the cathode, and LED the anode is directly connected to 5V power supply. Through the I/O port output low level light leds. So you can single chip puter control through the I/O ports to control LED, the level of high and low so as to realize the purpose of the different pattern of flowing water light.
Key words: LED , MCU ,High and Low output leve
目录
第1章引言 1
研究背景及意义 1
国内外研究现状以及本系统的重点问题 1
本文章节安排 2
第2章系统设计方案论证 3
控制器模块方案论证 3
键盘模块方案 4
电源模块方案 4
第3章系统硬件设计方案 5
系统设计框图 5
硬件电路设计 5
电源电路 5
单片机89C52最小系统 6
按键电路 13
LED灯电路 13
第4章程序设计及软件仿真 15
软件设计框图 15
软件开发平台选择 15
软件系统功能模块 16
初始化模块 16
延时函数 17
定时器控制模块 17
键盘扫描模式 17
LED灯输出控制模块 18
程序调试仿真 19
仿真平台介绍 19
仿真测试 19
第5章硬件调试 21
硬件设计 21
硬件调试 21
下载功能调试 21
LED电路测试 21
模式选择功能调试 22
速度加减功能调试 22
复位电路调试 22
稳定性测试 22
总结 23
致谢 25
参考文献 26
附录 27
附录一:原理图 27
附录二:硬件实物 28
附录三:程序代码 29
第1章引言