DS1307 loose data ?

Go To Last Post
22 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Guys,

Why DS1307 loose data every Sunday, and I need to reenter the data again ?
I got like this every Sunday midnight ..

Any ideas / same experiences ?
Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You're obviously doing something wrong. What that is - we have no idea of. How about you try some debugging of your own.
You didn't respond adequately to Johan's question, so does that mean you want to waste more of our time?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It looks to me like you are running the demo version of the DS1307. It only runs until midnight Sunday. Buy the full functionality license and enter the code to avoid this problem. :wink:

 

In consideration of others, please RTFM!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What library are you using?

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The DS1307 "knows" all about the days of the week, and... Sunday is a "day of rest". So...

Ross McKenzie ValuSoft Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

Any ideas / same experiences ?

Frankly, no. Are you saying that Dallas Semiconductor and then Maxim has sold millions and millions of DS1307 RTC chips, and none of them can count past Sunday, But millions of people have purchased more and more of them over the past decades?

js and Kartman and valusoft: Are there any directional mounting considerations when using RTC in the Southern Hemisphere?

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

valusoft wrote:
The DS1307 "knows" all about the days of the week, and... Sunday is a "day of rest". So...

I think so, it does like this always every sunday...I tried to put all the PCB layout exactly with DS1307 asked me to do...
Probably in the code...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Kartman wrote:
You're obviously doing something wrong. What that is - we have no idea of. How about you try some debugging of your own.
You didn't respond adequately to Johan's question, so does that mean you want to waste more of our time?

Ok, thanks for the reply, I don't mean to waste everbody's time, like I said you have a freedom to answer, if you don't want to answer or you don't have the answer or you don't understand the question and don't know how to answer, just ignore it, simple and easy.....like I've told you take it easy...
there's no need to be upset and angry...
we're here in the forum helping each other, not saying who is right and who is wrong, do you think you're right always ? I'm not sure....no body is perfect mate, just remember....take it easy...and smile.... :wink:

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You're just not getting the message are you? it's a question of respect - you don't seem to put much value on our responses - a simple problem gets drawn out because you don't take the time to think your problem through. Have you actually read other people's questions? Have you noticed that the ones that are well described get solved quickly. These people have made an effort to help themselves. We've tried to teach you techniques to solve your own problems, but you don't seem to listen. Considering the number of offhand responses you've got so far, do you think you've annoyed just a few of us? I'm not asking you to kiss my ass but i would like it if you took a bit more time to think about your problems, do some debugging and to do some searching before you consider posting on a forum. Put it this way, if we charged you $100 per question, would you be a bit more considered with each question you ask?

As for your current problem - i'd guess you're gone off the end of an array and you get a crap string - nothing to do with the ds1307,apart from it doing what it should.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

bianchi77 wrote:
valusoft wrote:
The DS1307 "knows" all about the days of the week, and... Sunday is a "day of rest". So...

I think so, it does like this always every sunday...I tried to put all the PCB layout exactly with DS1307 asked me to do...
Probably in the code...

If it works CORRECTLY on the other days of the week, the hardware is correct, so there must be something wrong with your code.... so show it because nobody here is clairvoyant.

Ross McKenzie ValuSoft Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It "has" to be your software. How else would you get 80 identical characters on the screen? That cannot be the clock's fault! But nobody can tell you any more without code.

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The software guys always think the hardware is broke, and the hardware guys always think the software is broke.

Imagecraft compiler user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Related prior discussion?
https://www.avrfreaks.net/index.p...
Excerpts:

Quote:
Will fix Monday Morning.

Quote:
Synchronize it to the first stroke of the church bells every sunday morning. That will keep it really accurate!

Quote:
Does anybody really know what time it is?
Does anybody really care?
If so I can't imagine why
We've all got time enough to cry

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

bianchi77 wrote:
we're here in the forum helping each other

Are you :?:

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is there a sunday-less country?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Is there a sunday-less country?

Yes, Ursa Minor Beta, where it is always saturday afternoon, at least according to the Hitchhiker's guide to the Galaxy.

Einstein was right: "Two things are unlimited: the universe and the human stupidity. But i'm not quite sure about the former..."

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hopefully it fixes itself for Monday. Wouldn't want to be late for work.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In all the DS1307 circuits I've ever designed I've ensured the chip is socketed so the dead ones can be removed on a Sunday and replaced with fresh ones for the coming week. You'd have thought Maxim-Dallas would have resolved this issue by now but I guess it's in their interest to retain the problem as it sells a LOT of chips when they are known to only work for 7 days.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"I've ensured the chip is socketed so the dead ones can be removed on a Sunday and replaced with fresh ones for the coming week. "

How were they replaced:

a) by a human being, working on Sundays? that is immoral.

b) by a robot? But how could the robot know it was Sunday? (maybe its clock stops : then, it may work slowly)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

We trained long nosed [url=http://en.wikipedia.org/wiki/Long-nosed_caenolestid]caenolestids[/url] to do the chip replacement. Their snouts are perfect for digging under the chip and levering it out of the socket. Sadly a shrew snout does not last that long so we then have to replace the shrews on a rotational basis too :-(

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Little wonder they are so endangered; losing one every week for every installed DS1307. You should be ashamed!

Ross McKenzie ValuSoft Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I see no reason to be annoyed.

A question without any informations generate answers with no informations too.
So it seems a perfect fitting thread.

Please watch, clairvoyants are not present on this forum. :)

Peter