This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

hai

can u tell me how to interface an real time clock with microcontroller 8051, and i want to display the time through led's

  • "can u tell me how to interface an real time clock with microcontroller 8051, and i want to display the time through led's"

    So why was your summary "hai"? Nothing about any RTC.

    I kind of suspect that your total time invested in this project is to find this web site and write your single sentence. Or is it a sentence? No capital at the start, and no punctuation.

    How you interface the RTC is obviously 100% dependant on what RTC you select. An RTC using I2C is connected different from an RTC using SPI or Maxim/Dallas one-wire.

    The datasheet for the RTC (which you forgot to tell us the model of) will tell you a lot about how to interface it to a processor. The documentation for yur specific 8051 chip (remember that you didn't specify a 8051 model either...) will tell you if it has dedicated I2C, SPI, ... signals or if you will have to bit-bang the communication.

    Displaying the time on LEDs (binary or 7-segment?) is quite easy too, but you need to keep an eye on the total current needed - and remember that most 8051 chips can sink current but can source very little.