Minimize battery consumption on a 18F2550


Closed Thread
Results 1 to 26 of 26

Hybrid View

  1. #1
    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 schematic work?

    When u press a button the FET will switch on the 7805 and the PIC, and then I hold RA4 low as long I want the PIC to run.
    The +BATT terminal is from a 9V battery and the datasheet says that RA4 can handle up to 14 volts if I have understand it right, so 9V on RA4 will be OK?
    Attached Images Attached Images  

  2. #2
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: Minimize battery consumption on a 18F2550

    It wont work. Because if PIC doesn't have power supply, current still can be drown from pin, and that will be probably enough to turn on fet. Even if RA4 is open drain, you can put more than VDD+0.6 on that pin. If you do this, you will damage input buffer.
    So you need to to put transistor to bring down gate. Depending on P FET you use and battery voltage, maybe you need to put another resistor to create voltage divider for gate.
    EDIT:
    Name:  Untitled.png
Views: 982
Size:  2.1 KB
    Last edited by pedja089; - 28th June 2014 at 18:13.

  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

    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

  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

    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  

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

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

  7. #7


    Did you find this post helpful? Yes | No

    Default Re: Minimize battery consumption on a 18F2550

    Name:  power supply1.JPG
Views: 939
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

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