登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 电子信息工程 > 正文

基于单片机的万年日历设计毕业论文

 2021-03-27 05:03  

摘 要

在如今这个快节奏的生活中,人们的时间需要人们自己来掌握,当下更加需要功能多样,价格合理的记录时间日期的设备,大众对于时间的精确要求成为了社会市场的需求,同时,在一些公共场所,人们也需要观看精准的时间,如火车站的售票窗口,飞机场的安检,利用大屏幕LED灯等在一些醒目地方提醒当时的时间和日期。

本文设计了基于STC89C52单片机的电子万年历,着重设计关于本任务的硬件设计和软件设计,本次设计可分为四部分,以时钟芯片DS1302为主体的时间处理模块,以DS18B20为主体的温度采集模块,以液晶显示为主体的数据显示模块,还有以调整时间日期为目的的调整设计模块。在第1章主要介绍了本次课题的目的及意义与国内和国外的发展现状,第2章论证了方案的可行性与方案的设计,第3章设计了关于本次课题的硬件,第4章进行了本次课题的软件仿真的过程,第5章进行了本次课题软件仿真及硬件实物的调试过程,第6章记录关于本课题的总结与展望。

通过仿真及实物的制作可实现显示阴历阳历的转换,进行周边温度的实时监测,显示精确到秒的电子时间,矫正时间日期的功能。本次设计具有结构设计简单,价格合理,品质优良,功能齐全,符合市场的需求。

关键词:单片机;万年历;温度显示

Abstract

In today's fast-paced life, people's time needs people to master their own, and now the need for more versatile, reasonably record time and date of the equipment, the precise requirements of time to become the needs of the social market, while in some public Places, people also need to watch the precise time, such as the train station ticket window, the airport security, the use of large-screen LED lights in some eye-catching place to remind the time and date. This article describes the electronic calendar based on stc89c52 microcontroller, focusing on the task of the hardware design and software design, this design can be divided into four parts, the clock chip DS1302 as the main time processing module to DS18b20 as the main body of the temperature acquisition module , To 1602A liquid crystal display as the main data display module, as well as to adjust the time date for the purpose of the adjustment design module. In the first chapter, the author introduces the purpose and significance of this topic and the development situation both at home and abroad. The second chapter demonstrates the feasibility of the scheme and the design of the scheme. The third chapter introduces the hardware and principle of this topic, The fifth chapter introduces the process of software simulation of this topic. The fifth chapter introduces the debugging process of software and the debugging of hardware. The sixth chapter records the summary and prospect of this topic.

Through the simulation and the production of real can show the conversion of lunar calendar, the ambient temperature of the real-time monitoring, display accurate to the second time of the electronic time, correction time date function. This design has a simple structure design, reasonable price, good quality, full-featured, in line with market demand.

Key words: microcomputer;calendar;temperature display

目 录

第1章 绪论 1

1.1 目的及意义 1

1.2 国内发展及现状 2

1.3 国外发展及现状 3

1.4研究内容和章节安排 4

第2章 总体设计与方案选择 5

2.1 整体设计 5

2.2 主控芯片的选择 5

2.3 时间计数的材料选择 6

2.4 温度测量的材料选择 6

2.5 显示屏的材料选择 6

2.6 按键种类的选择与分析 7

2.7 本章总结 7

第3章 电子万年历的硬件设计 8

3.1 STC89C52单片机的性能及原理分析 8

3.1.1 STC89C52单片机的引脚功能及性能 8

3.1.2 单片机的内部功能 9

3.2 晶振电路的设计 12

3.3 复位电路的设计 12

3.4 时钟芯片的设计 12

3.5 温度芯片DS18B20工作原理 14

3.6 按键实现的功能 14

3.7 本章总结 15

第4章 电子万年历的软件设计 16

4.1 软件设计的原理 16

4.2 软件设计的仿真设计 16

4.3 软件的具体模块设计 18

4.3.1 时钟芯片的程序设计 18

4.3.2 温度软件的设计 20

4.4本章总结 20

第5章 软硬件的调试 21

5.1 软件的调试 21

5.2 硬件的调试 21

5.3 本章总结 23

第6章 总结与展望 24

6.1 总结 24

6.2 展望 24

参考文献 25

致谢 26

第1章 绪论

1.1 目的及意义

在如今,电子产品的普遍性与廉价性已经深入到我们每个人的心里,例如一些电子书便于携带,价格低廉,人们可以更加方便的在网上查找推送自己喜欢的书籍,亦可以与他人分享等优势逐渐被人们所认可,并对纸质书产生了较大的冲击。电子商务的方便快捷在现代的生活中被消费者所青睐,并且对传统店铺行业产生了很大的影响,同样,人们对于时间的把控也到了一个前所未有的高度,而且年轻一代的人们更加重视实用性,传统的指针手表价格昂贵,功能单一,例如热爱运动的年轻一代需要秒表记录与他人的点滴差距,从事精密工作的则需要更加精确的把握时间的设备,所以象征尊贵的传统手表正逐渐淡出年轻一代的视线,人们如今更看重一个物品的性价比。

大约十年之前,在我们的普通家庭中还可以看到纸质的日历台历的影子,但随着电子行业的发展与进步,当下在我们的日常生活中,纸质的台历日历早已经成为我们熟悉的记忆,电子万年历取代纸质万年历已经是大势所趋[1]。由于近来兴起的国学热,传统文化再一次被重视,越来越多年轻一辈在观看时间的同时关注一下阴历是多少,阳历是多少,各个地区风俗习惯不同,有的地方习惯于看阳历,有的则是阴历,因此传统不具备阴阳历互换的产品会逐渐被市场所淘汰[2]。新型的具有阴阳历互换的电子日历随着时代的呼唤应运而生。如今的年轻一代对于时尚的追求也是到了一个新的高度,新型的电子日历在外观的包装和设计上也需要迎合年轻一代的各种口味。

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图