多功能校庆倒计时系统设计毕业论文

 2021-04-15 12:04

摘 要

随着时代的发展,人们开始对一些活动进行倒计时,比如对校庆进行倒计时,并发明各类倒计时系统。倒计时系统可以帮助人们为某件事提前做好准备、提高期待感和关注度。

首先,得出倒计时系统的整体硬件构成以及原理。接着,采用美国的Atmel公司生产的AT89C51单片机来作为核心,采用美国的Dallas公司生产的DS1302时钟芯片来实现实时计时功能,采用24C02芯片来实现存储功能,采用LMO16L液晶模块来作为液晶显示屏,采用RESPACK-8排阻作为AT89C51单片机P0口的上拉电阻,采用无源蜂鸣器来产生声音,在AT89C51单片机的P3口上连接四个按键来作为按键输入模块。然后使用AD画图软件画好电路图,再根据原理图,用Proteus软件画好仿真图,用Keil C51编译软件编写程序。最后再进行系统的调试。

可以设置系统时间、校庆时间,并且能够在液晶显示屏上显示系统时间、当前环境的温湿度、系统时间距离校庆时间的天数,而且在系统时间与校庆时间一样的时候,无源蜂鸣器会发出声响。

关键词:多功能校庆倒计时;定时设置;温湿度显示;蜂鸣器报警

Design of Multifunctional Countdown System for School Celebration

ABSTRACT

With the development of the times, people began counting down some activities, such as counting down the school anniversary and inventing various countdown systems. Countdown system can help people prepare for something in advance, improve expectations and attention.

Firstly, the overall hardware structure and principle of the countdown system are obtained. Then, the AT89C51 single-chip computer produced by Atmel Company of the United States is used as the core, the DS1302 clock chip produced by Dallas Company of the United States is used to realize the real-time timing function, the 24C02 chip is used to realize the storage function, the LMO16L liquid crystal module is used as the liquid crystal display screen, the RESPACK-8 block is used as the pull-up resistance of the P0 port of AT89C51 single-chip computer, and the passive buzzer is used to produce it. The voice is generated. Four keys are connected to the P3 port of AT89C51 single chip computer as the key input module. Then use AD drawing software to draw the circuit diagram, then according to the schematic diagram, use Proteus software to draw the simulation diagram, and use Keil C51 to compile the program. Finally, the system is debugged.

It can set the system time and the school anniversary time, and can display the system time, the temperature and humidity of the current environment, the number of days from the system time to the school anniversary time on the LCD screen. Moreover, when the system time is the same as the school anniversary time, the passive buzzer will emit sound.

Key words: Multifunctional countdown of school anniversary; Timing setting; Temperature and humidity display; Buzzer alarm

目录

1前言 1

1.1 课题研究的目的及意义 1

1.2 国内外同类研究概况 1

1.3本设计内容及实现功能 2

2 多功能校庆倒计时系统的设计方案 3

2.1 倒计时系统的设计描述 3

2.2 倒计时系统的总体设计方案 3

2.3倒计时系统各模块的设计方案选定 3

2.4 倒计时系统模块的框图 6

3多功能校庆倒计时系统的硬件设计 7

3.1液晶显示硬件设计 7

3.2时钟芯片硬件设计 8

3.3温湿度采集硬件设计 9

3.4按键输入硬件设计 9

3.5蜂鸣器硬件设计 10

3.6单片机最小系统硬件设计 11

3.7存储模块硬件设计 13

4 多功能校庆倒计时系统的软件设计 14

4.1时钟模块软件设计 15

4.2显示模块软件设计 16

4.3温湿度采集模块软件设计 17

4.4蜂鸣器模块软件设计 18

4.5按键模块软件设计 18

4.6存储模块软件设计 19

5 系统的调试 22

5.1 调试的环境 22

5.2调试的操作过程 22

5.3系统调试的结果 23

5.4系统调试的心得 24

6总结与展望 26

致谢 27

参考文献 28

附录................................................................................................................................................. 30

1前言

课题研究的目的及意义

随着时代的发展,人们开始对一些活动进行倒计时,发明各类倒计时系统。而倒计时系统可以帮助人们为某件事提前做好准备、提高期待感和关注度。

倒计时系统可设置某一日期进行倒计时,可在屏幕上显示当前的秒、分、时、日等数字和当前时间距离设定日期的天数。倒计时系统一般有单片机、时钟等结构,并有显示电路等关键技术,且性能稳定、工作时间长,在强日光下也能清楚看见显示屏的字符。

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

课题毕业论文、开题报告、任务书、外文翻译、程序设计、图纸设计等资料可联系客服协助查找,优先添加企业微信。