登录

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

注册

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

找回密码

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

基于STC89C52单片机的电子万年历的设计毕业论文

 2022-03-31 08:03  

论文总字数:15304字

摘 要

随着单片机技术发展进步,人类的生活已经离不开单片机技术的应用产品。人类在不断地学习进步,科学技术也在不断发展,人们从最开始的通过观察太阳的位置到大摆钟再到现在的电子时钟,观时方式一直在创新。电子万年历的不断更新方便了人们的生活。本文主要介绍了基于STC89C52单片机的多功能电子万年历的设计。本设计主要是由主控模块、电源模块、显示模块、温度模块、时钟模块、发声模块和按键模块七个模块组成。系统以STC89C52单片机作为主控芯片,单片机可靠性高、控制能力强。时钟模块选用串行时钟芯片DS1302,可以对年、月、日、时、分、秒进行计时,同时还具有平闰年补偿等多种功能。温度模块选用DS18B20芯片,用来实时温度采集。发声模块采用ISD1760进行录放音语音播报,蜂鸣器作为闹钟。本设计的万年历采用直观的LCD显示,显示模块采用LCD1602液晶显示,可以在LCD1602上切换显示日历、时间、农历、二十四节气等信息,还具有时间校准等功能。本文详细介绍了系统硬件和软件的设计过程,系统调试表明本文设计的万年历不仅性能优越,稳定性强,而且还具有很高的性价比,符合发展趋势,市场前景广阔。

关键词:STC89C52 万年历 温度采集 录放音 液晶显示

The design of Electronic Calendar based on STC89C52 Microcontroller

Abstract

With the rapid development of science and MCU, human beings have been researching and setting new records continually for timekeeping from observing the sun, pendulum to electronic clock. At the present,the electronic clock based on MCU technology brings many convenience for people’s lives.The paper introduces the hardware structure and software and hardware design method of multi-function electronic calendar which is based on STC89C52 microcontroller. The design is consisted of MCU module,power module, display module, temperature module, clock module, sound module and keypad module. The system takes the STC89C52 microcontroller as the controller and uses serial clock and calendar chip DS1302 to record calendar and time. It can undertake timing for year, month, day, hour, minute and second. It also has the function of Leap Year compensation and others functions. Temperature collection selects DS18B20 chip, calendar uses intuitive figures display and data display chooses 1602 LCD module. It can display year, month, day, hour, minute and second on LCD1602 and has the function of time correction and others functions. Sound module selects ISD1760 to conduct voice broadcast by audio playback and uses buzzer as clock. The calendar has many advantages, such as easy to read, digital display, versatile, simple circuit and low cost. It has broad market prospects.

Key words: STC89C52 ;Calendar; Temperature collection; Audio playback ;LCD display

目 录

摘 要 I

Abstract II

第一章 绪 论 1

1.1 课题研究的背景 1

1.2 研究的目的和意义 1

1.3 设计要求 2

第二章 系统总体设计方案 3

2.1 系统总体构成 3

2.2 系统主要模块方案选择 3

2.2.1 主控芯片 3

2.2.2 时钟模块 4

2.2.3 温度模块 5

2.2.4 语音模块 5

2.2.5 显示模块 7

第三章 系统硬件设计和实现 8

3.1 主控模块基本电路 8

3.1.1 最小系统 8

3.1.2 时钟电路 8

3.1.3 复位电路 9

3.2 电源模块电路 9

3.3 时钟模块电路 10

3.3.1 DS1302引脚说明 10

3.3.2 DS1302接口电路设计 11

3.4 温度采集电路 11

3.4.1 DS18B20接口电路设计 11

3.5 发声模块电路 12

3.5.1. ISD1760录放音芯片 12

3.5.2 STC89C52与录放音模块连接电路设计 13

3.5.3 蜂鸣器电路 13

3.6 按键模块电路 14

3.7 LCD显示电路 15

3.7.1基本操作时序 15

3.7.2 LCD1602与MCU的接口电路 15

第四章 软件设计和仿真 16

4.1 系统软件设计 16

4.1.1 开发工具介绍 16

4.1.2 系统程序设计 16

4.2 系统的仿真 23

4.2.1 仿真环境介绍 23

4.2.2 电路仿真过程 23

4.2.3 仿真结果 24

第五章 系统硬件调试 27

5.1 调试过程 27

5.2 调试结果 27

总 结 30

参考文献 31

致 谢 33

第一章 绪 论

1.1 课题研究的背景

时间是描述事件发生过程的基本物理量,我们在每做一件事的时候时间都在流逝,不管你是睡觉还是吃饭,时间一直在变化,所以时间的记录一直在人们生活中必不可少的。随着人类的不断学习研究,科学技术的发展创新,计时方式从最开始的观察太阳位置变化到大摆钟再到如今的电子时钟,人类计时的方式在不断的进步,功能也在不断的完善。如今的电子万年历不仅仅有最基本的计时功能,还结合了很多实用的功能,比如测温、平闰年、闹钟、语音报时、24节气等等。

温度是描述物体冷热程度的物理量,是人们生活方式的一个导向指标,也是工农业生产中的一个重要参数。温度的测量在工农业产品生产质量和效率有着重大意义,一定程度上可以节约能源,保证安全。同时温度的测量与人们的日常生活息息相关,人们的衣食住行都要参考温度的变化。可以说温度的测量在生活中有着举足轻重的角色。把电子万年历和温度测量相结合可以很大程度的方便人们的生活。

请支付后下载全文,论文总字数:15304字

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

企业微信

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