【精品】基于单片机的时钟设计_毕业设计.docVIP

  • 0
  • 0
  • 约1.28万字
  • 约 44页
  • 2017-09-18 发布于浙江
  • 举报

【精品】基于单片机的时钟设计_毕业设计.doc

【精品】基于单片机的时钟设计_毕业设计

(此文档为word格式,下载后您可任意编辑修改!) 兰州文理学院学生毕业论文 题 目: 基于单片机的时钟设计 摘要:本文设计的是基于单片机的时钟设计。该设计主要利用单片机来实现其功能,在这次设计中,我们采用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 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 , 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 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 be put into use. Therefore, the design and development of the clock prospect. Keywords: single chip microcomputer; clock; timer; digital tube 目录 0 引言 - 2 - 1 设计任务分析 - 2 - 1.1电子时钟的背景 - 2 - 1.2 设计意义 - 3 - 1.3 时钟的应用 - 3 - 2 单片机的选择...........................................................................................................................- 3 - 3 系统功能及操作 - 5 - 3.1 系统功能的确定 - 5 - 3.1.1 基本功能 - 5 - 3.1.2 扩展功能 - 5 - 3.2 系统操作说明 - 6 - 4 系统硬件设计 - 6 - 4.1 芯片的选择 - 6 - 4.2 实验板电路原理图 - 7 - 4.3 功能电路分析 - 8 - 4.3.1 时钟电路 - 8 - 4

文档评论(0)

1亿VIP精品文档

相关文档