基于单片机的4x4光立方课程设计.doc

  1. 1、本文档共12页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机的4x4光立方课程设计

JIUJIANG UNIVERSITY 单片机课程设计报告 题 目 光立方 院 系 电子工程学院 专 业 自动化 姓 名 宋建军 学 号 22 班级学号 A1032 组 员 吴小康、文坛 指导教师 丁文斌 目 录 一 、摘要 3 设计目的与要求 4 2.1设计目的 4 2.2设计要求 4 三、硬件方案设计 4 3.1单片机资源分配情况 5 3.2复位电路 5 3.3时钟电路 5 3.4系统的工作原理图 6 3.5焊接实物图 10 软件设计 11 4.1系统框图 11 4.2程序流程图 11 4.3程序 13 五、心得体会 17 六、参考文献 17 摘要 当今社会,随着电子行业的不断发展,单片机凭借着其极高的性能价格比,受到人们的重视和关注,应用广泛,发展迅猛。单片机体积小,质量小,抗干扰能力强,对环境要就不高,价格低廉,灵活性好,已广泛的应用在工业自动化、通信、自动检测、信息家电、电力电子航空航天等各个方面。成为现代生产和生活中不可缺少的一部分。 对于大三的我们来说,学习单片机也好久了,对单片机有了大体的了解,此次单片机课程设计,我们采用的是STC89C52RC系列的单片机,利用此单片机来控制一个“光立方”。光立方顾名思义就是一个立方体,我们采用的是8*8*8的模式,将LED灯分成八层,利用程序来编写各种不同的效果来控制LED的亮灭,最终使得整个立方体展现不同的造型和图案,使其变得美轮美奂,绚丽多彩。 ABSTRACT In todays society, with the continuous development of electronic industry, single-chip microcomputer with its extremely high cost performance, is peoples attention and concern, wide application, is developing rapidly.SCM small size, small quality, strong anti-jamming capability, the environment is not high, low price, good flexibility, has been widely used in industrial automation, communications, automatic detection, information home appliances, power electronics, aerospace and other aspects.Become an indispensable part of modern production and life. For those of us in our junior year, learn microcontroller for a long time, also have the general knowledge of MCU, the MCU course design, we adopt is STC89C52RC series microcontroller, using the single chip microcomputer to control a light cube.Light cube as the name suggests is a cube, we adopt the 8 * 8 * 8 patterns, leds can be divided into eight steps, using the program to write a variety of different effect to control the LED light, LED the whole cube show different modelling and design, make its become beautiful, colorful. 设计目的与要求 2.1设计目的 ⑴.进一步掌

文档评论(0)

docindpp + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档