8pin voltage convertor


Closed Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2005
    Posts
    23

    Smile 8pin voltage convertor

    Hi,
    Can anyone suggest an 8 pin flash chip that can take an analog voltage between, say 0 - 1 volts and out put a proportionally higher analog voltage, based on the math I will do in the code. I also want it to run on internal oscillator to minimize parts count.
    I haven't designed anything in a long time and have forgotten most of the chip numbers and their functions information. Also don't need any more than one pin input and one pin out.
    Thanks for the help!
    Ron

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    What about using an op amp?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    An op amp will do it. But consider the fact that, unless you have a negative voltage power supply available (so that the op-amp is powered by + and - voltages), you can't amplify a voltage very near "0". If you can tolerate a little non-linearity near 0V, and you only have a positive supply available (say +5V), you can use a rail-to-rail input/rail-to-rail output type. A good place to look is -

    http://www.national.com/cat/index.cgi?i=i//11
    Charles Linquist

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Good point Charles.

    I have been using a LM358 for thermo couplers.
    single supply: 3V to 32V
    dual supplies: ±1.5V to ±16V
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Default

    Could you use a 12F683, vary the duty cycle of the PWM output according to the input voltage, and smooth it?

    For the op-amp approach, you might see if the TLC271 would work well enough in a single-ended application.
    Last edited by RussMartin; - 26th October 2008 at 05:08.
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

  6. #6
    Join Date
    Sep 2007
    Location
    USA, CA
    Posts
    271


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by MARAD75 View Post
    Hi,
    Can anyone suggest an 8 pin flash chip that can take an analog voltage between, say 0 - 1 volts and out put a proportionally higher analog voltage, based on the math I will do in the code. I also want it to run on internal oscillator to minimize parts count.
    I haven't designed anything in a long time and have forgotten most of the chip numbers and their functions information. Also don't need any more than one pin input and one pin out.
    Thanks for the help!
    Ron
    Any pic with ad a/d and pwm can do it. Use an external 1v reference (or slightly higher for protection), and a voltage divider to scale it down where you want, and then you won't lose any resolution.

  7. #7
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,651


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by MARAD75 View Post
    Hi,
    Can anyone suggest an 8 pin flash chip that can take an analog voltage between, say 0 - 1 volts and out put a proportionally higher analog voltage, based on the math I will do in the code. Thanks for the help!
    Ron

    Hi, Ron

    I think the math will drive the need for codespace ... so ... what are those Top Secret Math calculations ???

    Some OPA also are to consider for a simple LINEAR conversion ...

    8 pins 12F683 ( thanks to Russ) will give you 2 k Words ,ADCs and a PWM unit ... and you won't find bigger ( say ... as a PIC ...)

    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 " !!!
    *****************************************

  8. #8
    Join Date
    Dec 2005
    Posts
    23


    Did you find this post helpful? Yes | No

    Thumbs up 683

    Hi Alain, and all others,
    Thanks for the help. Been using an LM358 and it works well. I just thought if there was a pic that would do it, then I can get fancy with the code math until I find what works best. I will probably try a 12F683, play with the A/D and see what I get.
    Thanks all,
    Ron

  9. #9
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    The PIC will work, but the linearity and accuracy will be less than if you use an op amp.
    Charles Linquist

Similar Threads

  1. high voltage high frequency H-Bridge
    By George in forum Off Topic
    Replies: 6
    Last Post: - 27th April 2009, 11:50
  2. Expanded Scale Voltmeter
    By Pic_User in forum Schematics
    Replies: 6
    Last Post: - 8th February 2008, 20:32
  3. make a low voltage output from a PIC pin
    By emptyset in forum General
    Replies: 1
    Last Post: - 8th February 2008, 19:20
  4. Help with final project
    By OvERKiLL in forum General
    Replies: 4
    Last Post: - 15th December 2006, 20:35
  5. Low Voltage Detection
    By Srigopal007 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th January 2005, 18:29

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