单片机(课程设计)数字电子钟湖南工学院.doc

单片机(课程设计)数字电子钟湖南工学院.doc

  1. 1、本文档共28页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
单片机(课程设计)数字电子钟湖南工学院

PAGE 1 单片机技术课程设计说明书 数 字 电 子 钟 系 、 部: 学生姓名: 指导教师: 职称 专 业: 班 级: 完成时间: 摘 要 本电子钟采用ATMEL公司的AT89S52单片机为核心,使用12MHz 晶振与单片机AT89S52 相连接,通过软件编程的方法实现以24小时为一个周期,同时8位7段LED数码管(两个四位一体数码管)显示小时、分钟和秒的要求,并在计时过程中具有定时功能,当时间到达提前定好的时间进行蜂鸣报时。该电子钟设有四个按键S1、S2、S3和S4键,进行相应的操作就可实现校时、定时、复位功能。具有时间显示、整点报时、校正等功能。走时准确、显示直观、精度、稳定等优点。 整个过程就是先设计和焊接好硬件电路,再通过汇编语言编写应用程序来实现我们需要的功能,这期间,进行的软件仿真和调试是本设计的重点和难点。 关键词 电子钟; AT89S52;硬件设计;软件设计 ABSTRACT The system use a single chip AT89C51 of ATMEL’s as its core to control The crystal oscillator clock,using of E-12MHZ is connected with the microcontroller AT89S52, through the software programming method to achieve a 24-hour cycle, and eight 7-segment LED digital tube (two four in one digital tube) displays hours, minutes and seconds requirements, and in the time course of a timing function, when the time arrived ahead of scheduled time to buzz a good timekeeping. The clock has four buttons S1, S2, S3 and S4 key, and make the appropriate action can be achieved when the school, timing, reset. With a time display, alarm clock settings, timer function, corrective action. Accurate travel time, display and intuitive, precision, stability, and so on. The whole process have three point. First ,designing hardware circuit design and soldering.second, through the assembly language to write applications to realize that we need to functionality, this period, simulation and debugging are the focus of this design and difficulty. Key words Electronic clock;;AT89S5;Hardware Design;Software Design 目 录 1 设计课题任务、功能要求说明及方案介绍…………………………………… 4 1.1 设计课题任务……………………………………………………………… 4 1.2 功能要求说明……………………………………………………………… 4 1.3 设计总体方案介绍及原理说明…………………………………………… 4 2 设计课题硬件系统的设计……………………………………………………… 5 2.1 设计课题硬件系统各模块功能简要介绍………………………………… 5 2.2 设计课题电路原理图、PCB图、元器件布局图 ………………………… 5 2.3 设计课题元器件清单……………………………………………………… 6 3 设计课题软件系统的设计……………………………………………………… 7 3.1 设计课题使用单片机资源的情况………………………………………… 7 3.2 设计课题软件系统各模块功能简要

文档评论(0)

2017meng + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档