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 jcleaver,

    Well the obvious things to check are the crystal, the SDA and SCL pins aren't reversed, the sec.7 setting and the batt pin grounded or connected to a battery.

    I personally use the DS1337 RTC. It doesn't have a batt pin and it doesn't have a startup register to set. BUT, when I first started using it I thought any 32K crystal would work. I was way off on that one. Every one of my clocks gained time and fast! Reading the fine print in the datasheet for the 1337 RTC shows the crystal needs to have a 6pf capacitance load. Bought the right crystal and they haven't missed a beat yet! Back to your problem.

    Triple check the SDA and SCL pins to make sure they aren't reversed. Just for the hell of it, read and display RTCSec.7 to make sure it is set to 0. I know I read your posts about sending a $00 to the sec register but I would at least try sending RTCSec.7 = 0 to see if the clock doesn't start running.

    I would also try setting up the mentioned program from Melanie MN1307. At least here you know for sure the program works. If you 1307 works in her program then you've got some direction to look in.

    I've done several projects now with the DS1337 and I haven't had any problems other than the crystal.

    HTH,

    BobK
    Last edited by BobK; - 9th February 2007 at 21:24.

Similar Threads

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