Abstract: A method of electronic clock design based on AT89S51 Micro Controller Unit (MCU) is introduced in this thesis. Introduced the working principle of electronic clock, performance and features of AT89S51 MCU, and an overview of the electronic clock with block diagram of the hardware and software implementation, AT89S51chip as the core part with some necessary peripheral circuits, design a simple electronic clock. AC as the power supply, six seven-segment LED digital-tubes are used for display, which work in a dynamically scanning display mode and driven by 74LS244 chip, four buttons can be used to adjust the time, in the software aspect, uses assembly language software programming. The design has some features, such as low-cost hardware, time-accurate and easy adjustment of time, and so on.
Keywords: Electronic clock; MCU; Time; LED