电子万年历设计毕业设计.docx

上传人:h**** 文档编号:25254563 上传时间:2022-07-10 格式:DOCX 页数:5 大小:12.26KB
返回 下载 相关 举报
电子万年历设计毕业设计.docx_第1页
第1页 / 共5页
电子万年历设计毕业设计.docx_第2页
第2页 / 共5页
点击查看更多>>
资源描述

《电子万年历设计毕业设计.docx》由会员分享,可在线阅读,更多相关《电子万年历设计毕业设计.docx(5页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。

1、电子万年历设计毕业设计 摘要 电子万年历是一种具有显示年、月、日、时、分、秒、星期等功能的计时工具。特别适合在家庭居室、教室、广场、车站和大厅等使用,因此设计一款电子万年历是必要的。 电子万年历设计由硬件电路和软件程序两部分组成。硬件部分,采用AT89C52作为主控芯片,结合外围的LED数码管显示电路、时钟电路、键盘电路和闹钟电路等组成。单片机通过时钟芯片DS1302获取时间数据,经处理后再把时间数据传送给74LS164译码,最后由LED数码管显示年、月、日、时、秒、闹钟、星期等。软件部分,给出了系统程序流程图,并采用C语言进行软件程序设计。 该电子万年历能较准确的显示日期和时间,并且具有闹钟

2、的功能,具有一定的推广价值。 关键词:AT89C52;C语言;DS1302;LED Design of the electronic calendar ABSTRACT lectronic calendar is a very extensive timing tool which used the micro-controller technology,it can display date and time, minutes and seconds,the week and so on,It is applicable to our daily life such as domestic

3、bedroom, classroom, square, station and the hall, etc, besides,it can suitable for our jobs such as office, operation workshop etc.Therefore,it is necessary to design a electronic calendar. Electronic calendar is an application of the single chip microcomputer system,it includes the hardware circuit

4、 and software program .Hardware circuit included control chip , the periphery show circuit, clocking circuit ,the keyboard interface circuit and the alarm clock circuit.AT89C52 is used the main control chip,display used LED digital tube,clock chip adopt DS1302,keyboard interface circuit completed by

5、 ordinary pick button. Software uses C language to complete the microcontroller program programming.Single chip get clock time data through microcomputer chip DS1302, the processed the data according to time again for 74 LS164 decoding, LED digital pipe can display date and time, seconds, alarm cloc

6、k, week. The electronic calendar can display the date and time precisely , and it has the function of the alarm clock. it can realize the time and date of Settings and realize the alarm clock function through the button. Key words : AT89C51; C language; DS1302; LED 目录 摘要 . II ABSTRACT. I II 1 绪论 (1)

7、 1.1 电子万年历的介绍 (1) 1.2 本设计所要实现的目标 (1) 1.3 本文的设计方案 (1) 2 主要元器件介绍 (2) 2.1 主控芯片AT89C52 (2) 2.1.1 AT89C52性能简介 (2) 2.1.2 AT89C52引角功能说明 (2) 2.1.3 AT89C52芯片内部结构 (5) 2.2 时钟芯片DS1302 (6) 2.2.1 DS1302的性能介绍 (6) 2.2.2 DS1302引脚及功能说明 (7) 2.2.3 DS1302的内部结构 (7) 2.3 LED数码管 (8) 3 系统硬件构成 (9) 3.1 设计原理 (9) 3.2 外围电路 (9) 3.2.1 时钟电路的设计 (9) 3.2.2 闹钟电路的设计 (10) 3.2.3 显示电路的设计 (11) 3.2.4 键盘电路的设计 (11) 3.2.5 复位电路与晶振电路的设计 (12) 4 系统软件设计 (13) 4.1阳历程序的设计 (13) 4.2 时间调整程序设计 (13) 5 proteus软件仿真 (15) 5.1 proteus ISIS简介 (15) 5.2 proteus运行流程 (15) 5.3 proteus功能仿真 (15) 6 结论 (18) 参考文献 (19) 致谢 (20) 附录A (21) 附录B (22)

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 应用文书 > 策划方案

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知得利文库网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号-8 |  经营许可证:黑B2-20190332号 |   黑公网安备:91230400333293403D

© 2020-2023 www.deliwenku.com 得利文库. All Rights Reserved 黑龙江转换宝科技有限公司 

黑龙江省互联网违法和不良信息举报
举报电话:0468-3380021 邮箱:hgswwxb@163.com