登录

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

注册

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

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 电子科学与技术 > 正文

基于单片机的多功能语音数字钟的设计与实现毕业论文

 2021-06-24 10:06  

摘 要

从古至今,时间对于每个人来说都是非常重要的衡量标准,每个人都会受到时间的影响,当今社会,一个快速发展的社会,人类更离不开与时间进行赛跑,这时,就需要衡量时间的一个尺度,电子数字钟已经成为我们日常生活中重要的伙伴,看着时间匆匆流逝,提醒着我们要珍惜时间,加快行动的脚步,用有限的时间里做更多的事。对于老人和孩子,更为人性化的时钟可以更有效的提醒他们时间。

本文设计的多功能语音数字钟主要采用STC89C52单片机作为主控核心,由DS1302时钟芯片提供时钟、DS18B20采集温度、LCD1602液晶屏进行显示、万年历语音芯片进行报时。系统主要由按键部分、时钟部分、温度部分、语音报时部分及显示部分五个模块组成。本文详细的介绍了设计过程,每个芯片的用法和功能,程序的编写方法以及总体设计方案。程序在Keil上用C语言进行编写,下载到下载器中,使用Altium Designer软件设计硬件电路绘制PCB原理图,最后焊接硬件电路,使多功能语音数字钟可以实现显示万年历和温度的功能,中文语音播报使时间更加的生动。

设计的成果表明此多功能语音数字钟具有方便读取,功能更具多样化和人性化的特点,并且符合数字化的发展趋势,具有非常广阔的市场前景。

关键词:数字钟;单片机;液晶显示;温度;语音报时

Abstract

From ancient times to the present, the time for everyone is very important standard to weigh , everyone will be influenceby the time , in today's society,which is a rapid development of the society, human beings can not be separated from the race with time. At this point, we need to measure the time of a scale, electronic digital clock has become important in our daily life partner, looking at the time passes in a hurry, reminding us to cherish the time and accelerating the pace of the, in a limited time to do more things. For the elderly and children, more human nature of the clock can be more effective to remind them of their time.

In this paper, the design of the multifunctional digital voice clock mainly adopts STC89C52 as the core of the main control, and the DS1302 clock chip provides clock, DS18B20 temperature acquisition, the LCD1602 screen display, calendar chips for voice timekeeping. The system is mainly composed of a key part and a clock part, temperature, time voice part and the display part is composed of five modules. This paper describes in detail the design process, the use and function of each chip, the preparation method of the program and the overall design of the program. Program in keil use C language to write, and then download to downloader .Using Altium Designer software to design and hardware circuit PCB schematic drawing.Final ly,welding hardware circuit.Voice multi-function digital clock can display the function of calendar and temperature, Chinese speech broadcast time is more vivid.

The result of the design shows that the multifunctional digital clock has the advantages of convenient reading, more diversified and humanized function, and it has a very broad market prospect.

Keywords: digital clock;microcontroller;LCD display;temperature;voice broadcast

目 录

第1章 绪论 1

1.1课题研究的意义 1

1.2本文的主要的研究工作 1

1.2.1研究内容 1

1.2.2论文章节安排 2

1.3本章小结 2

第2章 相关芯片的调研和选择 3

2.1单片机芯片的选择 3

2.2显示模块选择 3

2.3时钟芯片的选择 3

2.4温度传感器的选择 4

2.5语音报时系统的选择 4

2.6电路设计最终方案决定 4

2.7本章小结 5

第3章 多功能语音数字钟的电路设计 6

3.1 系统的设计思路 6

3.1.1设计流程和预期成果 6

3.2主要单元电路的设计 7

3.2.1 STC89C52单片机简介 7

3.2.2 单片机主控制模块的设计 8

3.2.3 时钟电路模块的设计 10

3.2.4 温度传感器电路设计 12

3.2.5 语音播报设计 13

3.2.6 闹钟报警及温度预警电路设计 14

3.2.7 独立式键盘设计 15

3.2.8 显示模块的设计 15

3.3本章小结 17

第4章 多功能语音数字钟的软件设计 18

4.1程序流程图 18

4.1.1 系统总流程图 18

4.1.2 温度程序流程图 19

4.1.3 DS1302时钟程序流程图 20

4.1.4 LCD显示程序流程图 20

4.2程序的设计 21

4.2.1 DS18B20测温程序设计 21

4.2.2 DS1302读写程序设计 22

4.2.3液晶显示程序设计 22

4.2.4语音整点报时程序设计 23

4.3本章小结 24

第5章 软硬件调试 25

5.1硬件调试 25

5.1.1硬件焊接 26

5.1.2硬件检查 26

5.2 软件调试 26

5.3 实物测试与分析 27

第6章 总结与展望 29

参考文献 30

附录A 31

附录B 32

致 谢 48

第1章 绪论

1.1课题研究的意义

随着电子技术的迅速发展,特别是大规模集成电路的出现,人类的物质生活极大丰富,多姿多彩,伴随着单片机技术的应用产品更多的出现在我们的生活中,我们的生活品质也得到了飞跃式的提高。多功能数字钟便是这一发展趋势中的代表,它在我们的生活中随处可见,给我们的生活带来了便利,我们已经越来越离不开它们。但传统的功能单一的数字万年历已经逐渐失去了市场,顺应技术发展和人们生产、生活需求,各种功能的新式电子万年历不断涌现,且功能不断更新[1]

本系统以51单片机为核心,设计出了多功能语音数字钟的基本设计方案,并制作出实物进行了验证,并详细介绍了该电子万年历能够实现的各项功能,那就是能够将现在时刻的时间,星期以及日期以及温度信息通过液晶屏显示出来,还可以通过语音播报更加方便的获取时间和温度的信息。同时语音整点报时功能可以增强人们的时间观念。

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

企业微信

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