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.

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: 127

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
 

Attachments

  • 8051 - ds1307 - max232 - pc.gif
    8051 - ds1307 - max232 - pc.gif
    11.2 KB · Views: 134

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top