A/D converter


Closed Thread
Results 1 to 7 of 7

Thread: A/D converter

  1. #1
    Join Date
    Aug 2005
    Location
    Los angeles
    Posts
    39

    Default A/D converter

    Is it possible to use a negative voltage on the A/D input for the pic12f675 ?
    Thanks

  2. #2
    Join Date
    Oct 2003
    Location
    holland
    Posts
    251


    Did you find this post helpful? Yes | No

    Talking

    Yes it is possible to put a negative voltage on the input of a 12F675. BUT the chip can die, and the result of your measurement is wrong.
    To read the real value you have do swap the wires and measure again.
    When it is not possible to swap the wires just add an opamp wired as a one time inverting amplifier.

  3. #3
    Join Date
    Aug 2005
    Location
    Los angeles
    Posts
    39


    Did you find this post helpful? Yes | No

    Default

    sure i can put an inverting element but i am trying to avoid adding extra parts.

  4. #4
    Join Date
    Oct 2003
    Location
    holland
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    Then swap the wires !!

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Wink Analog ABS ( )...

    Quote Originally Posted by mat janssen
    To read the real value you have do swap the wires and measure again.
    When it is not possible to swap the wires just add an opamp wired as a one time inverting amplifier.
    Hi Mat,

    classical op amps can do an inverting or non-inverting amps, just by connecting "+" input to ground or to the signal input ... ( good thing with a Pic, no ???? )
    Consider an inverting amp ( G = -1 R's = 100k ) and simply connect the "+" input via a 100//100 k resistor to ground or signal.

    of course a negative supply for the AOP is needed ...

    that is used in R/C systems to trim gain and reverse on the Tx...
    I look for the scheme ... as oooooold as I .

    from Elektor July/Aug 1983 p 7-62


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

  6. #6
    Join Date
    Aug 2005
    Location
    Los angeles
    Posts
    39


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mat janssen
    Then swap the wires !!
    Well if this is the solution i wouldn't be asking this question. it's not that simple

  7. #7
    Join Date
    Jul 2003
    Location
    USA - Arizona
    Posts
    156


    Did you find this post helpful? Yes | No

    Default

    Well, you have your answer:

    Q. Is it possible to use a negative voltage on the A/D input for the pic12f675 ?

    A. Yes is it possible (careful what you ask for).

    Is it recommended? -> No it's not. You could damage the chip and besides your measurement will not go under Vss (GND).

    You could sense the signal even without a negative supply, but here are the guidelines (if you want to operate from positive supply only):

    1) You need the supply rail (Vdd) to extend somewhat above your signal range (i.e., if your signal can swing from +3V to -3V your supply needs to be +6V with some margin). Why is this?
    2) To measure this you need to "reference" the measurement. For this you need an OPAMP.

Similar Threads

  1. A/D converter problem
    By netstranger.nz in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th September 2009, 07:56
  2. Replies: 9
    Last Post: - 31st July 2008, 08:56
  3. A/D converter fails?
    By egberttheone in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th February 2006, 18:57
  4. A/D converter with pic16f84, i need a help
    By micro in forum General
    Replies: 0
    Last Post: - 13th December 2005, 21:17
  5. help with pic16f870 a/d converter
    By cammo in forum mel PIC BASIC
    Replies: 3
    Last Post: - 22nd March 2005, 05:16

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