PIC10F206 - What is the LOWEST Power @ Rest or Sleep


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Posts
    9

    Lightbulb PIC10F206 - What is the LOWEST Power @ Rest or Sleep

    I have been experimenting with my 10F206's for months now, and I am measuring the differences in Sleep mode using Pic Basic Pro.
    The PBP manual states that the END statement is just a cycle of SLEEP commands. Since SLEEP and NAP commands use the WatchDog timer, WDT must be turned on. for any of the three commands to work properly or at all.
    When the END command is reached in the program, the PIC does go down to about 1.9 to 2,1 u Amps. That doesn't seem to bad.
    I am using a NEW Fluke 189 Data logger meter to measure the current in sleep. When I Select the MAX/MIN button on the meter, ( FAST RECORD), the PIC records a pulse of current to about 87.2 u Amps about every three seconds or so.
    THE QUESTION---------
    Is there any way to completely turn off the WDT from waking up and drawing that current to stay at the 2.0 uAmp range or less?
    I was wanting to use a bunch of NAP statements in my program also just to save some power while doing stuff and then Completely turn off all power till a new Power UP. My design does not need to wake up until a new power supply is applied.

    Thanks All


    Thanks

    RIX

  2. #2
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    966


    Did you find this post helpful? Yes | No

    Default

    A simple statement like this will do exactly what you want

    This is inline assember

    turn off all interrupts here
    @ sleep
    goto main ' on wake up


    Jerson

  3. #3
    Join Date
    Jan 2006
    Posts
    9


    Did you find this post helpful? Yes | No

    Default 10f206

    Thanks Jerson,

    I had tried that, and I still get a blip of 87.5 uAmps about every three seconds. I guess I need a more expensive meter to see exactly what the transistion times are between 1.6 uAMp and the high pulse current of 85 uAmps. I thought I had read somewhere that the WDT will keep waking up to check things out and go back to sleep. I just cannot find out if you actually can KILL the WDT after a END of program is hit.
    Also I thought that the @SLEEP ,,,, ASM command still had to have the Watchdog timer running to function.

    I'll keep digging.

    Regards
    Rix

  4. #4
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Depends on your application ?

    Hi,

    If you like your PIC to go to a dead sleep then the WDT needs to be turned off. Use your config settings to turn it off and also use:

    Code:
    DEFINE NO CLRWDT 1
    This prevent PBP from inserting code to clear the WDT periodically in other words saves code space.
    Regards

    Sougata

  5. #5
    Join Date
    Jan 2006
    Posts
    9


    Did you find this post helpful? Yes | No

    Talking 10F206--- Almost Dead- Power Wise

    Sougata,
    I think that is and excellent command if it would only work after all of my other naps through my program.

    In the battery world as you know, I am trying to squeese every bit of power from the battery as I can.
    The naps instead of PBP pause commands give me that better edge.
    But when it come to the end of the program, (runs for about a minute and a half to three minutes) I want to put the program on a deep sleep until the power is cycled. That is my problem.
    I cannot get to deep sleep (lowest power possible) without enabling the WDT.

    I had thought that there may be a POR id Power on Reset that would take out the WDT and let the chip go frozen with 2 uAmp or lower if the power supply was still connected without the WDT waking up and looking for who needed help and going back to the 2uAmp state.

    I did complete a logging session with my Fluke 189 and I did see currents as high as 127 uAmp while it was suppose to be very rested. I have sent an email to FLUKE to ask why I could not log the FAST min/MAX on the software as I do on the 189 Display.

    For my Application, I wish PBP could find a way to completely KILL the WDT at the end with a NEW "KILL" statement. I don't know if that would make other people happy, but it would seem to come in handy for BATTERY apps.
    I bet Jeff or Bruce could come up with a ASM command that could "KILL" future WDT timer routines. (PBP Kill command)

    Thanks to All
    Regards
    Rix

  6. #6
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default I did not understand.

    Quote Originally Posted by rixtalbert View Post
    I cannot get to deep sleep (lowest power possible) without enabling the WDT.
    Hi,

    Please note that you need not use the PBP sleep command. With your watch dog turned off from the configuration bits you can put the micro to sleep via its direct asm instruction "SLEEP". Jerson showed you a way to do that in ASM. Only keep in mind that a comparator interrupt or pin change interupt can wake it up again. Already mentioned by jerson. Turn them off.
    Regards

    Sougata

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. High Resolution Timer & Speed Calculator
    By WOZZY-2010 in forum Code Examples
    Replies: 4
    Last Post: - 7th February 2010, 16:45
  3. Battery powered applications
    By NavMicroSystems in forum Off Topic
    Replies: 7
    Last Post: - 22nd June 2009, 07:12
  4. help
    By zugvogel1 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th February 2005, 20:42
  5. Need once your help one please
    By zugvogel1 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 9th February 2005, 20:33

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