Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Connecting serial RTC with 8051

Status
Not open for further replies.

sudhar

New Member
Hai,

i want to connect DS 1307 serial RTC with microcontroller 8051. but i dont know which protocol i should use and how to select the protocol.... could anyone help me.
 
you have to use I2C bus protocol

see the attachment for interfacing diagram
 

Attachments

  • RTC_with_89s51.JPG
    RTC_with_89s51.JPG
    33.8 KB · Views: 566
You should go for the I2C compatible RTC. Its easy to build with minimum resources. Just a battery, a clk source, and a micrcontroller.
For the I2C protocol, google it you will find lots of data. From them just study it basics, how to address the slave with read and write options. That's all required for this project.
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top