Shop OBEX P1 Docs P2 Docs Learn Events
DS1307 Real-Time-Clock (X14) and BS2P40 on Professional Development Board — Parallax Forums

DS1307 Real-Time-Clock (X14) and BS2P40 on Professional Development Board

latigerlillylatigerlilly Posts: 114
edited 2012-04-16 10:00 in BASIC Stamp
Hi,

What kind of programming commands would I use to get the time from the DS1307 time clock? Does this clock also display a date? How do I set the time and date for this clock? Thanks.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2012-04-16 10:00
    The StampWorks Manual is the reference manual for the Professional Development Board (PDB). If you don't have it already, you need a copy of the Basic Stamp Syntax and Reference Manual. These and more are available for download from Parallax's Downloads webpage. Check out Stamp Documentation and Stamps in Class Tutorials.

    The I2Cxxx statements are what you would use. The Basic Stamp Manual describes these in detail and Experiment #33 in the StampWorks Manual gives examples of their use with the DS1307 on the PDB.

    Here's one Nuts and Volts Column that mentions briefly using an I2C Real-Time Clock (not the DS1307 though).

    Here's a link to the DS1307 datasheet.
Sign In or Register to comment.