There are two ways to do this, using a chip with a clock function and a voice output function, such as WTV020. The MCU voice chip is used, and the mcu controls the voice chip according to external requirements to combine the built-in voice playback time information.
This is based on ds1302 with 1602 display can realize the time (year, month, day, hour, minute, second) display,Adjustment, setting and other functions too much may not be complete, you have to carefully change yourself.
DS1302 used, very inaccurate, depending on the external capacitance, not easy to tune, sometimes a day can be different for a few minutes, can only use software correction, very troublesome. DS3231 is good. It's only a minute or two a year, and the circuit connectionsVery simple, very easy to use.
Timing accuracy is the most key to the crystal oscillator, the crystal oscillator with the single chip microcomputer is very rough to do the work, used to complete simple timing tasks with low precision. To implement the clock must be very wrong. DS1302 is a special clock chip produced by the old United States, which is specially used for clock circuits, and the accuracy is definitely not the same.
DS1302: This is a classic RTC chip, with low power consumption, multi-year life, and high precision. The price in the market is generally around 1 yuan. PCF8563: This is suitable for anniversaries, alarm clocks, timers and other applicationsRTC chip has the characteristics of high time accuracy, small size and low price.
DS1302 is a low power real-time clock chip with trickle current charging capability introduced by DALLAS company. It can time the year, month, day, week, hour, minute, second, and has many functions such as leap year compensation. There are many serial clock circuits, such as DS130 DS130PCF8485.
On the main batteryEven if the source is off, the clock can keep running continuously. The DS1302 is powered by the larger of both VCC1 and VCC2. When VCC2 is greater than VCC1 02V, VCC2 supplies power to DS1302. When VCC2 is less than VCC1, the DS1302 is powered by VCC1. XX2: Source of oscillation. External 32768kHz crystal oscillator.
DS1302 is a high performance, low power consumption, real-time clock circuit with RAM, it can time the year, month, day, week, hour, minute, second, with leapAnnual compensation function, the working voltage is 0V ~ 5V.
ds1302 is a high-performance, low-power real-time clock chip launched by DALLAS, USA, with 31 bytes of static RAM, SPI three-wire interface for synchronous communication with the CPU, and can transmit multiple bytes of clock signal and RAM data in a burst mode.
DS1302 pin X1 X2 3768KHz crystal oscillator pin GND CE reset pin I/O data input/output pin SCLK stringThe functions of each pin of the line clock Vcc1 and Vcc2 power supply pins are as follows: Vcc1: main power supply; Vcc2: Backup power supply.