摘要
电子时钟由AT89C51、BUTTON、六段数码管等构成,实现计时功能。为了实现电子时钟的精确计时,由单片机控制采用晶振电路作为驱动电路,由软件和硬件共同实现一秒钟的延时,计满六十秒为一分钟,计满六十分钟为一小时,计满二十四小时为一天。这就要求通过程序设计实现电子时钟的计时功能,从而达到零误差的效果。
Electronic clock is made up of AT89C51, BUTTON, six segment digital tube, etc, realize the timing function.In order to achieve accurate timing of electronic clock, crystals circuit controlled by single chip microcomputer used as the drive circuit, the software and hardware to achieve the time delay of one second, meter with sixty seconds to a minute, 60 minutes to an hour, meter full for twenty-four hours a day. This requires by programming to realize electronic clock timing functions, so as to achieve the effect of the zero error.
出处
《装备制造技术》
2014年第5期277-278,共2页
Equipment Manufacturing Technology