ds 1307 revisted


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi Jack,

    1. The DS1307 needs a crystal with a 12.5pf load. That part # is DigiKey SE3201-ND or SE3202-ND or SE3203-ND. The difference between them is physical size with the 3201 being the largest and the 3203 being the smallest and the more expensive. 3201 and 3202 are $.27 in single lot and the 3203 is $1.38 single lot. You can find them on page 1135 of their current catalog.

    2. RTCsec came from the MN1307 program. You have your "secs" register which is the same thing.

    3. If I were you, at this point, I would strip the program down and only put the LCD items in there first, make sure the LCD works, then I would add just the clock stuff. I have attached a DS1307 program I got off of another PIC group. I do believe our own Darrel Taylor was a part of the discussion on getting the clock chip to work. When you look at this program you will see that there are RTC register assignments as constants. You don't seem to have them in what you posted here. This may be part of the problem. This listing I have attached is very close to what I have for my DS1337 program. Try this program just with the LCD portion of your program and see if it doesn't get you going. You shouldn't have to make any pin assignment changes. SDA and SCL are the same pins.

    You can set the time values to your current time, just make sure the secs are set to $00.

    You're having fun.... you just don't know it. This programming stuff is frustrating as all hell but once you get it to work you won't forget it!

    HTH,

    BobK
    Let me know how this works for you.
    Attached Files Attached Files

  2. #2


    Did you find this post helpful? Yes | No

    Smile haveing fun now?????

    thanks for takeing your time with me i was able toget your program running

    i have different lcdout commands but was a simple fix


    will continue to try to devolpe

    boy are we haveing fun now next lets go out and shoot off our toes (ha ha)


    thanks again

  3. #3
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi Jack,

    Glad to hear you got it working!

    My big thing now is to get the serial LCD module from Wulden.org to work. It displays the data but you can't control where it's suppose to be. It's based on the PHAnderson "chip" and has sometype of ASCII command set that is different from the other adaptors out there.

    I use an RTC in almost everything I build. This forum has been a big help for me.

    Have a nice day!

    BobK

  4. #4


    Did you find this post helpful? Yes | No

    Default where to buy

    where is there a usa dist for this?

  5. #5
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi Jack,

    What are you looking to buy?

    BobK

  6. #6


    Did you find this post helpful? Yes | No

    Default serial

    just trying to find a good clock setup thought the serial lcd driver
    would help

    also clock is gaining time have to see where to get the correct crystals for this
    oops clock is loseing time greatly
    any info

Similar Threads

  1. 1307 RTC accuracy?
    By amgen in forum General
    Replies: 16
    Last Post: - 6th October 2008, 19:03
  2. Need help PIC 18F2550 with DS 1302
    By christina86 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 28th December 2007, 02:05
  3. ds 1307
    By jcleaver in forum mel PIC BASIC
    Replies: 2
    Last Post: - 30th June 2007, 13:28
  4. ds 1307
    By jcleaver in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 5th February 2007, 17:09
  5. DS 1620 Code example?
    By G-R-C in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th September 2006, 03:45

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