摘要
本文以STC89C51单片机为核心控制器,在它的引脚上接上其他电子元器件以及外围电路,设计了一个电子时钟。这个电子钟显示时间是用数码管实现的,本设计选用的数码管是6位数码管,以分别实现对"时"、"分"、"秒"进行数字显示,它们之间的间隔用数码管上的小数点来分割,采用74HC573锁存器来驱动六位8段数码管,并利用石英晶振产生时钟脉冲,并利用单片机内部的定时器计数,通过程序和外围电路控制数码管进行动态显示。本文提供一种简单且廉价的设计方案,广大的电子科技爱好者可以参考并自行制作。
in this paper, STC89C51 microcontroller as the core controller, on its pin connected to other electronic components and peripheral circuits, the design of an electronic clock. The electronic clock display time is the realization of digital control, digital tube is used in this design is 6 digital tube, to achieve the "time", "sub", "seconds" digital display, the interval between them with digital tube decimal point to segmentation, using 74HC573 to drive six 8 digital tube latch, and generates a clock pulse using quartz crystal, and the use of single-chip internal timer count, through the program and control circuit in the digital tube dynamic display. This paper provides a simple and inexpensive design, the majority of electronic technology enthusiasts can refer to and make their own.
出处
《电子测试》
2017年第4期24-26,28,共4页
Electronic Test