旋转LED显示屏的设计与制作
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
旋转LED显示屏的设计与制作
摘要
随着社会信息技术的发展,高科技教育和创新活动越来越受到大家的关注,电子产品越来越受到大家的青睐,旋转LED显示屏这一信息技术的前沿领域也得到了飞速发展,而在旋转LED显示屏中主要应用的便是单片机。
在户外广告屏上,高科技是不可缺少的,因此单片机技术的应用注定是不可或缺的,所以利用AVR单片机技术制作的旋转LED显示屏的应用价值及科研价值是很高的。我们利用AVR单片机,通过Atmega16芯片制作出的旋转LED显示屏,可以顺利完成我们所要求的显示的内容,现场演示。通过自制的ISP下载线与电脑之间的链接,将电脑中的程序文件输入到单片机中,根据我们的需要显示不同的内容。
该设计主要包括:基板硬件的设计、硬件驱动的设计、显示程序的设计等。它具有设计思路简捷、程序简短、结构简单等特点。
旋转LED显示屏用于教学演示,可以使学生了解动态扫描的原理,同时对相关知识的综合应用有一个清晰的认识,易于加深对相关知识的了解、掌握。能更好的应用所学到的知识,更好的把所学到的知识应用的实物中去,能引导同学们去开发想象到的东西,能是学到的理论知识更好的与实际相结合。
关键字:旋转LED显示屏;Atmega16单片机
THE DESIGN AND PRODICTION OF THE
ROTATING LED DISPLAY
ABSTRACT
With the social development of information technology, more and more high-tech education and innovation activities be given due attention, electronic products, more and more people of all ages, rotating LED display of information technology frontier has been rapid development, and the main application is in the rotating LED display microcontroller.
Outdoor advertising screen, high-tech is indispensable for the application of single-chip technology is bound to be an integral part of the rotating LED display using A VR microcontroller technology to produce value and scientific value is very high. We use the A VR microcontroller, the Atmega16 chip to produce a rotating LED display, the successful completion of the contents of the display we are asking, live demonstration. Link between the homemade ISP download cable from the computer, the computer's program files are input to the microcontroller, display different content according to our needs.
This design mainly includes: a substrate hardware design, hardware-driven design, showing the design of the program. It has a simple design ideas, a brief program, simple structure and other characteristics.
The rotation LED display for teaching demonstration, to enable students to understand the principle of dynamic scanning, the integrated application of knowledge at the same time have a clear understanding, easy to deepen the knowledge to understand and master. Better able to apply my knowledge and better application of knowledge learned in kind to guide students to develop imagine things, the theoretical knowledge learned better with practice combination.
Key words:the rotating LED display; Atmega16 single chip microcomputer
目录
1 前言------------------------------------------------------------1
2 系统设计构思-----------------------------------------------------2 2.1 设计要求----------------------------------------------------2 2.2 显示屏的原理------------------------------------------------2
2.3 模块设计的方案----------------------------------------------2
2.3.1 显示屏整体设计----------------------------------------2
2.3.2 控制器模块--------------------------------------------2
2.3.3 传感器模块--------------------------------------------3
2.3.4 电源模块----------------------------------------------3
2.3.5 显示模块----------------------------------------------4
2.4 最终方案----------------------------------------------------4
3 系统机构---------------------------------------------------------5
4 硬件实现及单元电路设计-------------------------------------------6 4.1 微控制器模块的设计------------------------------------------6 4.2 指针板电路的设计--------------------------------------------6 4.3 基板电路的设计----------------------------------------------7
4.3.1 主要元件7805稳压块的介绍-----------------------------8 4.3.2 主要元件3296电位器的介绍-----------------------------8 4.4 光电管的安装------------------------------------------------9 4.5 指针版电源的连接--------------------------------------------9
4.6 ISP下载线的制作--------------------------------------------10
5 软件实现--------------------------------------------------------11
5.1 显示处理--------------------------------------------------11
5.2 程序源文件------------------------------------------------15
6 系统调试--------------------------------------------------------23
6.1 7805的降压与散热处理--------------------------------------23
6.2 电量储存问题的处理---------------------------------------23
6.3 文字调节问题的处理---------------------------------------24
7 结论----------------------------------------------------------25
参考文献------------------------------------------------------26 致谢------------------------------------------------------------27