11 Threads found on edaboard.com: ds1307 Setting
i want the code for setting time in ds1307 using i2c mechanism and im interfacing with galileo board
Microcontrollers :: 08-17-2015 11:22 :: muthukumar7ece :: Replies: 5 :: Views: 482
Many code lines are commented, including ds1307 initialization.
You have also commented the sec register initialization. If you did this when first setting the RTC, clock halt bit (CH) may be set because it's undefined at power on.
Read the datasheet.
Microcontrollers :: 08-11-2015 06:24 :: FvM :: Replies: 3 :: Views: 469
Good Day Guys. Pls can anyone help me explain this part of this code. I've gone through the register in the data sheet but still confused. The coloured part is the problem.
// LCD module connections
sbit LCD_RS at RB2_bit;
sbit LCD_EN at RB3_bit;
sbit LCD_D4 at RB4_bit;
sbit LCD_D5 at RB5_bit;
sbit LCD_D6 at RB6_bit;
sbit LCD_D7 at R
Microcontrollers :: 06-19-2015 15:16 :: Ogbonnia Dumken Chibundu :: Replies: 1 :: Views: 471
you can do it by setting the ds1307 time format for 12 hour mode as per your picture its looks like you configured it in 24 hour mode.
And for display big custom characters first test your all custom char logic by displaying them at same row and column address. if they display correct then its is just matter of changing the address for time dis
Microcontrollers :: 12-30-2014 06:36 :: ud23 :: Replies: 44 :: Views: 2171
my ds1307 is not keeping time when powered off , it though saves the current time when powered which is wiered .
It simply continues from the point it left off .
I checked the pin 3 is getting 3.2V from a lithium battery as the datasheet is requiring .
and i am not setting any time in my code also if i had done that i would get same time all t
Microcontrollers :: 03-02-2014 19:20 :: aliyesami :: Replies: 7 :: Views: 1308
Am posting the code this code am getting a problem that clock runs quickly without going accordingly with our real time clock please help me out please.....
Thanks in advance
Microcontrollers :: 01-30-2013 15:58 :: dany24 :: Replies: 1 :: Views: 6064
On ds1307 after we setting bits for 12Hr mode with AM/PM, on next roll over i.e. 12Hr -1Hr, will AM/PM bit change automatically or not?
Microcontrollers :: 12-20-2012 04:50 :: ramanc51 :: Replies: 1 :: Views: 639
I am new to using ds1307, though i have been able to make it work. But I thought after setting the date and time that the day of the week will automatically be set. it only changes at 12 midnight.
I want it to set the DOW anytime I do a new setting of date. Must i always set the day of the week?
Please, what do i do? help.
Microcontrollers :: 03-26-2012 05:00 :: codewiz :: Replies: 4 :: Views: 1884
Follows observations regarding your doubt to previous sugestions I posted :
1 ) By hardware : If the output pin of the RTC is configured to generate a clock, detecting a signal there, you can assume that the IC was already started to work.
> You got the exact concept sugested. By reading the output pin you know if ds1307 is
Microcontrollers :: 06-03-2011 01:47 :: andre_teprom :: Replies: 11 :: Views: 1768
My clock using AT89S52 and ds1307 RTC and 16X2 LCD is working well. But I have a problem. When I switch off the power supply and switch on again the second digits starts counting from 0.For example, if I switch off at 4:16:24 and switch on again it shows 4:16:00!!!!!!!!!!. Please help
Microcontrollers :: 05-09-2011 12:52 :: papunblg :: Replies: 10 :: Views: 2297
I do not use CCS but I might give u some good suggestions
1. you can use DS1337 it has alarms setting and dedicated pins of alarms, u may find my program (PC based) that give u good support.
2. for ds1307 u can use 1Hz signal from ds1307 pin to get interrupt and then compare the current time with the SET time.
Also you can use (...)
Microcontrollers :: 02-17-2008 05:35 :: sadat007 :: Replies: 10 :: Views: 9606