Search Engine

ds1307 Setting

Add Question

Are you looking for?:
proteus setting , osc setting , setting bit , setting time
11 Threads found on ds1307 Setting
i want the code for setting time in ds1307 using i2c mechanism and im interfacing with galileo board
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.
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
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
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
Hi friends, 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 #include sbit set=P1^2; sbit mov=P1^3; sbit inc=P1^4; sbit dec=P3^7; sbit ent=P3^6; void all_disp(); void time_set(); #define
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?
Hi. 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.
ivalex, 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
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
Hi, 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 (...)