摘要:本文介绍了基于STC89C52单片机运行的多功能电子万年历的软硬件的设计方法。此设计分别有按键模块、时间模块和数据显示模块三个模块组成,此外,还添加了以DS18B20温度传感器为主的测温模块。该系统以STC89C52为主控制器,通过实时时钟芯片DS1302来获取时间,该芯片不仅可以对年、月、日、周、时、分、秒进行计时,而且还具有闰年补偿等多种功能。万年历采用1602A液晶显示模块来显示,可以根据需求在LCD上显示年月日,时分秒,星期和平闰年以及温度情况,数据清晰直观。此万年历电路设计简单、成品功能多样、显示直观、价格低廉,较其它新一代电子钟产品,其性价比较高具有非常广阔的市场前景。90896

毕业论文关键字:万年历,实时时钟,液晶显示

Abstract:This paper introduces the design method of hardware and software of multi-function electronic calendar based on the STC89C52 MCU operation。 This design respectively time adjustment module, time processing module and data display module of three modules, in addition, also added to the DS18B20 temperature sensor temperature measurement module mainly。 The system with STC89C52 as the main controller, with real-time clock chip DS1302 to record the calendar and time, the chip can not only on the year, month, day, week, time, minutes, seconds for time, but also has a leap year compensation and other functions。 The calendar with 1602A liquid crystal display module to display Can, intermittent display date, in the LCD hour, week of peace leap year, the data is visual and clear。 This calendar has simple circuit design, product functions, visual display, low price, is a new generation of electronic clock products, its high price has a very broad market prospects。

Key words:Calendar, Real-time clock, LCD display 

目录

1 前言 4

2绪论 5

2。1课题研究的背景 5

2。2课题研究的目的与意义 5

2。3 课题需要解决的主要内容 5

3 系统的方案与论证 5

3。1 单片机芯片的选择 6

3。2 时钟模块的设计 6

3。3 显示模块的设计 7

3。4 按键模块的设计 7

4 系统硬件设计 7

4。1 单片机芯片--STC89C52 7

4。2 时钟芯片--DS1302的设计与分析 8

4。2。1芯片分析 8

4。2。2 DS1302的接口电路设计 8

4。2。3 DS1302的控制字设计 9

4。3温度芯片DS18B20的接口设计与性能分析 9

4。3。1DS18B20的主要特性 10

4。3。2 DS18B20的工作原理 10

4。3。3 DS18B20接口电路设计 11

4。4 LCD显示模块 12

4。4。1 LCD1602接口信号分析 12

4。4。2 LCD1602指令说明 12

4。4。3 LCD1602接口电路设计 13

4。5按键模块设计 13

4。6复位电路的设计

上一篇:STC89C51单片机微型电子琴的设计+源代码+J电路图
下一篇:STC89C51单片机大棚温度湿度综合参数显示系统设计+源代码+电路图

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

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

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

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

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

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

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

论商业银行中间业务法律...

透过家徽看日本文化家紋から見る日本文化

高校体育场馆效益研究【2772字】

企业科研管理中统计报表...

农村幼儿教育开题报告

ASP.net+sqlserver会员管理系统设计

华夫饼国内外研究现状

基于安卓平台的二维码会议管理系统设计

家电制造企业绿色供應链...

“时尚与旅游”电子杂志的设计制作