【正文】
prehensive preparation. The hardware and software design, there is no good basic knowledge and practical experience will be greatly limited, each feature is required to achieve the kind of hardware, procedures, how to write, how to implement such algorithms, there is no certain foundation can not be good implementation. Found during the preparation process to the existing knowledge to plete the preparation of the task alone difficult,In the help of teachers and students to plete the program part of the preparation.Calendar of the design process in hardware and software to synchronize the design. Hardware mainly by the AT89C52 microcontroller, LED display circuit, and the tune posed of the circuit when the button. In the SCM choice I used the AT89C52 microcontroller, which is suitable for many of the more plex control applications. Monitor the use of two 7SEGMPX8CA and a 7SEGMPX4CA. 7SEGMPX8CA is a total of eightyang diode display, 7SEGMPX4CA is a total of fouryang diode display. In order to more easily control the three monitors, I use three 74HC164 to drive.74HC164 is an 8bit edgetriggered shift register, serial input data, and parallel output. The software includes calendar program, time to adjust procedures, turn the lunar calendar programs, display programs. Programs written in assembly language used in order to more easily adjust the time and the realization of the lunar calendar display. All programming is plete, the wave software debugging, make sure that no problems, in the Proteus software within a microcontroller embedded in the simulation. The final overall the teacher to help students, as well as their own efforts to plete the design of the electronic calendar.Keywords:Clock electric clock DS1302 DS18