Accurate Sleep Mode


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2005
    Posts
    67

    Question Accurate Sleep Mode

    Hi, Apart from NAP and SLEEP which use the watchdog as the counter,
    is there a way of incrementing a counter based on the xtal clock and using as little power as possible ?
    I am trying to maintain a reasonable accurate clock timer, whilts in low poer mode.
    thnks
    Pete

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Peter1960 View Post
    Hi, Apart from NAP and SLEEP which use the watchdog as the counter, is there a way of incrementing a counter based on the xtal clock and using as little power as possible ? I am trying to maintain a reasonable accurate clock timer, whilts in low poer mode. thnks
    32khz xtal on TMR1 with a prescale kicking an interrupt which increments a counter?
    We don't know which PIC you got.

  3. #3
    Join Date
    Feb 2005
    Posts
    67


    Did you find this post helpful? Yes | No

    Smile

    Hi,

    I am using a 16F676 with a 4mhz resonator.

    Have to use resonator for serial port.
    Pete

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Peter1960 View Post
    Hi,
    I am using a 16F676 with a 4mhz resonator.
    Have to use resonator for serial port.
    Datasheet section 5.5, using a 32khz crystal across OSC1 & OSC2 feeding TMR1 and incrementing your counters and sleeping in the meanwhile. Run the PIC off the internal 4mhz.

Similar Threads

  1. High Power Consumption in Sleep Mode
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 18th September 2014, 13:29
  2. Won't go back to SLEEP after 1st Interrupt
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 29th June 2009, 09:00
  3. Need help with SLEEP mode
    By aggie007 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 28th November 2007, 09:56
  4. Replies: 3
    Last Post: - 27th November 2007, 08:56
  5. Sleep Mode in PBP
    By Keith in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 4th March 2005, 20:58

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