A2D question


Results 1 to 11 of 11

Thread: A2D question

Threaded View

  1. #8
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    1. Is there a better way to send serial; data than the way I'm doing it? Anyone have a routine that they think works better?
    Yes, use HSEROUT.

    HSEROUT[STR txbuf \ 4] , will send your array out at the baud rate choosen in your define.

    See page 79 - 80 of PBP manual.

    2. It seems like my returned values vary quite a bit. I don't have access to a scope, but it seems that the sensor is returning pretty constant voltage. it returns 0 - 10 v I am using a voltage divider made up of 2 2.2 K resistors to shift the sensor output to 0 - 5 volts. Any hints on making the system more stable? Slow down the conversion time? My requirements are pretty easy, i need to read the sensor no more than twice a second.
    Read the thread at the given link, you will find the technique and snippets to keep your adc reading stable.

    www.picbasic.co.uk/forum/showthread.php?t=6734


    Al.
    Last edited by aratti; - 25th July 2010 at 09:00.
    All progress began with an idea

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