1、 电力电子 课程设计说明书课程设计说明书 设计题目设计题目: 数字彩屏万年历 专专 业:业: 电卓 03 班 年年 级:级: 2010 级 学学 号:号: * 姓姓 名:名:* 指导教师:指导教师: * 2013 年年 1 月月 1 摘要:摘要: 随着电子技术的迅速发展,特别是随大规模集成电路出现,给人类生活带来 了根本性的改变。单片机技术的应用产品已经走进了千家万户。电子万年历的出 现给人们的生活带来的诸多方便。 本设计是基于 51 系列的单片机进行的电子万年历设计,采用 TFT 彩屏显示 年月日时分秒,具有可调整时间,设置闹铃,和整点报时功能。时间调整由三个 按键来实现,日历能显示年,月,
2、日以及星期、时、分、秒。设计以 STC89C52 单片机为核心,构成单片机控制电路;以 DS1302 时钟芯片作为万年历信号发生 器; Abstract:” With the rapid development of electronic technology, especially with large scale integrated circuit appear, to human life brought the fundamental change. Single chip microcomputer application products have already walked
3、into thousands of families. The emergence of electronic calendar to the life of people bring many convenient. This design is based on the single chip microcomputer 51 series of electronic calendar designs, adopting the TFT color display date determined when, has may adjust the time, set the alarm, a
4、nd integral point to announce the function. Time to adjust by three pressing buttons, calendar can indicate that year, month, day and week, when, minutes and seconds. Design with STC89C52 single-chip microcomputer as the core, to form a single chip microcomputer control circuit; To DS1302 clock chip
5、 as calendar signal generator; 关键词:可调万年历;单片机;时钟芯片 DS1302; ;TFT 彩屏 Keywords: adjustable calendar; Single chip microcomputer; The clock chip DS1302; TFT colour screens 2 目目 录录 1、系统概述及方法论证. 3 1.1 系统概述 3 1.2 系统基本方案选择和论证 3 1.2.1 单片机芯片的选择方案和论证: . 错误错误! !未定义书签。未定义书签。 1.2.2 时钟芯片的选择方案和论证: 3 1.3 电路设计最终方案决定 4
6、2 2、系统的硬件设计与实现 4 2.1 电路设计框图 4 2.2 系统核心控制部分 5 2.2.1 STC89C52RC 芯片介绍 . 5 2.2.2 STC89C52RC 连接电路图 . 6 2.3 DS1302 时钟电路. 6 2.3.1 DS1302 芯片介绍 . 6 2.3.2 DS1302 引脚说明 . 7 2.3.3 DS1302 连接电路图 . 7 3、系统程序设计 4、作品总结错误错误! !未定义书签。未定义书签。错误错误! !未定义书签。未定义书签。错误错误! !未定义书签。未定义书签。 参考文献 . 错误错误! !未定义书签。未定义书签。 附录 1 实物图片 . 12 附录 2 程序 . 错误错误! !未定义书签。未定义书签。 3 1、系统概述及方法论证 1.11.1 系统概述系统概述 本电子万年历采用单片机控制技术和 TFT 显示方案, 可以很好的完成万年历