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 DS12887 WITH AT89C51

INTERFACING DS12887 WITH AT89C51

|

Microcontroller › 8051 › INTERFACING DS12887 WITH AT89C51

  • This topic has 3 replies, 2 voices, and was last updated 14 years, 11 months ago by Gaurav.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 22, 2011 at 7:18 pm #878
    Gaurav
    Participant

    Hi,,!!

     

    I need to interface DS12887 with AT89C51 for my project. All the codes available on the EG aren’t working fine at my end. The links are as under:

     

    1] http://www.engineersgarage.com/microcontroller/8051projects/interface-rtc-12c887-AT89C51-circuit

    2] http://www.engineersgarage.com/microcontroller/8051projects/digital-clock-rtc-12c887-AT89C51-circuit

    3] http://www.engineersgarage.com/microcontroller/8051projects/lcd-clock-rtc-12c887-AT89C51-update-interrupt-circuit

    4] http://www.engineersgarage.com/microcontroller/8051projects/alarm-clock-rtc-12c887-AT89C51-circuit

     

     

    I am using Keil2 and Keil 4  for generating hex files and Proteus for simulating the circuit.

     

    a) The clock is able to initialize from the PC clock (since i am simulating it on a PC) but we can’t set the values of Registers in via set time feature as described in the EG project links.

     

    b) My circuit connections are all alright since the lcd is working fine. In fact when the set time key is pressed “SET TIMING ” is visible along with “00:00” on and via the remaining two buttons we can also increment them but again when pressed enter these values aren’t fed into the RTC registers.

     

    A] Please let me know what coudl be the problem?

     

    B] Can you please create a project in your labs about interfcaing DS1307 with AT89C51 but with time set feature? I can help you with that. I have the running code ready in C, all you need to do is customize it for time set option.

     

    A PROMPT RESPONSE WOULD BE HEARTILY APPRECIATED.

     

    Thanks and Regards,

    ~Gaurav~

     

    April 23, 2011 at 7:03 am #6024
    Gaurav
    Participant

    Yes , I need to have real time but the important thing is that I need the time set feature. Somehow I am unable to work out with time set features in serial RTCs like DS1307. If have any knowledge about the same, kindly help.

     

    Thanks and Regards,

    Gaurav

    April 24, 2011 at 6:26 am #6031
    romel emperado
    Participant

    check this project it uses DS1307

     

    http://www.8051projects.net/downloads3.html

    April 24, 2011 at 8:07 am #6032
    Gaurav
    Participant

    Thanks Romel..!! DO check out Hackchina.com as well! You can find lot many codes over there. the once that I am using in my project for interfacing DS1307 and Microcontrolelr AT89C51 has been taken from there itself.

     

    Thanks and Regards,

    Gaurav

  • 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

  • Some opamp advice please April 11, 2026
  • Voltage comparator circuit verification April 11, 2026
  • want help with microprocessor April 11, 2026
  • Integrating 0–5V ECU Signals into a Double-DIN Setup – Module vs Custom Head Unit? April 11, 2026
  • isolating S-params in of PCB board without connectors April 11, 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