PIC10F206 - What is the LOWEST Power @ Rest or Sleep


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    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

  2. #2
    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

  3. #3
    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

  4. #4
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hi rixtalbert,
    If I understand this correctly ( I probably do not ) you want to shut the pic completely off when the program finishes executing until you power it up again with a switch? Why not feed the pic power through a small SCR and series resistor, you could then wire an output pin to the hot side of the resistor. Your program would then only need to output high on that pin to cause the SCR to cutoff.<b> I have not wired this up to test, so I do not know if the back voltage into the output will fry the pic or if it will simply drop out when the pic powers down.</b>
    JS
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

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


    Did you find this post helpful? Yes | No

    Default I disagree

    Hi Joe,

    It is a nice idea. Once fired when the PIC enters the SLEEP it will probably delatch due to current less than the minimum latching current. But I personally feel it is not necessary as it adds to the hardware cost and also causes power loss (disipation). Not recommended for a battery powered low (ultra???) current equipment. With the 10F206 it is possible to shut it off into ultra low power mode by software only without any modification to the existing circuit and PCB.

    Rixtalbert I hope by this time you have already implemented what jerson suggested. If not then post your code or usage of the peripherals --> Interrupts, Pin Change, Comparator etc so that an actual code snippet can be thrown.
    Regards

    Sougata

  6. #6
    Join Date
    Jan 2006
    Posts
    9


    Did you find this post helpful? Yes | No

    Default 10f206 Low Power In Wdt

    Right off!~

    Thanks to all the guys that have commented on this issue of mine.

    I have attached a crude code with current readings during the time of the events as best I could to help sort out the problem.

    I am still speaking with Fluke on model 189 issues to understand why their Forms View software does not record the same readings as the the 189 meter display. That is a different problem.
    Honestly, the new Fluke 189 was probably not meant to record such low uA readings with much accuracy.
    But I do see around 2uA at the END statement with peaks every few seconds to around 89 uA.(These 89uA current peaks are what I want to kill)

    I have tried all of the suggestions in my brainless code snippet to see where the edge is of current draw...

    It is funny that the NAP to NAP transistion seems to draw around 400 + uA current. OOOOOHHHH well.

    And also the END statement without turning on the (WDT fuse ),in the settings Just locks a 10F206 where it cannot be restarted after power is removed and reconnected. It is a one time program run. After that ,, No more running after re=power UP.

    Thanks again Guys...
    and I will keep reading the fine line.

    I did find a nice post in the Proton section that had problems with a PIC not wanting to sleep. I had the link and it vaporized in my network before I could paste it..


    Regards for your advice
    Rix
    Attached Images Attached Images

  7. #7
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rixtalbert View Post
    I am still speaking with Fluke on model 189 issues to understand why their Forms View software does not record the same readings as the the 189 meter display. That is a different problem.
    Honestly, the new Fluke 189 was probably not meant to record such low uA readings with much accuracy.
    Rix
    http://assets.fluke.com/datasheets/2153ExtSpecs.pdf

    I just had a look at the '189's spec's on their site. They say it's good for .25% + 20 counts measuring DC, higher than that if AC. But, they also state that's only if the meter has been cal'd in the last year. Short answer from me anyways...it should be able to measure those currents without a problem...

    Not sure about the other problems. I didn't see anything in the errata that caught my eye. I'd be inclined to think that your problem lie elsewhere, the power grid, something else in the room, static charge, something... I don't know enough about what you've got going on.

    (Ya know, using a power switch doesn't draw much current I kid...I kid...)

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