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

  • 8
  • 0
  • 约5.47千字
  • 约 11页
  • 2019-02-19 发布于广东
  • 举报
九淞帶酩 JIUJIANG UNIVERSITY 单片机课程设计报告 题 目 光立方 院 系 电子工程学院 专 业 自动化 姓 名 宋建军 学 22 班级学号 A1032 组 员 吴小康、文坛 指导教师 丁文斌 、摘要错误!未定义书签。 、摘要 TOC \o 1-5 \h \z HYPERLINK \l bookmark6 \o Current Document 二 设计目的与要求 4 2. 1设计目的 4 2设计要求 4 HYPERLINK \l bookmark8 \o Current Document 三、硬件方案设计 4 1单片机资源分配情况 5 2复位电路 5 3时钟电路 5 3. 4系统的工作原理图 6 5焊接实物图 10 四 软件设计 11 1系统框图 11 2程序流程图 11 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 cuben.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设计目的 ⑴.进一步掌握单片机的原理及其功能。学会利用单片机做一些课外电子设计与 制作。 ⑵.熟悉LED点亮条件及其工作原理。 ⑶.熟悉光立方显示的原理及其相关的线路连接。 ⑷.通过此次的电路焊接和调试提高自己的动手及其分析问题的能力。 2.2设计要求 ⑴?利用单片机控制4*4*4的LED光立方显示一些3D的图形,通过

文档评论(0)

1亿VIP精品文档

相关文档