毕业论文

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

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

时间:2021-12-24 20:47来源:毕业论文
以STC89C52为核心,设计一个多功能电子钟系统,该系统有走时,校时,温度显示,红外遥控等功能。该系统以DS1302作为时钟芯片,DS18B20作为温度传感器,数码管显示时间

摘 要:随着电子技术的发展,多功能电子钟已越来越深入到人们的日常生活中。本设计以STC89C52为核心,设计一个多功能电子钟系统,该系统有走时,校时,温度显示,红外遥控等功能。

该系统以DS1302作为时钟芯片,DS18B20作为温度传感器,数码管显示时间,点阵显示星期,LCD1602实时显示日期、温度及闹钟等辅助信息,来回流水灯作为装饰,通过矩阵按键或遥控器进行校时和设置定时闹钟时间。本设计以KST-51开发板作为硬件平台,用Keil软件对C语言程序代码进行编译。经过测试,该系统能够正常完成预定的时间显示、温度显示、闹钟设置等功能。76073

毕业论文关键词:STC89C51,DS1302,LCD1602,电子钟,多功能

Abstract:With the development of electronic technology, the multi-function electronic clock has more and more deep effects on people's daily life。 With STC89C52 as the core, this paper designs a multi-function electronic clock system。 The system has plenty of functions, such as running time, adjusting time, display temperature, infrared remote control。 

DS1302 as the system clock chip, DS18B20 as temperature sensor, the digital tube displaying time, dot matrix displaying week, LCD1602 real-time display auxiliary information such as dates, temperature and an alarm clock, flowinglight as adornment。 Which is through matrix buttons or remote control adjusts time and sets the alarm clock time。 This design with KST- 51 development board as hardware platform uses the C language code to compile in Keil software。 After testing, the system can accomplish the normal time display, temperature display,alarm function and so on。

Keywords:STC89C51, DS1302, LCD1602,electronic clock,multi-function

目  录

1 绪论 5

1。1 电子时钟的研究背景 5

1。2 电子时钟的国内外研究现状 5

2 总体方案设计 6

2。1 系统的需求分析 6

2。2 系统的硬件框图设计 7

2。3 系统的设计流程 9

2。4 系统的程序结构规划 8

3 系统硬件设计 9

3。1 硬件芯片介绍 9

3。1。1 单片机STC89C52 9

3。1。2 实时时钟芯片DS1302 9

3。1。3 温度传感器DS18B20 11

3。1。4 液晶显示屏LCD1602 12

3。2 系统硬件架构 14

3。2。1 单片机最小系统 14

3。2。2 时钟模块 15

3。2。3 温度传感器模块 15

3。2。4 液晶显示模块 16

3。2。5 按键模块 17

3。2。6 蜂鸣器报警模块 18

4 系统软件设计 19

软件设计总体说明 19

5 系统调试 20

5。1 最小系统的调试 20

5。2 功能模块调试 20

5。2。1 1602液晶功能调试 STC89C52单片机的多功能电子钟系统设计+电路图+程序:http://www.youerw.com/zidonghua/lunwen_87172.html

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