Even for LIR2032 batteries, the circuit is not really suitable. The charging circuit cannot be turned off, and that is not good at all for CR2032 batteries. The positive pole of the battery holder is connected to VCC via a diode and a 200 ohm resistor. The HW-111 module, based on the DS1307, has a charging circuit for LIR2032 batteries. Charging circuit of the DS1307 module (HW-111) Less useful is the charging circuit for batteries – I’ll come to that shortly. In addition, there are pull-up resistors for the I2C lines and capacitors for voltage stabilization. The DS1307 module (HW-111) used here also has a 32-kilobit EEPROM (=4 KB) in which you can store data. I’d rather not tell you what I paid for them … Special features of the DS1307 module (HW-111) I found out that the 6 pF / 32768 Hz oscillators needed for this purpose are not so easy to get. Modules of the DS1302 and DS1307 are available in many different versions. Pinout DS1302 and DS1307 DS1302 and DS1307 modules On the DS1307 you can tap a 1 Hz, 4 KHz, 8 KHz or 32 kHz signal at the SQW/OUT. The DS1307 communicates via I2C and therefore only requires SDA and SCL. The DS1302 communicates via a special 3-wire interface using the three pins SCLK, I/O (DAT) and CE (RST). X1 and X2 are the pins for the oscillator. Besides GND, there is a pin for the battery voltage (V CC1 or V BAT) and one for the “normal” supply voltage (V VCC2 or V CC). The data sheet for the DS1302 can be found here, the data sheet for the DS1307 is available here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |