Minimize battery consumption on a 18F2550


Closed Thread
Results 1 to 26 of 26

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: Minimize battery consumption on a 18F2550

    Using a voltage regulator introduce some complication. You will feed 9 volts to your inputs and this will demage your pic. You need to isolate in same way your pic (both input and output) see the attached suggestion. (remember that all the input must be pulled up)

    Cheers

    Al.
    Attached Images Attached Images  
    All progress began with an idea

  2. #2
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default Re: Minimize battery consumption on a 18F2550

    Will this work then?
    PORTB are using internal weak-pullups, and I keep RA0 high as long as I want the PIC to run.
    Attached Images Attached Images  

  3. #3
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: Minimize battery consumption on a 18F2550

    When the push button is open you feed 9 volts to the pic input. Place a diode on each input to stop this current flow.

    Cheers

    Al.
    All progress began with an idea

  4. #4
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default Re: Minimize battery consumption on a 18F2550

    Does it look ok now?
    I assume the standby current now will be 0uA when no button is pressed and the RA0 is not high?
    Attached Images Attached Images  

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: Minimize battery consumption on a 18F2550

    Name:  power supply1.JPG
Views: 935
Size:  65.6 KB

    the input to pic pins (9 volt) is limited by the 100K r and those pins should have redirect diodes (inside pic) that protects pic from overvoltage.
    The opto will shutdown power or the r-c on fet gate can be made to time out (any time you set) but the power to pic then just reduces slowerly? ,,,but the brownout setting also will shut down pic before too low voltage makes program unfunctional ..
    don

  6. #6
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: Minimize battery consumption on a 18F2550

    With reference to your schematic of post #14, please note that if you can find a switch with two contacts (common; No & Nc) then connecting the common to ground and the Nc to pic input and No to the gate of Pchan mosfet you can eliminate all the diodes.

    All you need now is to assemble the circuit on a proto-board and see if it works.

    Cheers

    Al.
    Last edited by aratti; - 29th June 2014 at 06:53.
    All progress began with an idea

  7. #7
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default Re: Minimize battery consumption on a 18F2550

    The datasheet says this
    Absolute Maximum Ratings
    Voltage on MCLR and RA4 with respect to VSS .................................................. ..........................................-0.3 to +14V
    Voltage on all other pins with respect to VSS .................................................. ..................................-0.3V to VDD + 0.3V
    Does that mean that I can feed +9 into RA4?
    And if not why should this be avoided?

Similar Threads

  1. Replies: 13
    Last Post: - 22nd January 2012, 04:48
  2. Fuel consumption display
    By veijavi in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 27th December 2011, 06:05
  3. Gasoline consumption Math
    By srspinho in forum General
    Replies: 5
    Last Post: - 12th November 2007, 10:21
  4. 12F683 battery powered remote - energy consumption question
    By silentwol in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th April 2007, 13:23
  5. low power consumption
    By taos in forum General
    Replies: 0
    Last Post: - 26th February 2006, 08: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