sleep with pic


Closed Thread
Results 1 to 2 of 2

Thread: sleep with pic

  1. #1
    Santana's Avatar
    Santana Guest

    Default sleep with pic

    Hi Guys/Ladies
    What is the best way to put and wake my pic to sleep
    i am designing a data logger that would be battery operated
    and would date stamp my readings and store to a serial eeprom.
    Some people might want to take readings only once an hour
    and the reading only take a minute max .
    How can put the pic 18F452 to sleep then wake it up just before the user reading time.
    Would i need to use a RTC that can trigger an interupt on RB0 ?
    Just a few pointers in the right direction


    __________________
    ( Santana )
    ( )
    ( **** )

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    You may need an RTC with Alarm if you want once an hour wake-up, as most will give you a 1Hz pulse at best.

    But then again, if you wake up every second (with a 1Hz pulse), increment a counter and if an hour hasn't elapsed fall asleep again, you still will be asleep 99.999% of the time out of every second. Sounds good to me.

Similar Threads

  1. 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
  2. Need help with SLEEP mode
    By aggie007 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 28th November 2007, 09:56
  3. Replies: 3
    Last Post: - 27th November 2007, 08:56
  4. PIC serial going to sleep!
    By stma in forum Off Topic
    Replies: 0
    Last Post: - 31st October 2007, 08:17
  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