1、I 本本 科科 生生 毕毕 业业 设设 计(论文)计(论文) 题题 目:目: 数字时钟计时器的设计数字时钟计时器的设计 II 数字时钟计时器的设计数字时钟计时器的设计 摘要:摘要:本文介绍了一款基于 AT89C52 单片机数字钟的设计, 阐述了多功能数字钟的设计思路, 详细叙述了系统硬件、软件设计的具体实现过程。论文重点阐述了时钟模块、显示模块、温度检 测模块及相关控制模块等的模块化设计思路与制作。软件部分同样也采用模块化的设计思想,包 括中断模块、时间调整模块设计,并采用简单流通性强的 C 语言编程实现。系统能实现时间的设 定、日期和星期的显示等功能。在实际设计调试过程中,通过与实际时钟进行
2、对比,查找造成误 差的根源,确定了调整误差的方法,尽可能的减少误差,使得系统可以达到实际数字钟的允许误 差范围内。 关键词关键词:AT89C52 单片机;数字钟;时间 III Design of Digital Electronic Clock Abstract:This paper introduces the design of digital clock based on SCM of AT89C52, the specific process of how the system hardware and software achieved were detailed descripti
3、on through the design of multifunction digital clock. The modular design and production, which clock module and the associated control module, were mainly recounted;As well as hardware designing,software design use the same method, consists suspension module, time adjust module, and that use the C l
4、anguage to achieve because of its simple and strong negotiability. In this design the functions of time run and change, functions of the year, month, day and week display have been achieved. And by comparing the actual clock, find out the source of the error and determined the method of adjusting error, reduce errors as much as possibly, so this system can achieve a practical digital clock with error within the permissible range. Key Words :A T89C52 microcontroller; Digital clock; ti