[SOLVED] DS1307 interfacing with P89v51RD2

Status
Not open for further replies.

pravin b

Member level 5
Joined
May 20, 2012
Messages
85
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Location
Mumbai, India
Activity points
2,083
Hello friends,
I am interfacing DS1307 with 8051, i have written code in KEIL overall working fine :-D except reading date & time :sad: please guide me finding the bug. I am able to receive only 1 byte of data. why? I am attaching my keil project with proteus simulation. Please help
 

Attachments

  • RTC.rar
    71.1 KB · Views: 85

Hi,

The DS1307 communication is discussed many times.
Please use a forum search, or maybe you find help in the "similar threads" at the bottom of this page.

Klaus
 
I know it took long time to reply this thread friends, but I really dont understand the problem in my code. I am providing my code along with proteus simulation file:
Problem: I2C debugger in proteus shows that date time are getting read correctly but i am not able to display the read date, time on LCD, though when I execute lcd write routine separately LCD displays what it receives. Please help.
Thanks.
 

Attachments

  • RTC (1).rar
    301.1 KB · Views: 85

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…