skywatch:
As a test you could try running it from a 5v battery and see if that makes a difference?
Should I connect a 5v battery to Vbatt at pin 13 of the chip?
Thanks.
skywatch:
As a test you could try running it from a 5v battery and see if that makes a difference?
Should I connect a 5v battery to Vbatt at pin 13 of the chip?
Thanks.
Should I connect a 5v battery to Vbatt at pin 13 of the chip?
Why don't you just use the + and - pins on your module?
Don
floresta:
Why don't you just use the + and - pins on your module?Don
Sure I can use + and - pins on the module, but that merely enables the I2C channel. I need the module to keep a track of time when the + and - pins are disconnected from power. The modules I have came without a battery. That's the reason for all this struggle. Connecting a 3v battery doesn't keep the internal Clock ticking once the main power supply is removed. For some reasons, a capacitor does the trick. I merely want to know if I'm missing something as this doesn't appear to be a known behaviour with DS3231 modules. I hope I'm not troubling much.
Thanks.
I'll stick my two-pennuth in here as it seems a lot of effort has gone into solving something that shouldn't be a problem.
These IC's work well and there are many variants with subtly different specifications.
Keep the module powered, it keeps (retains) time and date - take the power off, it reverts to it's day/date zero.
Always invest time and effort going through the manufacturer's data sheets - in this case Maxim/Dallas.
Have a look at the many good tutorials and libraries for these devices - the DS1307RTC.h library works well with the DS1307 and the DS3231. A bog-standard branded Lithium (CR2032 etc.) will keep them running for years.
If you are starting out with these devices, invest for the first time at least, in a module from a supplier with a decent track record, like Sparkfun or Adafruit - you then get support from a manufacturer and their own worked examples.
If you dive into eBay or whatever, you are on your own. As others have noted, reliability can be poor and support non-existent.
ICs from the big name suppliers like RS, Digikey, Farnell are going to be "prime" stock - their reputation depends on it.
There is nothing more frustrating than flogging yourself over a problem that might be deep-seated and untraceable.
Sure I can use + and - pins on the module, but that merely enables the I2C channel.
How did you come up with this?
Don
tigger:
I'll stick my two-pennuth in here as it seems a lot of effort has gone into solving something that shouldn't be a problem.
These IC's work well and there are many variants with subtly different specifications.
Keep the module powered, it keeps (retains) time and date - take the power off, it reverts to it's day/date zero.
Always invest time and effort going through the manufacturer's data sheets - in this case Maxim/Dallas.
Have a look at the many good tutorials and libraries for these devices - the DS1307RTC.h library works well with the DS1307 and the DS3231. A bog-standard branded Lithium (CR2032 etc.) will keep them running for years.
If you are starting out with these devices, invest for the first time at least, in a module from a supplier with a decent track record, like Sparkfun or Adafruit - you then get support from a manufacturer and their own worked examples.
If you dive into eBay or whatever, you are on your own. As others have noted, reliability can be poor and support non-existent.
ICs from the big name suppliers like RS, Digikey, Farnell are going to be "prime" stock - their reputation depends on it.
There is nothing more frustrating than flogging yourself over a problem that might be deep-seated and untraceable.
Well, I began with a request to share experience, if anyone who has ever tried there modules. It was not meant to upset anyone.
As for investing resources, a lot depends upon availability and financial constraints that may not always justify the purpose. The popularity of many open source projects like Arduino depend upon affordability and accessibility. That's where the Chinese clones come into picture. Most of the projects built around such platforms are not designed to be operational for decades.
For the module itself, the datasheet does not serve its purpose since it cites the standards and as we know such things don't matter with many Chinese products. I absolutely agree with your perspective regarding reliability issues, as I'm facing one at present. Conversly, that's one more experience added to the forum's epistemology.
floresta:
How did you come up with this?Don
Isn't the DS3231 always active if it's connected to a battery despite the power lines are disconnected? The problem was with time keeping despite the backup coin cell attached, the module would lose track of time once the power lines are removed.