RTC issue with Data Logger shield

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
French_Marc
 
Posts: 3
Joined: Sun Feb 12, 2012 1:50 am

RTC issue with Data Logger shield

Post by French_Marc »

Hi,

I cannot set the RTC of the Data logger to a new date and time. It keeps returning me the one by default.

Things I noticed:
-When I remove the battery and USB for 10 seconds, it seems that the RTC is NEVER halted, because when I run the program again, I never meet the condition "if (! RTC.isrunning())"
-If I try to force the date reset with RTC.adjust(DateTime(__DATE__, __TIME__)); in the setup, it doesn't change anything, I am getting the same result.

I looked at my solder and it seems alright but I would tend to believe it's a hardware problem.

Any suggestions?

Thanks in advance!

User avatar
adafruit_support_bill
 
Posts: 88088
Joined: Sat Feb 07, 2009 10:11 am

Re: RTC issue with Data Logger shield

Post by adafruit_support_bill »

I cannot set the RTC of the Data logger to a new date and time. It keeps returning me the one by default.
What is the default time it returns?
Does the time advance from that point?
Can you post the code you are using?

French_Marc
 
Posts: 3
Joined: Sun Feb 12, 2012 1:50 am

Re: RTC issue with Data Logger shield

Post by French_Marc »

Okay so I don't know what I did, the code was and is the same as your RTC sample code but now it works fine.
Disregard my request and thank you for your great documentation.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”