EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / interfacing rtc ds12c887 with 8051

interfacing rtc ds12c887 with 8051

|

Microcontroller › 8051 › interfacing rtc ds12c887 with 8051

  • This topic has 4 replies, 3 voices, and was last updated 10 years, 11 months ago by SHAH DISHANT H..
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 10, 2014 at 8:50 am #3143
    Mohit Dudani
    Participant

    Sir,

    I wish to interface rtc ds12c887 with 8051.

    i have implimented the circuit diagram as well as the code provided by you. But, i’m not getting the desired output.

    i’m getting

    ?:?:?

    as my output instead of time(hh:mm:ss).

    the problem i see that connections  of P3.6 and P3.7 have been made with rw an ds pins respectively. although no output is seen on these pins through programming.

    please help me resolve this problem asap.

     

     

    July 12, 2014 at 6:47 am #11891
    Ashutosh Bhatt
    Participant

    how do you say no output on P3.7, P3.6.

    r u checking them on CRO?

    i think your RTC is not getting initialized. please read its datasheet

    July 12, 2014 at 7:29 am #11892
    Mohit Dudani
    Participant

    yes i checked it on cro. these pins are always high.

    the output on these pins should go from high to low and vice versa in order to initialise as well as transfer data from the rtc.

    please help me out 

    July 12, 2014 at 10:23 am #11893
    Ashutosh Bhatt
    Participant

    then there is problem in the program

    July 14, 2014 at 3:52 pm #11900
    SHAH DISHANT H.
    Participant

    Hi,

     

    The code is not right. You have to develop your new code as per the datasheet.

     

     

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • PIC KIT 3 not able to program dsPIC June 19, 2025
  • Back to the old BASIC days June 19, 2025
  • using a RTC in SF basic June 19, 2025
  • what's it's name June 19, 2025
  • What is correct names for GOOD user friendly circuit drawing program? June 18, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise