)摘要本设计论文介绍了应用STC90C516RD+单片机作为主控芯片的智能数字钟的软、硬件设计,给出了C语言源程序
此数字钟可以将时间、日期、温度、重大节日等显示于液晶屏上
它采用24时计时法,另外设有校时功能,可以调整其时间
电路由控制芯片CPU、时钟信号发生模块、显示模块、温度检测模块及时钟调整电路组成
运用时钟芯片产生标准时钟信号,从时钟芯片直接读出时间、日期等数据,分别经处理后送显示模块
选用LCD液晶屏作为显示器件,显示出清晰、直观的数字符号与汉字
由于时钟芯片长时间工作会产生误差,在电路中设计有时钟调整电路,方便校时
关键词:单片机;STC90C516RD+;数字钟;LCDI)AbstractThispaperintroducestheapplicationofSTC90C516RD+microcontrollerasthemaincontrolchipoftheintelligentdigitalclocksoftware,hardwaredesign,givestheClanguagesourcecode
Thedigitalclockcandisplaythetime,date,temperature,majorfestivals,etc
ontheLCDscreen
Ituses24timemethod,inadditionwiththeschoolfunction,youcanadjustthetime
ThecircuitiscomposedofacontrolchipCPU,aclocksignalgeneratingmodule,adisplaymodule,atemperaturedetectionmoduleandaclockadjustingcircuit
Usetheclockchiptoproducethestandardclocksi