View previous topic :: View next topic |
Author |
Message |
Ömer Faruk
Joined: 15 Nov 2018 Posts: 42 Location: Çanakkale
|
Reset problem when power off on raspbery pi ds3231 [Solved] |
Posted: Wed Mar 13, 2019 3:30 pm |
|
|
Hello everyone
I am having a problem with raspberry pi Ds3231 module when i cut its power it
takes 00:00:00 values. Is there anyone who experienced this problem. What are possible problems? I don't think firmware problems cause this. I need your help. (If needed i can post the code)
Here the module
https://www.amazon.com/DAOKI-DS3231-Precision-Arduino-Raspberry/dp/B01JGNKNNA
Note: Once the module overheated for a while but it can keep the time correct. |
|
|
dluu13
Joined: 28 Sep 2018 Posts: 395 Location: Toronto, ON
|
|
Posted: Wed Mar 13, 2019 3:49 pm |
|
|
That looks like a real time clock. If there's no battery backup then when you cut the power I would expect it to reset it's values. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
Re: Reset problem when cuf off power on raspbery pi ds3231 m |
Posted: Wed Mar 13, 2019 3:57 pm |
|
|
Ömer Faruk wrote: | Hello everyone
İ am having a problem with raspberry pi Ds3231 module when i cut its power it
takes 00:00:00 values. İs there anyone who experienced this problem.What are possible problems?İ dont think firmware problems cause this. İ need your help. (İf needed i can post the code)
Here the module
https://www.amazon.com/DAOKI-DS3231-Precision-Arduino-Raspberry/dp/B01JGNKNNA
Note: Once the module overheated for a while but it can keep the time correct. |
Do you have the backup battery installed ? The following is from the
Question and Answer section on Amazon:
Quote: |
Question:
this says battery is not included. what battery do I need to get for this?
Answer:
CR-2032 |
|
|
|
Ömer Faruk
Joined: 15 Nov 2018 Posts: 42 Location: Çanakkale
|
Re: Reset problem when cuf off power on raspbery pi ds3231 m |
Posted: Wed Mar 13, 2019 4:00 pm |
|
|
PCM programmer wrote: | Ömer Faruk wrote: | Hello everyone
İ am having a problem with raspberry pi Ds3231 module when i cut its power it
takes 00:00:00 values. İs there anyone who experienced this problem.What are possible problems?İ dont think firmware problems cause this. İ need your help. (İf needed i can post the code)
Here the module
https://www.amazon.com/DAOKI-DS3231-Precision-Arduino-Raspberry/dp/B01JGNKNNA
Note: Once the module overheated for a while but it can keep the time correct. |
Do you have the backup battery installed ? The following is from the
Question and Answer section on Amazon:
Quote: |
Question:
this says battery is not included. what battery do I need to get for this?
Answer:
CR-2032 |
|
There is a battery back up. And i measured 3V across it. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9221 Location: Greensville,Ontario
|
|
Posted: Wed Mar 13, 2019 5:13 pm |
|
|
this..
Quote: | Note: Once the module overheated for a while but it can keep the time correct.
|
could mean there is internal damage that won't allow the data to be saved.
I've used the DS3231 for 3-4 years and NONE have ever 'overheated'.
Also check the program to be sure it's NOT resetting the RTC with default time of 00:00:00. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19496
|
|
Posted: Thu Mar 14, 2019 3:21 am |
|
|
Have to agree wholeheartedly with Jay's comment.
These are small scale CMOS chips. No 'power' elements, just very
small FET's and gates. For this type of device to 'overheat', implies it has to
have been incorrectly connected or experienced an overvoltage. Most
likely the actual internal FET elements that switch the clock circuitry to
the battery supply has been damaged, and hence it's failure to keep
time.
You can split devices into a number of 'classes' in terms of the abuse they
can take. Some devices like the old 2N2055 transistor, can survive
amazing things. The basic early PIC16's are also quite rugged. But low
power devices, generally are much less likely to survive if something is
done wrong.
I'd say the 'odds' are heavily stacked in favour of the chip having been
damaged. Have to ask 'what was done' to make it overheat?. |
|
|
Ömer Faruk
Joined: 15 Nov 2018 Posts: 42 Location: Çanakkale
|
|
Posted: Thu Mar 14, 2019 10:08 am |
|
|
Ttelmah wrote: | Have to agree wholeheartedly with Jay's comment.
These are small scale CMOS chips. No 'power' elements, just very
small FET's and gates. For this type of device to 'overheat', implies it has to
have been incorrectly connected or experienced an overvoltage. Most
likely the actual internal FET elements that switch the clock circuitry to
the battery supply has been damaged, and hence it's failure to keep
time.
You can split devices into a number of 'classes' in terms of the abuse they
can take. Some devices like the old 2N2055 transistor, can survive
amazing things. The basic early PIC16's are also quite rugged. But low
power devices, generally are much less likely to survive if something is
done wrong.
I'd say the 'odds' are heavily stacked in favour of the chip having been
damaged. Have to ask 'what was done' to make it overheat?. |
İ think it has big damage.İ bought a new one ,works well thanks for your reply |
|
|
|