CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Reset problem when power off on raspbery pi ds3231 [Solved]

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ömer Faruk



Joined: 15 Nov 2018
Posts: 42
Location: Çanakkale

View user's profile Send private message Send e-mail

Reset problem when power off on raspbery pi ds3231 [Solved]
PostPosted: Wed Mar 13, 2019 3:30 pm     Reply with quote

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

View user's profile Send private message Visit poster's website

PostPosted: Wed Mar 13, 2019 3:49 pm     Reply with quote

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

View user's profile Send private message

Re: Reset problem when cuf off power on raspbery pi ds3231 m
PostPosted: Wed Mar 13, 2019 3:57 pm     Reply with quote

Ö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

View user's profile Send private message Send e-mail

Re: Reset problem when cuf off power on raspbery pi ds3231 m
PostPosted: Wed Mar 13, 2019 4:00 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Mar 13, 2019 5:13 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Mar 14, 2019 3:21 am     Reply with quote

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

View user's profile Send private message Send e-mail

PostPosted: Thu Mar 14, 2019 10:08 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group