文档详情

单片机课程设计.报告矩阵时钟.pdf

发布:2018-10-22约3.46万字共48页下载文档
文本预览下载声明
目录 摘要:2 关键词:2 Abstract3 Key words:3 1 绪论4 1.1 课题研究的背景4 1.2 课题研究的意义4 1.3 数字时钟的应用及发展前景5 1.4 课题的研究内容及技术要求5 2 设计要求与方案论证7 2.1 设计基本要求7 2.2 编程语言方案论证7 2.3 显示方式方案论证9 2.4 系统仿真方式方案论证10 3 系统主要器件的工作原理12 3.1 单片机STC89C51 的工作原理12 3.2 相关芯片的工作原理16 4 系统软件设计19 4.1 系统模块及结构框图19 4.2 系统主程序设计19 4.3 系统子程序设计20 5 系统调试25 5.1 系统硬件调试25 5.2 系统软件测试25 5.3 Proteus 与Keil 连接调试结果31 6、总结32 致谢33 参考文献34 附件35 附件一:课程设计材料清单35 附件二:Proteus 仿真图36 附加三:原理图37 附加四:PCB 图38 附加五:源代码39 摘要: 本文介绍了一款多功能数字时钟系统的软件设计。该系统能够显示当前日期、时间,并且具有日期、 时间设置等功能。该系统采用51 系列STC 公司生产的 STC89C51 单片机,以及利用LED 点阵显示器F3.0 来 显示数字时钟的结果。 本系统的软件设计使用C 语言进行编程,利用目前流行的Keil 软件编程环境对源程序进行编译。系统 的软件程序主要包括主程序、定时程序、中断计数程序、显示时间程序、日期时间调整等子程序的设计。 该系统具有友好的用户界面、操作简单、性能稳定。该数字时钟系统能够长期、连续、可靠、稳定地 工作,同时系统还具有体积小、功耗低等特点,便于携带、使用方便。 关键词: 单片机;LED 点阵显示器;软件设计 Abstract This article describes the multi-functional digital clock system software design. The system can display the current date, time, and has the date and time settings and the alarm clock functions. What is introduced in this article is about the software design of a digital clock system which is multifunctional. This system can display the present time and date, it also has function such as setting time and date or being used as an alarm clock. The system uses a STC89C51 microcontroller of the 51 series produced by the STC corporation and the use of LED dot matrix display F3.0 to display the results of the digital clock The software design of this system is programmed with the C programming language and the program is compiled with the Keil software programming environment which is quite popular now. The software programs of the system mainly include the designs of some subroutines such as the main program, time progr
显示全部
相似文档