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 / DS1307 RTC with 8051 ? comes while printing

DS1307 RTC with 8051 ? comes while printing

|

Microcontroller › 8051 › DS1307 RTC with 8051 ? comes while printing

  • This topic has 3 replies, 3 voices, and was last updated 13 years, 2 months ago by AJISH ALFRED.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 3, 2012 at 10:25 am #1991
    td
    Participant

    hi
    i our project,we have connected 89lv51 with RTC DS1307.
    here we set the time as
    time23:59:36
    date31/10/12
    and displayed on hyperterminal.at that time, we are getting the time.it is incrementing and displayed on hyper.but some times, it is showing ?.

     

    time23:59:36
    date31/10/12

    time23:59:37
    date31/10/12

    time??:??:??
    date??/??/??

    time??:??:??
    date??/??/??

    time23:59:40
    date31/10/12

    time23:59:41
    date31/10/12

    time??:??:??
    date??/??/??
    ......................................
    .................................
    ..............................
    time00:01:51
    date01/11/12

    time00:01:52
    date01/11/12


    time??:??:??
    date??/??/??

    time00:01:54
    date01/11/12

    time00:01:55
    date01/11/12

    time00:01:57
    date1?/??/??

    time??:??:??
    date??/??/??

    time??:??:??
    date??/??/??

    time??:??:??
    date??/??/??

    time00:02:02
    date01/11/12


    in this, time and date are incrementing in correct way.but , some times, '?' is coming..
    please help me to solve this...

     

    November 4, 2012 at 3:34 pm #8715
    Dexter
    Participant

    it seems the problem is either in programming

    or in i2c protocal

    no problem in hardware

     

    November 5, 2012 at 5:43 am #8717
    td
    Participant

    THANKS FOR REPLAY…..

     I WILL PASTE MY CODE.BUT I DONT KNOW HOW TO POST. BCOZ THE PROGRAM IS TOO LARGE. I USED    [/CODE]

     

    THEN ALSO ONLY SMALL PORTION IS INCLUDING WITHIN THAT TAG….

     

     

    I GOT READY MADE PROGRAM./IN THAT I HAVE DONE SMALL CHANGES TO DISPLAY ON HYPERTERMINAL INSTEAD OF LED.THEN ALSO I M NOT GETTIND..

     

    PLEASE GUIDE ME..

     

    [CODE]   [/CODE]

     

    THEN ALSO ONLY SMALL PORTION IS INCLUDING WITHIN THAT TAG….

     

     

    I GOT READY MADE PROGRAM./IN THAT I HAVE DONE SMALL CHANGES TO DISPLAY ON HYPERTERMINAL INSTEAD OF LED.THEN ALSO I M NOT GETTIND..

     

    PLEASE GUIDE ME..

     

    November 11, 2012 at 6:07 am #8736
    AJISH ALFRED
    Participant

    Check the pull up resistors on the I2C lines are soldered properly. Also try changing the RTC chip.

    Check for the ‘I2C receive data buffer full’ flag, and try to display only after all the bits are received in the receive buffer.

    I hope you got the idea. Any doubts, kindly update.

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

RSS Recent Posts

  • Variable audio oscillator January 17, 2026
  • Sine wave distortion January 17, 2026
  • My Advanced Realistic Humanoid Robots Project January 17, 2026
  • Micro mouse January 17, 2026
  • flexible copper cable January 16, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 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