- 1、本文档共50页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
青岛农业大学海都学院
本科生毕业论文(设计)
题 目: 基于单片机设计的电子万年历
基于单片机设计的电子万年历
摘 要
电子万年历是一种非常广泛日常计时工具,在现代社会越来越流行。它可以对年、月、日、周日、时、分、秒进行计时,还具有闰年补偿等多种功能,而且DS1302的使用寿命长,误差小。对于数字电子万年历采用直观的数字显示,可以同时显示年、月、日、周、时、分、秒和温度等信息,还具有时间校准等功能。
但由于这种万年历是挂在墙上的,使用手动按键很不方便,特别是按键的那一边放在了临近墙角的位置,对按键的调整带来了很大的困难。针对电子万年历的这些缺点,我设计了一套电子万年历,来改善这些缺点。通过利用红外调节的办法使电子万年历达到操作简单,方便轻松地目的。
关键字:单片机、DS1302、DS18B20、步进电机、数码管、红外调控
Single-chip design-based electronic calendar
Abstract
The electronic calendar is a very wide range of daily timing tool, more and more popular in modern society. It can be on-year, month, day, Sunday, hours, minutes, seconds for timing, but also a leap year compensation functions, and the DS1302 long life, small error.Digital electronic calendar using intuitive digital display, can display year, month, day, weeks, hours, minutes, seconds, and temperature, etc., but also has the function of the time calibration.
This calendar is hanging on the wall, using the manual button inconvenient, especially buttons while on the near corner of the location button adjustment has brought great difficulties. In response to these shortcomings of the electronic calendar, I designed an electronic calendar, to improve these shortcomings. Electronic calendar, by using infrared adjustment approach to achieve simple operation, convenient and easy to purpose.
Key word:SCM, DS1302, DS18B20, step motor, digital tube, infrared regulation
目 录
TOC \o 1-3 \h \z \u 摘 要 h 2
Abstract h 3
目 录 h 4
第一章 设计要求与方案论证 h 5
1.1 设计要求 h 5
1.2 系统基本方案选择和论证 h 5
1.2.1 单片机芯片的选择方案和论证 h 5
1.2.2 显示模块的选择方案和论证 h 5
1.2.3 时钟芯片的选择方案和论证 h 6
1.2.4 电机的选择方案和论证 h 6
1.2.5 温度测试的选择方案和论证 h 7
第二章 系统的硬件设计与实现 h 8
2.1 电路设计框图 h 8
2.2 系统硬件概述 h 8
2.3 主要单元电路的设计 h 8
2.3.1 电源模块的设计 h 8
2.3.2 单片机主控制模块的设计 h 10
2.3.3 时钟电路模块的设计 h 13
2.3.4 温度测量模块的设计 h 14
2.3.5 画轴旋转模块的设计 h 17
2.3.6 显示模块的设计 h 20
2.3.7 调控模块的设计 h 22
第三章 系统的软件设计与实现 h 23
3.1 程序流程框图 h 23
3.2 读写DS1302子程序的编写 h 24
3.3 读写DS18B20子
文档评论(0)