电子万年历的设计论文

时间:2026-01-13

太原工业学院

毕业论文(设计)

题目名称: 电子万年历的设计 学生姓名: 李 俊 珑 班级学号: 095011114 专 业: 机械设计制造及其自动化 指导教师: 张焕梅/讲师 时 间

2011.6.10

诚信声明

本人郑重声明:本论文及其研究工作是本人在指导教师的指导下独立完成的,在完成论文时所利用的一切资料均已在参考文献中列出。

本人签名:

年 月 日

毕业设计(论文)任务书

系部: 机械工程系 专业: 机械设计制造及其自动化 学号: 0950111 14 学生: 李俊珑 指导教师(含职称):张焕梅(讲师)专业负责人: 1.设计(论文)的主要任务及目标

本设计目标是实现电子万年历的设计,要求完成万年历的基本功能,实现日期和时间的显示;系统应保持一定的走时精度。

完成系统总体设计,硬件设计和软件设计等;完成各种硬件图的绘制及仿真,完成相应流程图的绘制和程序的编制。并用软件进行仿真。

完成开题报告等相关文档的编写。 2.设计(论文)的基本要求和内容 (1)、查阅相关文献资料,并撰写开题报告; (2)、熟悉开发环境、系统总体设计; (3)、系统硬件设计; (4)、系统软件设计; (5)、毕业设计说明书。 3.主要参考文献

张道德 《单片机接口技术(C51)》 北京:水利水电出版社 龚运新 《单片机C语言开发》[M].清华大学出版社,2006 4.进度安排

设计(论文)题目: 电子万年历的设计

电子万年历的设计

【摘要】电子万年历在日常生活中最常见,应用也最广泛。本次数字时钟电路根据设计要求采用DS1302和AT89C51单片机来实现时、分、秒24小时计时,采用LED数码管显示。文章的核心主要从硬件设计和软件编程两个大的方面。硬件电路设计主要包括中央处理单元电路、时钟电路,软件用C语言来实现,主要包括主程序、时间设置子程序等软件模块。电路基本能实现显示时间、调整时间功能达到了设计的要求和目的。

操作简单易学,显示一目了然。在按键当中,有设置、加1、减1三个按键,设置用于设定需要调节的是年、月、日、时、分、秒中的哪一项;加1键用于把所选项数据加1;减1键用于把所选项数据减1。

综上所述此万年历具有读取方便、显示直观、功能多样、电路简洁、成本低廉等诸多优点,符合电子仪器仪表的发展趋势,具有广阔的市场前景。

【关键词】: AT89C51单片机,DS1302时钟芯片,LED显示模块

Design of electronic calendar

Student: Li Jun Long, Taiyuan Institute of Mechanical Engineering Instructor: Zhang Huanmei, Taiyuan Institute of Mechanical Engineering [ABSTRACT]Digital clock in the daily life of the most common applications are the most widely used. The digital clock circuit design requirements based on AT89C51 microcontroller used to achieve the DS1302 and the hours, minutes, seconds, 24-hour timer, LED digital display. . The core of the article, mainly from the hardware design and software programming are two major aspects. Hardware circuit design includes a central processing unit circuit, clock circuit, the software implementation using C language, including the main program, the time set subprogram software modules. Basic circuit can realize display the time, adjust the time function to achieve the design requirements and objectives.

Easy to learn, showing at a glance. Among the keys, there are settings, plus 1, minus 1, three buttons, set the required adjustment is used to set year, month, day, hour, minute and second in which one; plus a key for the selected pieces of data plus 1; by a key option for the data to the minus 1.

This calendar has a convenient summary read, intuitive display, versatile, circuit simplicity, low cost and many other advantages, in line with the development trend of electronic instrumentation, and has broad market prospects.

Key words: AT89C51 microcontroller, DS1302 clock chip, LED display module

目录

1前言................................................................1 2总体介绍............................................................3 2.1电子万年历简介..................................................3 2.2设计方案的选择 .................................................3

2.2.1 DS12887芯片..............................................4 2.2.2 DS1302芯片...............................................4 2.3 显示模块的选择.................................................5 3系统硬件设计........................................................6 3.1主控芯片AT89C51简介............................................6

3.1.1 AT89C51引脚功能说明......................................7 3.2 时钟芯片DS1302 ................................................9

3.2.1DS1302工作原理............................................9 3.2.2DS1302的寄存器............................................9 3.3 温度传感器DS18B20简介........................................10 3.4 硬件总体框图设计..............................................11 3.5 DS1302与单片机的接口设计................................... ...11 3.6 显示设计......................................................11

3.6.1结构种类.................................................11 3.6.2 显示原理................................. …… 此处隐藏:8798字,全部文档内容请下载后查看。喜欢就下载吧 ……

电子万年历的设计论文.doc 将本文的Word文档下载到电脑

    精彩图片

    热门精选

    大家正在看

    × 游客快捷下载通道(下载后可以自由复制和排版)

    限时特价:4.9 元/份 原价:20元

    支付方式:

    开通VIP包月会员 特价:19元/月

    注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
    微信:fanwen365 QQ:370150219