- 18
- 0
- 约1.16万字
- 约 28页
- 2016-06-27 发布于重庆
- 举报
单片机课程设计数字电子钟湖南工学院
单片机技术课程设计说明书
数 字 电 子 钟
系 、 部:
学生姓名:
指导教师: 职称
专 业:
班 级:
完成时间:
摘 要
本电子钟采用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 设计课题软件系统各模块功能简
您可能关注的文档
最近下载
- DB37_T 4413.4-2021 生态环境数据共享技术规范 第4部分:土壤.docx VIP
- DB11_T 1820-2025 控制性详细规划(街区层面)环境影响评价技术指南.pdf VIP
- DB11_T 1455-2025 电动汽车充电基础设施规划设计标准.pdf VIP
- DB11_T 1033-2025 工业射线探伤辐射安全和防护分级管理要求.pdf VIP
- 北京市西城区2025-2026学年高三(上)期末历史+答案.pdf
- 液压升降平台设计.docx VIP
- DB37_T 4413.2-2021 生态环境数据共享技术规范 第2部分:排污单位.docx VIP
- DB37_T 4417-2021 SBR改性乳化沥青中SBR含量测定规程(红外光谱法).docx VIP
- DB11_T 995-2025 城市轨道交通工程设计标准.pdf VIP
- DB11_T 2469-2025 湿地碳汇计量监测技术规范.pdf VIP
原创力文档

文档评论(0)