毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

STC89C52单片机多功能数字钟的系统设计+电路图+程序

时间:2023-11-09 22:35来源:毕业论文
STC89C52单片机多功能数字钟的系统设计+电路图+程序,将STC89C52作为数字钟的核心控制器,通过DS1302数字时钟芯片进行秒,分,时、年、月、日来计时实现计时校时功能

摘 要:随着社会的不断发展,人们对时钟的要求越来越高,老式的钟表已经不能满足日益发展的社会。因此,本设计基于单片机实现多功能数字钟的设计显得尤为重要。此设计将STC89C52作为数字钟的核心控制器,通过DS1302数字时钟芯片进行秒,分,时、年、月、日来计时实现计时校时功能,将其时间数据经单片机输出,利用LCD1602显示器显示出来,利用DS18B20对室内环境进行实时的温度检测,并且通过按键可以对时钟、星期、年月、进行调节,此外还能实现闹钟,校准时间等功能。在软件设计方面主要包括时间程序、日历程序、时间校准程序、显示程序,闹钟设定程序、温度检测程序等。在编写完所有程序并在KEIL软件中编译无误后,再通过串口烧录到单片机中,最终进行软硬件联调,达到上述要求,从而实现一个多功能数字钟的设计。91042

毕业论文关键词:数字钟,单片机,DS1302,DS18B20,

Abstract:With the continuous development of society, people are increasingly demanding on the clock, the old-fashioned clock has been unable to meet the growing social。 Therefore, this design is based on single-chip digital clock design is particularly important。 This design will STC89C52 as the core controller of the digital clock, the digital clock chip DS1302 seconds, when the year month day to achieve timing school function, the time data by the MCU output, using LCD1602 display, real-time temperature detection of the indoor environment using DS18B20, and the regulation of clock, week, date, you can button, also can achieve the alarm clock, time calibration and other functions。 In the software design, including the time program, calendar procedures, time calibration procedures, display procedures, alarm clock settings, temperature detection procedures, etc。。 In the preparation of all the procedures and the KEIL software in the compiler, then through the serial port to burn the microcontroller, the final hardware and software combination, Meet the above requirements so as to achieve a multi-functional digital clock design。

KEYWORDS: electronic clock,MCU,DS1302,DS18B20 

目  录

1  绪论 3

1。1 课题背景 3

1。2 课题意义 3

系统总体方案设计 3

2。1 设计要求 3

2。2 方案选择和论证 3

2。2。1 单片机的选择 3

2。2。2 显示方案的选择 4

2。2。3 时钟模块的选择 5

2。2。4 温度传感器的源G于J优L尔V论N文M网WwW.youeRw.com 原文+QQ75201`8766 选择 5

3  系统硬件设计 5

3。1 整体方案设计 5

3。1。1 系统概述 5

3。1。2 系统框图 6

3。2 最小系统模块 6

3。2。1 STC89C52简介 6

3。2。2 最小系统电路 9

3。3 液晶显示电路 9

3。3。1 1602液晶简介 9

3。3。2 液晶引脚说明 10

3。3。3 指令介绍 10

3。3。4 液晶显示模块电路 STC89C52单片机多功能数字钟的系统设计+电路图+程序:http://www.youerw.com/zidonghua/lunwen_198422.html

------分隔线----------------------------
推荐内容