Inconsistant A2D readings


Closed Thread
Results 1 to 4 of 4

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: Inconsistant A2D readings

    Hi,
    The recommended source impedance for the ADC on the 45K22 is 3k, you have 30k - that might play a role in your results (see table 27-22 in the datasheet).

    Since you have the acquisition time set to manual and such large source impedance perhaps you could try increasing the Pause 5 and see if that helps (or try reducing your source impedance to meet the recommended value of 3k). I'd probably also disconnect the signal from the second PIC until you get stable readings on the firts one.

    /Henrik.

  2. #2
    Join Date
    Feb 2009
    Location
    Southern California
    Posts
    86


    Did you find this post helpful? Yes | No

    Default Re: Inconsistant A2D readings

    I tried cutting the trace to the second pic and it didn't seem to have any effect. I adjusted the pause to Pauseus 10, pauseus 50 and pause 5. None seemed to help any. The resistors are surface mount, but I think I will try putting a 1k in parallel with the 30k and see if it at least stabilizes

    Thanks

  3. #3
    Join Date
    Feb 2009
    Location
    Southern California
    Posts
    86


    Did you find this post helpful? Yes | No

    Default Re: Inconsistant A2D readings

    I found the problem. I had two similar net names "Display Type" and "DisplayType" which should have been connected and weren't, so the microchip pin was effectively floating. I found it will playing with resistor values, so thanks Henrik for the help.

Similar Threads

  1. Inconsistant time using interupts
    By Mark J in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 20th November 2010, 22:10
  2. A2D question
    By dbodenheimer in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 26th July 2010, 08:03
  3. A2D issues on PIC16F876A
    By earltyso in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 31st July 2008, 15:06
  4. A2D on PIC 16F685
    By Forkosh in forum General
    Replies: 7
    Last Post: - 16th October 2007, 16:33
  5. Pic12f683, Trisio, High Z, A2d
    By jmbanales21485 in forum Schematics
    Replies: 9
    Last Post: - 5th July 2007, 20:34

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