二 O 一四年一月八日
目录
摘
要
..........................................................................................................................1
一、绪论
........................................................................................................................2
1.1 LED 彩灯控制器概述 ...................................................................................................2
1.2 LED 彩灯控制技术状况 ...............................................................................................2
1.3 本设计任务 ..................................................................................................................3
二、系统硬件设计
........................................................................................................3
2.1 单片机最小系统设计 ..................................................................................................3
2.2 LED 彩灯显示电路设计 ...............................................................................................4
2.3 按键控制电路设计 ......................................................................................................5
2.4 整体电路 ........................................................................................................................6
三、系统的软件设计
....................................................................................................7
3.1 按键扫描子程序设计 ..................................................................................................8
3.2 主程序设计 ..................................................................................................................8
四、系统调试与测试结果分析
....................................................................................8
4.1 系统调试 ......................................................................................................................8
4.2 测试结果及状态分析 ..................................................................................................9
五、实物图
....................................................................................................................9
结
论
..........................................................................................................................10
参考文献
......................................................................................................................11
附录 1 程序
.................................................................................................................12
附录 2 系统仿真电路图
.............................................................................................16