基于单片机的多功能数字电子钟-浙江大学 下载本文

XXXXXX毕业设计

XXXXXXX

毕业设计

题 目 姓 名 学 号 专业班级 分 院

基于单片机的多功能数字电子钟 xxx

xxx

xxx

xxx

I

XXXXXX毕业设计

指导教师 xxx

xxxx年xxx月xxx日

摘 要

多功能数字钟的应用非常普遍,由单片机作为数字钟的核心控制器,通过它的时钟信号进行实现计时功能,将其时间数据经单片机输出,利用显示器显示出来。通过键盘可以进行校时、定时等功能。输出设备显示器可以用液晶显示技术和数码管来显示技术。 本系统利用单片机实现具有计时、校时等功能的数字时钟,是以单片机AT89C51为核心元件同时采用LED数码管显示器动态显示“时”,“分”,“秒”的现代计时装置。另外具有校时功能,秒表功能,和定时器功能,利用单片机实现的数字时钟具有编程灵活,便于功能的扩充等优点。

简要介绍了LED显示的发展状况和其所特有的优势,简述了该系统中一些重要芯片的基本工作原理,着重论述了硬件线路各个模块的设计思想。数码管与单片机的接口采用动态显示技术,利用了时钟芯片的系统自带电池功能来实现断电时保存一些重要数据,以便来电时正确显示信息的功能。

模块化的设计和调试方法在整个课题研究过程中至关重要,事实上在任何设计中也同样关键和有效。

关键词:数字钟系统 单片机 LED液晶显示器

II

XXXXXX毕业设计

III

XXXXXX毕业设计

ABSTRACT

Multi-function digital clock in the application is already very common. SCM as a digital clock from the core controller, it can achieve the clock signal timing, its time data by the MCU output, use of monitors displayed. Keyboard can be carried out at the school, timing, and other functions. Output devices can be used liquid crystal display monitors and digital technology to display the technology.

The system uses MCU with time, the school features such as the digital clock, SCM AT89C51 is also used as the core components of the LED digital display dynamic display \stopwatch function, and the timer function to achieve MCU use of the digital clock with programming flexibility to facilitate the expansion of functional advantages.

This paper gives a general description of development situation of LED display and advantages of LED products as display .It also introduces the basic functions of some relative vital chips briefly . Solutions of the key parts are also introduced with particular description. Dynamic display interface between LED display and MCU are used .It also can save some important data at the moment of power-off by making use of RTC chip's system self-contained battery in order to make sure accurate information are present whenever power-on.

Modularized design and debug are most important in the whole course of the topic research. In fact, it is as well as vital and effective in any other design course.

Keywords: Digital clock system SCM LED LCD Monitor

IV