单片机电子时钟摘要:在日常生活中,电子时钟与我们密切相关,在很多地方都会用到电子时钟。除了专用的时钟、计时显示牌外,许多应用系统常常也带有实时时钟显示,如各种智能化仪器仪表、工业过程控制系统以及家用电器等。实现电子时钟的方法有多种,通过前面我们对单片机基本理论及相关知识的学习,在这里,要求用单片机为主控制芯片设计一简单的单片机电子时钟。近年来随着计算机在社会领域的渗透和大规模集成电路的发展,单片机的应用正在不断地走向深入,由于它具有功能强,体积小,功耗低,价格便宜,工作可靠,使用方便等特点,因此特别适合于与控制有关的系统,越来越广泛地应用于自动控制,智能化仪器,仪表,数据采集,军工产品以及家用电器等各个领域,单片机往往是作为一个核心部件来使用,在根据具体硬件结构,以及针对具体应用对象特点的软件结合,以作完善。关键词:电子时钟;单片机;计时SCMElectronicClockAbstract:Inourdailylife,theelectronicclockiscloselyrelatedtotheelectronicclockwhichwillbeusedinmanyplaces.Inadditiontoadedicatedclock,timinglicenses,therearemanyapplicationswhichoftenwithreal-timeclockdisplay,suchasavarietyofintelligentinstrumentation,industrialprocesscontrolsystemsandhomeappliances.TherearemanywaystorealizetheElectronicclock,throughthefrontoflearningourSCMbasictheoryandrelatedknowledge,here,themicrocontroller-basedcontrolchipdesignasimplesingle-chipelectronicclock.WiththedevelopmentofcomputerpenetrationinthesocialfieldandLSIinrecentyears,theusingofmicrocontrollerapplicationsisconstantlygodeeper,becauseithasthefeaturesofasmallsize,lowpowerconsumption,cheap,reliable,easytouse.Thereforeitisparticularlysuitableforthecontrolofthesystem,moreandmorewidelyusedinautomaticcontrol,Intelligentinstruments,dataacquisition,andmilitaryproductsandhomeappliances,SCMoftenusedasacorecomponentinthestructure,accordingtothespecifichardwareandsoftwareforapplication-specificobjectcharacteristicscombinedtomakeperfect.Keywords:electronicclock;microcontroller;timing目录第一章引言.....................................................................11.1课程设计的目的...........................................................11.2课程设计内容.............................................................1第二章总体方案设计.............................................................2I2.1总体思想--方案论证.......................................................22.2方案的选择...............................................................2第三章硬件系统设计.............................................................43.1总电路设计...............................................................43.2器件的介绍...............................................................43.3单元模块设计.............................................................6第四章软件系统设计.............................................................94.1软件程序思想.............................................................94.2主程序及流程图...........................................................94.3子程序及流程图..........................................................12第五章系统仿真................................................................165.1KEIL51介绍............................................................165.2PROTEUS介绍............................................................205.3仿真过程及仿真结果......................................................28第六章结束语..................................................................29致谢........