Calendar with PIC


Closed Thread
Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2007
    Posts
    60

    Default Calendar with PIC

    Hello !

    Are somebody doing a " CALENDAR "( DAY, MOUNTH , YEAR ) with a PIC and LCD ?

    Thank you !

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    There's some easy route to use if you want to.

    DS1307 RTC.
    http://www.melabs.com/resources/samp...ted/MN1307.txt
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Nov 2007
    Posts
    60


    Did you find this post helpful? Yes | No

    Default

    There's some easy route to use if you want to.

    Thank you very much for this link . Is usefully .

  4. #4
    Join Date
    Nov 2007
    Posts
    60


    Did you find this post helpful? Yes | No

    Default

    Tell me please , has DS1307 only a single address code for all with this type ? In datasheet write :

    "The slave address byte contains the 7-bit DS1307 address, which is 1101000, followed by the direction bit (R/W),"

    If they have everyone a unique code , how can I know it ?

    Thanks !

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Don't worry, they all have the same... but you can't stack few of them on the same BUS like most I2C device who have those A0, A1, A2 lines on.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Nov 2007
    Posts
    60


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    ......but you can't stack few of them on the same BUS like most I2C device who have those A0, A1, A2 lines on.
    Only , becose is not necessary , yes ?

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Maybe, I don't know a situation where someone would need more than one RTC for a single project... possible, but probably not very common...

    You can add some other I2C device on the same I2C bus line though... just not another DS1307.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  8. #8
    Join Date
    Nov 2007
    Posts
    60


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    .........You can add some other I2C device on the same I2C bus line though... just not another DS1307.
    Thank you very much , Steve , was , very impportant for me . I am reading much documents to understand this , and I was not sure yet . Now I am !

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  2. HSERIN & Interupts (aka controlling PIC programs from a remote PC)
    By HankMcSpank in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th June 2009, 14:46
  3. Digital clock thermometer Calendar PIC 16F628
    By valdirdf in forum Code Examples
    Replies: 0
    Last Post: - 31st May 2009, 01:52
  4. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts