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

  • 18
  • 0
  • 约1.16万字
  • 约 28页
  • 2016-06-27 发布于重庆
  • 举报

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

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

单片机技术课程设计说明书 数 字 电 子 钟 系 、 部: 学生姓名: 指导教师: 职称 专 业: 班 级: 完成时间: 摘 要 本电子钟采用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)

1亿VIP精品文档

相关文档