PIC power drain


Closed Thread
Results 1 to 6 of 6

Thread: PIC power drain

  1. #1
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373

    Default PIC power drain

    Does anyone know what the power drain of a PIC is with an external clock vs. HS setting. I assume it is less in general. What about if the clock is stopped? I am running a 16F819 and a 18F2420 with a clock pulse derived from a Chipcon CC1100 and was trying to figure what I can expect from a tank of gas. The clock speed is 8 MHz.

    Thanks,
    Ron

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


    Did you find this post helpful? Yes | No

    Default

    Datasheet - Electrical Characteristics Section. For the 16F819 it's Section 15.

    Don't look at my next paragraph... go read the Datasheet first...

    OK, now you've read it, you've wasted your time (but admit it was fun!), because the current drain will depend on your I/O's (ie what's sourcing and what's sinking), what internal hardware you've enabled (ADC's weak pull-up's internal voltage references etc etc). You get the drift. You just can't calculate it that easy.

    You build your circuit, stick your DMM on Amps and measure... If you want to really feel good, you measure on the 10A range and it'll show zero... Note that when measuring on very low (single figure) uA ranges, your meter will impact quite a high series resistance which can throw the operation of your circuit as well as give you a false reading.

  3. #3
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Melanie
    Datasheet - Electrical Characteristics Section. For the 16F819 it's Section 15.

    Don't look at my next paragraph... go read the Datasheet first...

    OK, now you've read it, you've wasted your time (but admit it was fun!), because the current drain will depend on your I/O's (ie what's sourcing and what's sinking), what internal hardware you've enabled (ADC's weak pull-up's internal voltage references etc etc). You get the drift. You just can't calculate it that easy.

    .
    I "RTFMed" three times prior to posting. There is no info on the EC vs any other mode. Now, there is HS vs LP vs XT and even RC! But no mention of EC?!? I will build the proto with the little QLP package, go blind from squinting, and stick my handy dandy wide range constant voltage microammeter of my design (thankyou very much!) in the appropriate places to check current drain, but, my question was sparked as much from the lack of info in "TFM", as the chioce of including an 8 Meg resonator and shutting down the crystal oscillator on the CC1100 or running everything from the 8.666 MHz output from the RF chip. The 1100 runs at 90 uA with the crystal running in standby, so I am leaning toward it's oscillator.

  4. #4
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    Some of the 18F devices have comparisons of EC vs. other modes. It appears that there is about a 30% power savings over using the HS mode . Does this translate to the '819? I believe it will have 'some' savings in power. It has answered the question that it is not less power efficient, not to mention space saving, by using an external oscillator and adjusting the PBP routines for the 9% frequency difference. I'll have the boards back next week, and report my findings.

    Thanks for the feedback,
    Ron

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


    Did you find this post helpful? Yes | No

    Default

    Some 18F parts have "power managed modes" that work with EC oscillators, so the data sheet indicates current consumption in EC mode as well as other oscillator options.

    In the 18F2420 data sheet, look in the power managed modes section for details.

    Note that this does not indicate whatever current your external TTL clock osc is going to eat up. Only what's needed/used by the PIC.

    The 819 doesn't have anywhere near the bells & whistles the 18F series does, and all the 819 data sheet can really tell you about power consumption is what the PIC itself requires.

    TTL clock type oscillators have their own current specs. You would need to factor that in with what's shown in the 819 data sheet as Melanie indicated.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  6. #6
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bruce
    Some 18F parts have "power managed modes" that work with EC oscillators, so the data sheet indicates current consumption in EC mode as well as other oscillator options.

    In the 18F2420 data sheet, look in the power managed modes section for details.

    Note that this does not indicate whatever current your external TTL clock osc is going to eat up. Only what's needed/used by the PIC.

    The 819 doesn't have anywhere near the bells & whistles the 18F series does, and all the 819 data sheet can really tell you about power consumption is what the PIC itself requires.

    TTL clock type oscillators have their own current specs. You would need to factor that in with what's shown in the 819 data sheet as Melanie indicated.
    The oscillator output is one of the of the CC1100 programmable functions. It draws 90 uA at 3 volts with the clock running while in "wake on radio mode". Of course, if it is feeding the PIC also, this value will increase. I have it breadboarded right now with a GPS module and on screen display, so current measurement is a bit tricky. I am running separate oscillators while I check out the GPS functionality. The next test will be to make sure the oscillator output from the 1100 will reliably run the PIC.

    Thanks again for the input...
    Ron

Similar Threads

  1. Pic getting part power from Analog Port
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 22nd April 2009, 10:34
  2. Ideal backup power for PIC micro
    By emavil in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd March 2007, 00:07
  3. PIC power backup with "super capacitor"
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 24th January 2007, 23:51
  4. problems on power up of PIC
    By dmairspotter in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th June 2006, 14:11
  5. Controlling power to a PIC with another PIC
    By jswayze in forum Off Topic
    Replies: 3
    Last Post: - 28th May 2005, 19:44

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