Forum Software Ferduino code Problem with the date and time

Problem with the date and time  [SOLVED]


Post Number:#1 Post Sat Apr 04, 2015 2:15 pm
Posts: 16
Topics: 3
Solve rating: 0
Joined: Fri Aug 08, 2014 11:17 pm
Topics: 3
Age: 50
Location: Barranquilla
Gender: Male
National Flag:
Columbia
Hi everyone

I managed to install the controller, but when I try to set the time and date, it does not gets saved. I mean, I don't even restart the controller, I just enter the information and when I enter save it still shows the wrong date/time. What should I do?
Last edited by Fernando Garcia on Sat Apr 04, 2015 9:35 pm, edited 1 time in total.
Reason: Spelling

Post Number:#2 Post Sat Apr 04, 2015 9:36 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

What's the model of your RTC?

Have you tested with examples?

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#3 Post Mon Apr 06, 2015 11:25 pm
Posts: 16
Topics: 3
Solve rating: 0
Joined: Fri Aug 08, 2014 11:17 pm
Topics: 3
Age: 50
Location: Barranquilla
Gender: Male
National Flag:
Columbia
Hi Fernando

I will have tested this RTC with your code, I have the ITDB02 Mega shield v1.1. Do you can tell me with the example I can to test?

Post Number:#4 Post Tue Apr 07, 2015 12:19 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#5 Post Thu Apr 09, 2015 10:28 pm
Posts: 16
Topics: 3
Solve rating: 0
Joined: Fri Aug 08, 2014 11:17 pm
Topics: 3
Age: 50
Location: Barranquilla
Gender: Male
National Flag:
Columbia
Hi Fernando

I try with your examples and the result is:

Enter hours (00-23): 20
Enter minutes (00-59): 22
Enter seconds (00-59): 40
Enter day (01-07): 4
Enter date (01-31): 9
Enter month (01-12): 4
Enter year (00-99): 15

The current time has been successfully set!
What would you like to do?
(0) To set the current time.
(1) To display the current time.
Enter 0 or 1: 1

The current time is 0/1/20D    1:0:1
What would you like to do?
(0) To set the current time.
(1) To display the current time.
Enter 0 or 1:


What can I do?

Post Number:#6 Post Fri Apr 10, 2015 12:47 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Show me a picture (with good resolution) of your TFT shield.

Check if the example "scan I2C devices" can find your DS1307 with address 0x68.

P.S. Use the pins 20 and 21.

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#7 Post Sat Apr 11, 2015 5:29 pm
Posts: 16
Topics: 3
Solve rating: 0
Joined: Fri Aug 08, 2014 11:17 pm
Topics: 3
Age: 50
Location: Barranquilla
Gender: Male
National Flag:
Columbia
Hi, Fernando

Problem fixed. I welded the thing wrong. Now it is working fine.
Thank for you cooperation.




Return to Ferduino code





Who is online

Users viewing this topic: No registered users and 1 guest

cron