单片机时钟

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

单片机课程设计报告

设计名称:单片机电子时钟的设计班级:自动化07—1

学号:07100515

姓名:

指导教师:李晓林

单片机电子时钟的设计

摘要

单片机在多功能数字钟中的应用已是非常普遍的,人们对数字钟的功能及工作顺序都非常熟悉。但是却很少知道它的内部结构以及工作原理。由单片机作为数字钟的核心控制器,可以通过它的时钟信号进行实现计时功能,将其时间数据经单片机输出,利用显示器显示出来。通过键盘可以进行校时、定时等功能。输出设备显示器可以用液晶显示技术和数码管显示技术。本系统利用单片机实现具有计时、校时等功能的数字时钟,是以单片机W78E516B为核心元件同时采用LCD液晶显示器动态显示“时”,“分”,“秒”的现代计时装置。与传统机械表相比,它具有走时精确,显示直观等特点。因为本次设计还要实现秒表功能,为了避免防止运用秒表时,产生的中断可能使时钟出现误差,所以本设计运用时钟芯片PCF8563实时提供时钟信号,再由单片机显示出来,它的计时周期为24小时。另外具有校时功能,断电后有记忆功能,恢复供电时可实现计时同步等特点;同时还具有整点报时等功能。因此利用单片机实现的数字时钟具有编程灵活,便于功能的扩充等优点。

关键词:单片机时钟芯片PCF8563 LCD液晶显示器。

Monolithic Machine

Abstract

The monolithic machine already has been very common in application in multifunctional digital clock , people knows digital clock function and job order well all very much. But know but seldom its inner structure and operating principle. The core controller being a digital clock from monolithic machine, can realize the function reckoning by time by the fact that its clock signal is in progress , whose time data is demonstrated out by that the monolithic machine outputing , making use of display. When by the fact that the keyboard can carry out school, wait for a function at the regular time. The output equipment display can use liquid crystal display technology and numerical code to demonstrate a technology. System makes use of the monolithic machine to realize the figure clock having the function reckoning by time , waiting time school , is "mark" ", "second" of modern times timing device "when" the component centering on monolithic machine W78E516B adopt LCD LCD display development display at the same time. Compared with tradition machinery form, it has the travel time precise , demonstrates perception waiting for a characteristic. , because of time of design wants to realize the stopwatch function too when for avoiding guarding against the stopwatch applying, the interruption possibility coming into being makes to error appear on clock, real time designing PCF8563 wielding the clock chip therefore this provide a clock signal , show 24 hours get out , its timing period again from monolithic machine. Have the school time function besides, there are memory function behind interruption of power supply, characteristics such as recovering when supplying electricity but realizing the synchronism reckoning by time; Have a round number at the same time announcing the hour waiting for a function. Make use of the figure clock that the monolithic machine realizes to have a programming nimbly therefore, functional expanding easy to waits for merit.

Keywords: Monolithic machine ;clock chip PCF8563 LCD ;LCD display

相关文档
最新文档