how to interface RTC with 8051

Status
Not open for further replies.

epple

Newbie level 4
Joined
Aug 27, 2010
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,322
can anyone tel me how can i interface rtc with microcontroller... i have no idea about it ... i need to use keypad for setting up time ... i ve to use rtc for timer ....
 

DS1307 RTC is interface using I2C interface.
you have set time and then start the clock..
later u can read the time

here is program which sets time and reads time using PC interface MAX232..
on hyperterminal

here u can find datasheet
**broken link removed**
 

Attachments

  • Copy of rtc01.txt
    8.1 KB · Views: 129

but i need assembly language code

---------- Post added at 20:13 ---------- Previous post was at 20:10 ----------

i need to give time duration to micro-controller during which it will switch on light... for this thing i have to interface LCD keypad n rtc... key n LCD interfacing is done but am not getting how to interface this RTC ..... am using assembly language
 

if you see the book by mazidi or kenneth ayala they have explained how to interface rtc with code in a lucid manner
 

check **broken link removed**

you can get the code and circuit diagram for interfacing.. with video also.
 
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…