OpenSprinkler Forums Hardware Questions Hardware change DS1307 instead DS3231

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #38089

    laurent
    Participant

    Hello,

    The chip DS3231 was replaced on all new versions by the DS1307.
    For which reason do you use now the DS1307 ?
    Do you know if the last firmware 2.1.4 is compatible with the DS3231 ?
    Because the big advantage of the DS3231 is no needed external crystal and ‘less’ current for the battery (100nA instead 500nA)

    • This topic was modified 4 years, 9 months ago by laurent.
    #38124

    ianf
    Participant

    I have built a couple of open sprinklers for family and friends on prototyping board. They all use the DS3231 RTC and work fine.

    The DS3231 is not pin compatible with the DS1307.

    #38129

    Ray
    Keymaster

    DS3231 and DS1307 are functionally the same, except that DS3231 has a built-in temperature compensated crystal, which makes it more accurate, but also the chip is much larger. They both use the same I2C address and libraries that work for DS1307 should work for DS3231 too.

    #38240

    laurent
    Participant

    Thanks for your feedback and clarification.
    I was not sure that the firmware use the internal ram of the DS1307, not present in the DS3231.
    My idea is to use the DS3231MZ with less pins than the DS3231SN.

    Regards

    #38245

    Ray
    Keymaster

    The firmware uses the Arduino DS1307 RTC library, which supports both DS1307 and DS3231:
    http://playground.arduino.cc/code/time

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions Hardware change DS1307 instead DS3231