Pot reading jumping like crazy!!!


Results 1 to 13 of 13

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Oh, crap... didn't realised you where using the POT command.....Sorry.

    Disregard:
    Have you tried buffering the signal from the POT with an OPAMP? It may be that the source impedance of the POT is too high for the ADC to work properly. Try two 1k (no higher then 1k for now) resistors in series from +5V to GND, connect the middle point to your analog in pin. Does it still jump around? If not you should now have a reading of ~128 for 8bit and ~512 for 10bits. If not my guess is that you either have the left/right justify bit set up wrong or using the wrong Vref. But it's really hard to tell without even knowing what chip you are using and/or your register setup....

    /Henrik Olsson.
    Last edited by HenrikOlsson; - 15th November 2006 at 21:18. Reason: For not reading the original post correct.

Similar Threads

  1. Using the Pot command.
    By timseven in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 17th August 2009, 20:23
  2. reading the value of a pot
    By studysession in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 1st February 2009, 09:45
  3. A/D, Pot, Input, A,B So lost now....
    By Helmutt in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 9th March 2008, 22:23
  4. Replies: 4
    Last Post: - 24th January 2007, 22:20
  5. pot controlled pwm -- help
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 29th January 2006, 12: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