Using output pin to power peripherals; Op-amp, voltage reference, voltage divider....


Closed Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2008
    Posts
    22

    Default Using output pin to power peripherals; Op-amp, voltage reference, voltage divider....

    Working on a new project that I want to be very low power while off and powered up with an interrupt on change. I'm planning on having the micro (16LF1847) powered directly by batteries (3 to 3.6 volts) with no voltage regulation. The project will have an LCD (CFAX12864T-TFH), voltage reference for the ADC, voltage divider to monitor battery voltage, and an op-amp (MCP6034). I'm thinking of using an output pin on the micro to power all the peripherals during operation. The current draw would be well within specs but I'm curious if there's anything I'm missing that would be detrimental to the accuracy of the peripherals? Or, would I be better off switching power to the peripherals through a MOSFET from the battery? I want to keep the part count low if possible.

    Thanks

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Using output pin to power peripherals; Op-amp, voltage reference, voltage divider

    Did you come to any conclusion about this, I've often wondered (powering external devices from PIC gpio) but never seen anything definitive.

    BTW the 1847 has several fixed voltage sources which you could use to measure battery Vdd, no need for divider or subsequent power drain.

    George

  3. #3
    Join Date
    Nov 2008
    Posts
    22


    Did you find this post helpful? Yes | No

    Default Re: Using output pin to power peripherals; Op-amp, voltage reference, voltage divider

    Hey George,

    Thanks for checking in. I'm still working on the project, it's going VERY slow due to availability of time, and haven't come to a conclusion yet. I'll be sure to check back in when I finish up.

    Best regards,
    Mark

  4. #4
    Join Date
    May 2012
    Location
    Merseyside, UK
    Posts
    237


    Did you find this post helpful? Yes | No

    Default Re: Using output pin to power peripherals; Op-amp, voltage reference, voltage divider

    Interesting thread for me…

    I have just completed a small project using a 16f818 with LCD, RTC, etc turned on and off from GIO Pins… So would be interested to see how others might do it. I just used a FET 2n7000 gate driven via a 1k Resistor.

    Few issues with back feeds around the LCD but cured with a well placed diode !

    Andy

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: Using output pin to power peripherals; Op-amp, voltage reference, voltage divider

    Any chance of a circuit diagram, for a hardware dunce.

    George

  6. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,611


    Did you find this post helpful? Yes | No

    Default Re: Using output pin to power peripherals; Op-amp, voltage reference, voltage divider

    Why would problems occur, if you do not draw too much current ??? just check the voltage vs current datas ...

    I often use output pins to power TL431s as voltage refs ... absolutely no difference from powering a simple LED ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  7. #7
    Join Date
    May 2012
    Location
    Merseyside, UK
    Posts
    237


    Did you find this post helpful? Yes | No

    Default Re: Using output pin to power peripherals; Op-amp, voltage reference, voltage divider

    Quote Originally Posted by towlerg View Post
    Any chance of a circuit diagram, for a hardware dunce.

    George
    Will sort it later George.

  8. #8
    Join Date
    Nov 2008
    Posts
    22


    Did you find this post helpful? Yes | No

    Default Re: Using output pin to power peripherals; Op-amp, voltage reference, voltage divider

    I didn't think there would be any problems but I thought I'd ask to see if there was something I might be missing.

    Thanks for the response.

  9. #9
    Join Date
    May 2012
    Location
    Merseyside, UK
    Posts
    237


    Did you find this post helpful? Yes | No

    Default Re: Using output pin to power peripherals; Op-amp, voltage reference, voltage divider

    Quote Originally Posted by towlerg View Post
    Any chance of a circuit diagram, for a hardware dunce.

    George
    Thought the request was familiar.....Only difference to the circuit in the pic is I now have a LS Diode in the line from the FET Drain to the LCD Supply. I discovered some back feed from the LCD. The diode blocked it !

    http://www.picbasic.co.uk/forum/showthread.php?t=19351

    Andy

Similar Threads

  1. DT_Analog & 12F1822 internal voltage reference
    By retepsnikrep in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 11th February 2014, 18:24
  2. Voltage Divider help please
    By financecatalyst in forum Schematics
    Replies: 1
    Last Post: - 20th November 2010, 02:43
  3. Voltage Divider Question
    By exelanoz in forum Schematics
    Replies: 9
    Last Post: - 2nd November 2010, 14:20
  4. What's the voltage on output pin when it's HIGH?
    By TonyA in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 23rd April 2008, 16:06
  5. make a low voltage output from a PIC pin
    By emptyset in forum General
    Replies: 1
    Last Post: - 8th February 2008, 20:20

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