1 / 29
文档名称:

基于单片机的时钟设计_毕业设计.doc

格式:doc   页数:29页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

基于单片机的时钟设计_毕业设计.doc

上传人:珍贵文档 2016/3/7 文件大小:0 KB

下载得到文件列表

基于单片机的时钟设计_毕业设计.doc

相关文档

文档介绍

文档介绍:兰州文理学院学生毕业论文题目: 基于单片机的时钟设计摘要: 本文设计的是基于单片机的时钟设计。该设计主要利用单片机来实现其功能,在这次设计中,我们采用 LED 数码管显示时、分、秒,以24小时计时方式,根据数码管动态显示原理来进行显示,用 12MHz 的晶振产生振荡脉冲,定时器计数,并采用数字电路实现对“时”、“分”、“秒”数字显示的计时装置, 具有显示时间的基本功能,还可以实现对时间的调整,时钟走时精度高,使用方便,功能多,便于集成化,在介绍本单片机的发展情况基础上,说明了本设计实现的功能,以及实验板硬件情况,并对各功能电路进行了分析。主要工作放在软件编程上,用实验板实现时间、日期、定时及它们的设定功能,详细对软件编程流程以及调试进行了说明,并对计时误差进行了分析及校正,提出了定时音与显示相冲突问题及解决方案。实验证明效果良好,可以投入使用。因此,设计开发时钟具有良好的应用前景。关键词: 单片机;时钟;定时器;数码管 Abstract: This design is the clock design based on mcu . The design mainly uses single chip to achieve its function, in this design, we use LED digital display hours,minutes, seconds, to24hour time, according to the principle of dynamic display of digital tube to display, use the 12MHz crystal oscillation pulse, the timer count,and a digital circuit implementation of the "when", "sub", "seconds" the figures show that the timing device, can display the basic function of time, also can realize the adjustment of the time, the clock of high precision, convenient use,multiple functions, easy integration, based on introducing the development situation of the micro controller, the design and implementation of the function, as well as the experimental board hardware conditions, and the function of each circuit are analyzed. The main work in the software programming, using experimental board to realize the time, date, time and setting of their functions,the software programming and debugging process in detail are described, and the timing error analysis and correction, the timing and tone and display conflict problems and solutions. The experiment proved that the effect is good, can beput into use. Therefore, the design and development of the clock has a good application prospect. Keywords: single chip puter; clock; timer; digital tube -1- 目录 0 引言............................................................................................................................................ -2- 1 设计任务分析.......................................................................