1、 单片机技术课程单片机技术课程设计说明书设计说明书 数字电子钟 系 、 部: 电气与信息工程系 学生姓名: 指导教师: 职称 专 业: 电子信息工程 班 级: 完成时间: 2011.12.20 1 摘 要 电子钟现如今已非常普遍而且也早已成为人生日常生活中必不可少的必需品, 广泛应用于家庭、学校、车站、剧院、商店、办公室等场所。几乎走到哪都我们都 离不开对时间的控制,甚至有的场合对其精确度有着很高的要求。因而电子钟给人 们的生活、学习、工作带来了极大的方便。本课题中采用单片机技术设计电子钟。 采用 AT89S52 单片机为主控芯片,实现了时间的显示、调整及整点报时功能。根据 时钟时、分和秒之间
2、的关系通过软件编程的方法实现电子钟的运行。 用 8 位 7 段 LED 数码管(两个四位一体数码管)显示。具有走时准确、显示直观、精度、稳定等优点。 更具有推广应用价值。 关键词 电子钟;单片机;硬件系统;软件系统 2 ABSTRACT Electric clock has now very common but also has already become life daily life essential necessities, widely used in family, school, station, theatres, stores, offices and other pla
3、ces. Almost go where are we all is inseparable from the time of control and even some occasions with high accuracy of the request. Thus electric clock to the life of people, study, work brought great convenience. This topic in the one-chip computer technology design electric clock. Adopt AT89S52 SCM
4、 as the controller chip, has realized the time display, adjustment and integral point to announce the function. According to the clock, minutes, and seconds when the relationship between through programming method of realization electric clock operation. The 8-bit seven sections LED digital tube (two four-in-one digital tube) displays. With traveltime accurate, show intuitional, precision, stability, etc. The more has higher application value. Keywords ele