没有合适的资源?快使用搜索试试~ 我知道了~
学位论文—基于单片机多功能万年历的设计与仿真—.doc
0 下载量 108 浏览量
2023-07-01
16:04:14
上传
评论
收藏 1.25MB DOC 举报
温馨提示
试读
32页
学位论文—基于单片机多功能万年历的设计与仿真—.doc
资源推荐
资源详情
资源评论
编号
毕业设计(论文)
题目 基于单片机多功能万年历的设计
与仿真
二级学院
专 业
班 级
学生姓名 学号
指导教师 职称
目 录
摘 要 ……………………………………………………………………………Ⅰ
Abstract…………………………………………………………………………Ⅱ
1 绪论………………………………………………………………………………1
1.1 选题背景及意义……………………………………………………………1
1.1.1 选题背景…………………………………………………………………2
1.1.2 选题意义…………………………………………………………………2
1.2 国内外研究现状………………………………………………………………2
1.3 研究内容与方法………………………………………………………………3
1.3.1 研究内容…………………………………………………………………5
1.3.2 研究方法…………………………………………………………………5
1.3.3 本课题关键问题与解决问题思路………………………………………5
2 电子万年历选择器件介绍………………………………………………………6
2.1 主控制器 AT89C51…………………………………………………………6
2.2 DS1302 芯片…………………………………………………………………7
2.3 12846 液晶显示屏………………………………………………………………7
2.4 电容 RESPACK-8………………………………………………………………8
3 系统硬件设计……………………………………………………………………8
3.1 系统硬件设计框图及特点…………………………………………………8
3.2 硬件电路设计………………………………………………………………10
3.2.1 电子万年历概述及原理图………………………………………………10
3.2.2 电路设计…………………………………………………………………10
3.2.3 系统硬件概述……………………………………………………………10
4 系统软件设计……………………………………………………………………11
4.1 流程图及系统程序设计……………………………………………………12
4.1.1 程序流程图……………………………………………………………13
4.1.2 时间控制流程图………………………………………………………14
4.2 系统程序设计………………………………………………………………15
4.2.1 阳历程序设计……………………………………………………………16
4.2.2 阴历程序设计……………………………………………………………17
5 Proteus 软件仿真………………………………………………………………18
5.1 Proteus ISIS 简介…………………………………………………………19
5.2 Proteus 和 Keil C51 整合构建单片机仿真环境…………………………20
5.3 Proteus 对电子万年历的硬件电路设计……………………………………21
5.4 用 Proteus 对电子万年历进行仿真测试……………………………………22
6 结论………………………………………………………………………………27
致谢…………………………………………………………………………………28
参考文献……………………………………………………………………………29
基于单片机多功能万年历的设计与仿真
摘要
在现代社会繁忙的工作与生活中,时间与我们每个人都密不可分,为了更好
的利用我们自己的时间,我们必须对时间有一个度量,因此产生了钟表。由于经
济的发展和科学技术的不断提高,人们从观看太阳来判断时间发展到现在通过电
子钟表读取时间,人类观测时间的方式在发生改变。如今新出现的电子万年历,
除了能够观测时间之外还具备许多的功能,例如,能够显示温度、星期、日期等
和人类的生活息息相关的信息,而且这种电子表还有许多的有点,例如:电路简
单、显示直观,从而能够帮助人们更加直接和及时的获取信息。正因为它具备了
以上的这些功能和优点,所以发展前景相当好。
这种电子万年历的核心部件是单片机 AT89C51,利用此部件来对钟芯片
DS1302 进行调控,进而能够显示出时间;其中温度的显示是通过温度传感器
DS18B20 来实现;闹钟的功能是通过蜂鸣器的运作来实现;对于时间以及闹钟时
间可通过独立式按键来调节。本文重点讨论 AT89C51 单片、钟芯片 DS1302 钟芯
片以及电子万年历的电路和软件设计的工作原理及相关的功能。此万年历有关时
间的所有功能可以按照具体需要通过对有关部件的调整来实现。例如,可以通过
单机片对液晶显示器进行调控,从而可以显示万年历,可以利用 Proteus 软件对
设计好的电路和软件进行仿真,最后实现相关的功能。
关键词:单片机;电子万年历;AT89C51;DS1302;Proteus;仿真
Abstract
In the busy work and life in modern society, and every one of us is closely related
to everyone under the influence of time, in order to make better use of our own time,
we must have a measure of time, resulting in a watch. With the development of
society, science and technology, human beings that time from the view of the sun, the
electronic clock pendulum clock to now, continuous research and innovation. At the
same time in the observation time in order to understand other human related
information, such as temperature, week, date, the birth of the electronic calendar, it set
the time, date and week in a body, with easy to read, intuitive display functional
diversity simple circuit and many other advantages, conform to the trend of the
development of electronic instruments. It has broad market prospects.
The electronic calendar based on MCU AT89C51 as the control core, through the
MCU to control the clock chip DS1302 read the realization of time; the temperature
sensor DS18B20 to realize temperature acquisition; buzzer alarm clock; LCD
QC12864B implementation time, week and temperature display; independent keys to
achieve the adjustment of time and alarm time. This paper mainly introduces the
circuit design and software design of AT89C51 single chip microprocessor and
Dsl302 real-time clock chip. It can display the Gregorian calendar year, month, day,
week, hour, minutes, seconds, and can be adjusted according to the needs of each bit.
Then SCM control LCD display module to display the electronic calendar, gives the
hardware circuit design, software design and programming, through the Proteus
software, the simulation of hardware circuit and software programming, has certain
practical value.
Keywords: SCM; electronic calendar; AT89C51; DS1302; Proteus; simulation
剩余31页未读,继续阅读
资源评论
zzzzl333
- 粉丝: 689
- 资源: 7万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功