基于单片机的电子时钟设计摘 要现今,高精度的计时工具大多数都使用了石英晶体振荡器,由于电子钟,石英表,石英钟都采纳了石英技术,因此走时精度高,稳定性好,使用方便,不需要常常调校。数字式电子时钟用集成电路计时,译码代替机械式传动,用 LED 显示器代替显示器代替指针显示进而显示时间,减小了计时误差,这种表具有时,分,秒显示时间的功能,还可以进行时和分的校对,片选的灵活性好。近年来随着科技的飞速进展。单片机、PLC 的应用不断地走向深化。同时带动传统的控制检测技术的不断更新。可以采纳早期的模拟电路、数字电路或模数混合电路。本设计利用单片机实现数字时钟计时功能的主要内容,其中 AT89C51 是核心元件同时采纳数码管动态显示“时”,“分”,“秒”的现代计时装置。与传统机械表相比,它具有走时精确,显示直观等特点。它的计时周期为 24 小时,显满刻度为“23 时 59 分 59 秒”,另外具有校时功能,断电后有记忆功能,恢复供电时可实现计时同步等特点。关键词:单片机,AT89C51,LED,显示器,电子时钟BASED ON SCM ELECTRONIC CLOCK DISIGNABSTRACTNow, most of the high precision tools have used quartz crystals oscillator. As the electron clock, quartz watches and quartz have adopted quartz technique , which is empty and high precision,good stability,andconvenience, there is no need to constantly adjust the use of electronic clock. Digital watches, which have reduced the timing errors and hve the houre、minite and second and can also underway and proofreading and slice of flexibility, have used integrated circuit to count time, in which decoding have replaced michical driven, and led display monitors replaced the pointer to display time. In recent years as technology evolved, microcontroller and PLC applications have go fother. promoting traditional control testing technical updating earlier. You can use the earlier digital circuit or circuit and hybrid circuit . In this complment, we have used the microcontroller to make true the timing of the digital clocks...