目 录
摘要....................................................................................................................................................1
Abstract............................................................................................................................................1
第一章 绪论......................................................................................................................................2
光立方的意义: .......................................................... 5
目的.................................................................... 5
%
章节安排............................................................................................................................5
第二章 基础软件技术介绍..............................................................................................................6
proteus软件简介 ........................................................ 6
Protel Dxp技术简介 ..................................................... 6
Protel Dxp软件介绍 ................................................. 6
Protel Dxp基本技术 ................................................. 6
keil_μVision4软件 .................................................... 7
章节小结 ................................................................ 7
】
第三章 设计方案..............................................................................................................................8
总体设计方案 ............................................................ 8
元件的选择 ............................................................... 9
本章小结 ............................................................... 10
第四章 基础硬件设计....................................................................................................................11
74HC573芯片 ........................................................... 11
STC12C5A60S2 ........................................................... 11
ULN2803 ..........................................................................................................................13
!
本章小结 ............................................................... 13
第五章 软件设计 ............................................................. 14
软件简介 ............................................................... 14
程序流程图 ............................................................. 14
主函数 ................................................................. 14
本章小结 ............................................................... 14
第六章 系统调试与测试................................................................................................................15
第七章 检测结果与分析................................................................................................................16
?
第八章 总结与展望 ........................................................... 16
第九章 谢辞 ................................................................. 17
参考文献..........................................................................................................................................17
附录..................................................................................................................................................18
摘 要
随着电子行业的不断发展,单片机的应用从根本上改变了传统的控制系统设计思想和设计方法,已广泛的应用在工业自动化、通信、自动检测、信息家电、电力电子航空航天等各个方面。成为现代生产和生活中不可缺少的一部分。
此次我们正是利用单片机的知识,制作光立方,同时利用C语言进行编程,制作出自己想要的动画效果,并通过LED灯显示出我们编程的效果。
本次作品采用的是8*8*8的模式,大概的距离是14cm*14cm*20cm(长.宽.高),主要分为三个模块:主控模块、驱动模块、显示模块;结合单片机和C语言的学习,我们采用的主控芯片60K STC12C5A60S2芯片,驱动电路是采用我们常用的74HC573数字芯片。
通过这次光立方的制作,我学习了许多单片机知识,进一步加强了protues、protel dxp软件学习。此外,对C语言的掌握也进一步提高。由于此次采取小组合作完成作品,在团队学习和集体协作方面上体会更为深刻了。也让我得到进一步的锻炼。
关键字:光立方 74HC573 STC12C5A60S2 ULN2803
Abstract
With the development of electronic industry, the application of SCM change
control system design idea and method of the traditional fundamentally,
have been widely used in various industrial automation, communications,
automatic detection, information household appliances, power electronics
fields of Aeronautics and astronautics. Become an indispensable part of
modern production and living.
The US is the use of SCM knowledge, build the cube, and the use of C language
programming, making their own to animation, and through the LED lamp shows
our programming effect.
With this work is the 8*8*8 model, the distance is about 14cm*14cm*20cm
(long. Wide. High), mainly divided into three modules: the main control
module, a driving module, display module; based on MCU and C language
learning, the main control chip 60K STC12C5A60S2 chip we used, drive
circuit is used in our common the 74HC573 digital chip.
Through the production of light cube, I learn a lot of knowledge of SCM,
and further strengthen the Protues, PROTEL DXP software learning. In
addition, also further improve the C language learning. Because of the
team to take work to complete, in team learning and teamwork experience
more profound. Let me get the further exercise.
Keywords: optical cubic 74HC573 STC12C5A60S2 ULN2803