ADC conversion trouble


Closed Thread
Results 1 to 25 of 25

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default

    I guess it depend of the accuracy you need. If you use the internal Vref, when the PSU voltage swing, your accuracy will swing with accordingly right?
    Yes absolutely, but if you have 20mV noice or swing on the supply rail with a sensor output of 10mV/° you have 2° worth of noice. If you boost the signal to 100mV/° the same noice on the supply rail is now "worth" 0.2° instead.

    PICante,
    In a previous reply I sugested a Vref of 1.024V but after reading the 16F88 datasheet that may not have been a very good advice. Vref needs to be 2V minimum according to the datasheet so keep that in mind if you go for an external reference.

    /Henrik.

  2. #2
    Join Date
    Dec 2007
    Location
    Sweden
    Posts
    73


    Did you find this post helpful? Yes | No

    Smile

    Thanks guys!

    Yes I like to try the external reference and I need one decimal accuracy with +- 0.5C overall. Maybe it will take a high stability voltage source to reach this.

    Now I will try to figure out how to connect the Vref + & Vref- also how to set the bits in ANSEL and ADCON1 perhaps even the CVRCON? Not easy being a newbie! :-)

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by PICante View Post
    Not easy being a newbie! :-)
    I know what you mean. But it makes for a good excuse when something does not work or the room fills with smoke!!!
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Talking

    But it's always fun once in a while to have a smoke show huh?



    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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


    Did you find this post helpful? Yes | No

    Default

    Then you tell the kids. "I just did that so you could see what not to do." and "Always wear your safety glasses while programming."
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Don't try it at home, i'm a professional
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  7. #7
    Join Date
    Dec 2007
    Location
    Sweden
    Posts
    73


    Did you find this post helpful? Yes | No

    Talking

    Thanks guys, you are a lot of comfort!

    Unless you see a powerful light at the horizon I’ll be back soon!

Similar Threads

  1. Can't get ADC to loop
    By TravisM in forum mel PIC BASIC
    Replies: 2
    Last Post: - 11th October 2009, 15:33
  2. A/D conversion with PIC18F67J50
    By ScaleRobotics in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 8th May 2009, 01:48
  3. Help with ADC conversion
    By dbachman in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 1st February 2009, 20:02
  4. ADC trouble with PIC16F88
    By inventosrl in forum mel PIC BASIC
    Replies: 9
    Last Post: - 3rd December 2008, 12:56
  5. ADC problem
    By NacNud in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th December 2004, 02:27

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