Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to set the time in ds1307

Status
Not open for further replies.

muthukumar7ece

Newbie level 2
Joined
Mar 19, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
i want the code for setting time in Ds1307 using i2c mechanism and im interfacing with galileo board
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
19,772
Helped
4,350
Reputation
8,709
Reaction score
4,312
Trophy points
1,393
Activity points
130,852
Hi,

below you find "Similar threads".
It has been discussed many times... And i find the datasheet includes all informations.
And you may find plenty of code and descripton on how to use DS1307.

Also if you want code you should at least define what language you need.

***

Please read all the informations.
Write your code - or try at least. If you encounter any problems please give all needed informarion (schematic, code, additional informations) and a detailed error description.

Klaus
 

muthukumar7ece

Newbie level 2
Joined
Mar 19, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
i tried my own code with that i can able to read the RTC timing. but now i want to change the timing in RTC. im trying C language.
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
19,772
Helped
4,350
Reputation
8,709
Reaction score
4,312
Trophy points
1,393
Activity points
130,852
Hi,

please specify your problem.
If you are able to read the time, then it should be no problem to write the time.

If we should check your hardware, then we need the schematic.
If we should check your code, then we need your code.

Did you read the threads below, to see how other users do this?

Klaus
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top