Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
interfaces:ds3231 [2016/04/09 13:59] – [DS3231 ZS-042] darron | interfaces:ds3231 [2018/03/11 16:08] (current) – [DS3231 for Pi] darron | ||
---|---|---|---|
Line 6: | Line 6: | ||
There are at least two RTC modules containing the | There are at least two RTC modules containing the | ||
DS3231 available from China. Both can operate with | DS3231 available from China. Both can operate with | ||
- | the Raspberry Pi and one is designed | + | the Raspberry Pi and one is designed |
for it. | for it. | ||
One useful feature of the DS3231 other than keeping | One useful feature of the DS3231 other than keeping | ||
- | the time is it' | + | the time is its built-in temperature readout, however, |
initial tests suggest that this is inaccurate. | initial tests suggest that this is inaccurate. | ||
Line 20: | Line 20: | ||
This device plugs directly into the GPIO header. | This device plugs directly into the GPIO header. | ||
+ | |||
+ | I bought two of these devices and one was faulty. Fixing it simply involved applying | ||
+ | pressure on each pin of the chip in turn with a hot iron, these devices may not be | ||
+ | manufactured to a high standard. | ||
=== DS3231 ZS-042 === | === DS3231 ZS-042 === | ||
- | This module contains the RTC and an EEPROM. It tends | + | This module contains the RTC and an HK24C32 |
- | to ship with an incompatible | + | to ship with a CR2032 battery and, as the per |
- | advice | + | advice |
- | the charge feature of the module (see schematic) | + | the charge feature of the module (see schematic). |
- | using this battery. | + | |
+ | By default the EEPROM content is | ||
+ | < | ||
+ | ./mcp24 1 0x57 -d | ||
+ | EEPROM FOUND AT 0x0057 | ||
+ | DUMP | ||
+ | [0000] 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 |ABCDEFGHIJKLMNOP| | ||
+ | [0010] 51 52 53 54 55 56 57 58 59 5A FF FF FF FF FF FF |QRSTUVWXYZ......| | ||
+ | </ |