摘要:本设计介绍了基于 STC89C52 单片机电子日历的硬件结构和软件设计方 法。本 设 计 由 温 度 采 集 模 块 、 时 间 处 理 模 块 、 数 据 显 示 模 块 和 调 整 设 置 模 块 四 个 模 块 组 成 。 系统以 STC89C52 单片机作为控制器,以串行时钟日 历芯片 DS1302 记录日历和时间,它可以对年、月、日、时、分、秒进行计时, 并且还具有闰年补偿等多种功能。温 度 采 集 选 用 DS18B20 芯片 , 万年历采 用直观的数字显示,数据显示采用 1602 液晶显示模块,可以在 LCD 上同时显示 年、月、日、星期、时、分、秒,还具有时间校准等功能。此万年历具有读取方 便、显示直观等诸多优点,具有广阔的市场前景。75419

毕业论文关键词:单片机,万年历,温度计

Abstract: This design introduces the hardware structure and the software method of the multi-function electronic calendar,which is based on STC89C52。 This design is composed of four modules: Data display module, temperature acquisition module, time  processing  module  and  set  module。  The  system  uses  STC89C52 single-chip

microcomputer as controller, with the serial clock calendar chip DS1302  recording the calendar and time, it can timing years, months, days, minutes and seconds, it also has a leap year compensation and other functions。 Temperature gathering module chooses DS18B20 as chip, the calendar uses directive digital display, and data shows on the 1602 liquid crystal display module, year, month, day, week, hour, minutes and seconds can be shown on the LCD。 The multi-function electronic calendar still have time calibration function。 Since this calendar has many advantages,  such as being convent to read and displaying directly, it has a broad market prospect。

Keyword: MCU, calendar, thermometer

目录

1 绪论 4

1。1 设计研究的背景 4

1。2 设计的研究目的与意义 4

1。3 课题解决的主要内容 4

2 总体设计 5

2。1 系统功能 5

2。2 系统组成框图 5

2。3 各模块功能介绍 5

3 硬件设计 6

3。1 电路图 6

3。2 各控制模块设计及原理 7

4 软件设计 17

4。1 系统主程序设计 17

4。2 各模块子程序设计 17

5 系统调试 21

5。1 检查硬件链接 21

5。2 检查软件系统 21

5。3 遇到问题及解决方案 22

5。4 调试结果 22

6 总结 23

参考文献 25

致谢 26

附录 27

1 绪论

1。1 设计研究的背景

随着科技的快速发展,时间的流逝,从观太阳、摆钟到现在电子钟,人类不断研究,不 断创新纪录。它可以对年、月、日、时、分、秒进行计时,还具有闰年补偿等多种功能, 而且 DS1302 的使用寿命长,误差小。对于数字电子万年历采用直观的数字显示,可以同 时显示年、月、日、时、分、秒和温度等信息,还具有时间校准等功能。该电路采用 STC89C52 单片机作为核心,功耗小,能在 3V 的低压工作,电压可选用 3~5V 电压供电。

上一篇:STC89C52单片机步进电机控制系统设计+电路图
下一篇:MSP430家居智能灯设计+电路图

单片机数字红外测距系统设计+电路图+程序

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

粉料称重装置的单片机控...

基于TI-DSP平台的电力电子测控平台设计

STM32单片机的无刷直流电机控制系统设计

浅谈传统人文精神茬大學...

多元化刑事简易程序构建探讨【9365字】

浅谈新形势下妇产科护理...

《醉青春》导演作品阐述

拉力采集上位机软件开发任务书

高校网球场馆运营管理初探【1805字】

谷度酒庄消费者回访调查问卷表

中国古代秘书擅权的发展和恶变

国内外无刷直流电动机研究现状

辩护律师的作证义务和保...