Low Power Sleep


Closed Thread
Results 1 to 5 of 5

Thread: Low Power Sleep

  1. #1
    Join Date
    Jun 2009
    Posts
    20

    Default Low Power Sleep

    I am trying to get a 18F2553 to sleep using minimal current until an external interrupt wakes it. I can't get the power consumption down below about 10 mA during sleep. The only other thing in the circuit is a DS1337 and i have disconnected itdurring sleep, but see little current change. I am a beginner at this stuff and based on a search of other posts, I think the configuration fuses are the major part of the problem. Any quick suggestions?

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Do you have the Watch Dog shut off?

    But do not be afraid to post your configs and code. Might make the guessing game go faster...
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Post

    If you can share your circuit schematics, that could also reveal some of the reason for high current consumption.
    What do you have in OSCCON? Idle or Sleep?
    Code:
    <code><font color="#000000">OSCCON.7 = 0    <font color="#000080"><i>'Device enters Sleep mode on SLEEP instruction</i></font></code>
    Some Lessons Learnt from near history

    BR,
    -Gusse-

  4. #4
    Join Date
    Jun 2009
    Posts
    20


    Did you find this post helpful? Yes | No

    Default

    The only other device in the circuit is a real time clock; I have disconnected it during the sleep cycle with little or no change. I will try truing off the watch dog timer and setting the OSCCON as suggested.

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


    Did you find this post helpful? Yes | No

    Default

    Doing that will NOT account for 10mA of Current draw.

    Pull your PIC out and measure how much current your circuit still takes without the PIC in place. If it's zero, then the answer is that you must be drawing a shed-load of current through one of your I/O's. The question is which? Pins set to INPUT should take very little current, but those set to OUTPUT may well be Sourcing or Sinking something...

    Don't forget to turn OFF ADC's, Voltage References etc... they all take current (but not 10mA worth!!!).

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. Battery powered applications
    By NavMicroSystems in forum Off Topic
    Replies: 7
    Last Post: - 22nd June 2009, 07:12
  3. Old and beyond help ?
    By DavidFMarks in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 11th December 2008, 15:23
  4. Using Sleep
    By elec_mech in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th August 2008, 04:05
  5. 4-line LCD Help - using PortA instead of B
    By Tom Gonser in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 31st March 2005, 03:14

Members who have read this thread : 1

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