)摘要本设计论文介绍了应用STC90C516RD+单片机作为主控芯片的智能数字钟的软、硬件设计,给出了C语言源程序。此数字钟可以将时间、日期、温度、重大节日等显示于液晶屏上。它采用24时计时法,另外设有校时功能,可以调整其时间。电路由控制芯片CPU、时钟信号发生模块、显示模块、温度检测模块及时钟调整电路组成。运用时钟芯片产生标准时钟信号,从时钟芯片直接读出时间、日期等数据,分别经处理后送显示模块。选用LCD液晶屏作为显示器件,显示出清晰、直观的数字符号与汉字。由于时钟芯片长时间工作会产生误差,在电路中设计有时钟调整电路,方便校时。关键词:单片机;STC90C516RD+;数字钟;LCDI)AbstractThispaperintroducestheapplicationofSTC90C516RD+microcontrollerasthemaincontrolchipoftheintelligentdigitalclocksoftware,hardwaredesign,givestheClanguagesourcecode.Thedigitalclockcandisplaythetime,date,temperature,majorfestivals,etc.ontheLCDscreen.Ituses24timemethod,inadditionwiththeschoolfunction,youcanadjustthetime.ThecircuitiscomposedofacontrolchipCPU,aclocksignalgeneratingmodule,adisplaymodule,atemperaturedetectionmoduleandaclockadjustingcircuit.Usetheclockchiptoproducethestandardclocksignal,fromclockchipdirectlyreadtimeanddatedata,respectivelytheevacuationdisplaymodule.LCDscreenasadisplaydevice,showingaclear,intuitivedigitalsymbolsandChinesecharacters.Duetotheclockchiplongtimeworkwillproduceerror,inthecircuitdesignoftheclockcircuit,theconvenienceofschool.Keywords:Single-chipmicrocomputer;STC90C516RD+;Digitalclock;LCDII)目录第一章绪论......................................................................................................11.1前言.................................................................................................................11.2课题来源.........................................................................................................1第二章数字钟的功能实现与设计方案..........................................................32.1数字钟的功能及设计要求.............................................................................32.2数字钟的实现形式.........................................................................................32.2.1用NE555电路的形式.........................................................................32.2.2采用基于单片机的实现形式..............................................................42.2.3采用石英钟专用芯片的实现形式......................................................42.3方案的确定.....................................................................................................42.3.1微处理器..............................................................................................42.3.2时钟信号模块......................................................................................52.3.3显示电路..............................................................................................52.3.4按键电路..............................................................................................52.3.5温度检测电路......................................................................................6第三章数字钟的硬件系统设计........................................................................73.1数字时钟的硬件系统框架.............................................................................73.2数字时钟的主机电路设计.............................................................................73.2.1系统控制芯片CPU(STC90C516RD+)的选...