基于AT89C51单片机电子万年历设计--毕业设计
电子万年历设计摘 要:随着当今世界经济的快速发展和信息化时代的来临,各种各样的小型智能家电产品陆续出现在我们的生活中。日历是人们不可或缺的日常用品。但一般日历都为纸制用品,使用不便,寿命不长。电子万年
电子万年历设计 随着当今世界经济的快速发展和信息化时代的来临,各种各样的小型智能家 摘要: 电产品陆续出现在我们的生活中。日历是人们不可或缺的日常用品。但一般日历都为 纸制用品,使用不便,寿命不长。电子万年历采用智能电子控制和显示技术,改善了 纸制日历的缺陷。本设计以AT89S52单片机为核心,构成单片机控制电路,结合 DS1302时钟芯片和24C02FLASH存储器,完成时间的自动调整和掉电保护,全部信息 用液晶显示。时间、日期调整由三个按键来实现,并可对闹铃开关进行设置。日历能 显示阳历和阴历年、月、日以及星期、时、分、秒。在显示阴历月份时,能标明是否 闰月。 电子万年历52系列单片机时钟芯片FLASH存储器液晶显示 关键词: TheDesignofElectronicCalendar Abstract: Withtherapiddevelopmentofworldeconomyandtheforthcomingof informationera,manykindsofmini-typeintelligentdomesticelectricappliancesappearin ourlifeoneafteranother.Calendarsarenecessarydailygoodsinpeople’slife.Buttheyare generallypapergoodswithinconvenientuseandshortlife.Electroniccalendaradoptsthe technologyofintelligentelectroniccontrolanddisplay,andthenimprovesthedeficiency ofpapercalendars.ThedesignadoptsthecoreofAT89S52singlechipmicrocomputer, whichconstitutescontrollingcircuit,andintegratesDS1302clockchipand24C02FLASH memory,whichachieveself-adjustingoftimeandnopowerprotecting.LCDdisplaysall information.Timeanddateadjustingiscarriedoutbythreekeys,whichcanalsosetthe alarmclock.Thecalendarcandisplaysolarandlunaryear,month,day,week,hour,minute, second.Whendisplayinglunarmonths,leapmonthisshowed. Keywords: electroniccalendar52seriessinglechipmicrocomputerclockchipflash memoryLCD 1

