摘要
摘要
本文介绍了基于AT89S52单片机的多功能电子万年历的硬件结构和软硬件设计方法。本设计由数据显示模块、温度采集模块、时间处理模块和调整设置模块四个模块组成。系统以AT89S52单片机为控制器,以串行时钟日历芯片DS1302记录日历和时间,它可以对年、月、日、时、分、秒进行计时,还具有闰年补偿等多种功能。温度采集选用DS18B20芯片,万年历采用直观的数字显示,数据显示采用1602A液晶显示模块,可以在LCD上同时显示年、月、日、周日、时、分、秒,还具有时间校准等功能。此万年历具有读取方便、显示直观、功能多样、电路简洁、成本低廉等诸多优点,具有广阔的市场前景。
关键字:万年历温度计液晶显示
I
fABSTRACT
ABSTRACT
Thispaperi
troducesthebasedo
AT89S52multifu
ctio
electro
iccale
darofthehardwarestructurea
dsoftwarea
dhardwaredesig
methodThisdesig
bydatadisplaymoduletemperatureacquisitio
moduletimeprocessi
gmodulea
dsetmodulefourmodulesWithAT89S52si
glechipmicrocomputersystemfortheco
trollertoserialclockcale
darchipDS1302recordcale
dara
dtimeitca
betodatea
dtimemi
utesa
dseco
dsforthetimealsohasaleapyearcompe
satio
a
dotherfu
ctio
sTemperaturegatheri
gchooseDS18B20chipcale
darbyusi
gobjectdigitaldisplaydatashowedthatthe1602Aliquidcrystaldisplaymoduleca
bei
theLCDshowsatthesametimeyearmo
thdaySu
daywhe
mi
utesa
dseco
dsstillhavetimecalibratio
etcFu
ctio
Thiscale
darhasreadtheco
ve
ie
tdirectdisplayfu
ctio
aldiversitysimplecircuitlowcosta
dma
yotheradva
tageshasabroadmarketprospect
Keywords:PerpetualCale
darthermometerLCDdisplay
II
f目录
目录
摘要IABSTRACTII前言IV1绪论111课题研究的背景112课题的研究目的与意义113课题解决的主要内容12系统的方案设计与论证221单片机芯片设计与论证322按键控制模块设计与论证323时钟模块设计与论证324温度采集模块设计与论证425显示模块模块设计与论证43系统硬件的设计531AT89S51单片机532时钟芯片DS1302接口设计与性能分析833温度芯片DS18B20接口设计与性能分析1134LCD显示模块r