Continue to Site

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.

[SOLVED] How to initialize I2C module for RTC using PIC16f877a?

Status
Not open for further replies.

angadaria

Junior Member level 2
Joined
Mar 23, 2011
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,434
hi guys, i want to build an real time clock using ds1307 interfacing with pic16f877a...i think that i will have to use I2C.can u help me out in how to initialize I2C module..i m not able to understand how to configure the registers for I2C? also any suggestion for interfacing would be good too...

any help would be appreciated
 

Re: RTC using pic16f877a

First read I2C protocol and datasheet of PIC16F877 its all about there then after understanding the concept of I2C it will become easy for you to write codes for digital clock.
For a short time you can use I2C libraries also which has fully working codes.
Interfacing is quite easy see the link.
http://www.sixca.com/micro/pic/ds1307/index.html
 
Re: RTC using pic16f877a

thanks Mohansaini..it worked..sorry for delay in reply...
thanks again...

---------- Post added at 05:00 ---------- Previous post was at 04:59 ----------

thanks Mohansaini..it worked..sorry for delay in reply...
thanks again...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top