Minimum power modes for PIC18LF4620


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    North Norfolk UK
    Posts
    146


    Did you find this post helpful? Yes | No

    Default

    Hi BrianT,

    I have recently been reading the datasheets on the 18F2420 with regard to power modes and battery power. it is something I have not done before.

    I thought I might start experimenting with a lower class of chip with less features to help me understand how the different power features work. but in the back of my mind I keep thinking why should i use the BOD feature in the chip and not implement an external power monitor circuit, and convey the info to the MCU, possibly to prevent writing to the external eeprom.

    I am waaay behind you though, just sharing a first few thoughts.


    Duncan

  2. #2


    Did you find this post helpful? Yes | No

    Default Lowest power operation in 18LFxx20

    Table 26.2 shows what peripherals draw.

    4.6 uA for the Watch Dog Timer,
    40 uA for the Brown Out Detector,
    40 uA for the High/Low Voltage Detector,
    4.5 uA for the Timer1 Oscillator
    2 uA for the Analog to Digital Converter.

    Every time the battery goes flat the PIC18LF4620 scrambles the code space (and corrupts the bootloader) so I was going to try the BOR or the HLVD but the current draw is unacceptable. My next PCB layout will have ICSP pins so I can try the Code Protect option which I don't think allows a bootloader.

    I think I am right in saying the PBP SLEEP command needs the WDT to be active so that sets a minimum current around 4.6 uA unless there is some other way of getting to the fabled 100 nA mentioned in the Microchip literature.

    Any thoughts on how to IDLE or SLEEP the PIC18LF4620 at 100 nA, AND still be able to wake from this comatose state, would be most welcome.

    Cheers
    Brian
    Last edited by BrianT; - 6th February 2008 at 00:00. Reason: spelling

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


    Did you find this post helpful? Yes | No

    Default

    Hey BrianT,
    Greetings !
    Those are some mighty tiny power figures, is there any chance you might be able to augment your power with a small (pocket calculator type) solar panel? Or maybe use a smaller device to power up that big 18F device as a supervisor circuit?
    JS
    Last edited by Archangel; - 6th February 2008 at 00:50.
    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.

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by BrianT View Post
    Every time the battery goes flat the PIC18LF4620 scrambles the code space (and corrupts the bootloader) so I was going to try the BOR or the HLVD but the current draw is unacceptable. My next PCB layout will have ICSP pins so I can try the Code Protect option which I don't think allows a bootloader.

    I think I am right in saying the PBP SLEEP command needs the WDT to be active so that sets a minimum current around 4.6 uA unless there is some other way of getting to the fabled 100 nA mentioned in the Microchip literature.
    The '4620 has A/D. You could occasionally sense your own Vdd voltage with an extra diode or voltage divider circuit.
    As far as the 100nA goes, I know microchip has a couple of really good app notes for that...I can't remember what or where they are though...

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. Pic getting part power from Analog Port
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 22nd April 2009, 10:34
  4. 12 Servo's together does not seem to work, Power problem
    By macx75 in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th December 2006, 19:30
  5. Minimum power operation - 16F877A
    By btaylor in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 2nd March 2006, 02:44

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