Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Ioannis; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    33
    Views
    58,686

    Re: New software filter for adc reading

    Well, 4 bits down means the jitter is max 15 counts of the ADC... This is too much!

    Cannot understand how can a pot have so much bad connection of its wiper... If you use this port in audio...
  2. Replies
    33
    Views
    58,686

    Re: New software filter for adc reading

    I have not seen Henrik's piece of code, but as he noted it is not a sort or fast one.

    In the mean time, maybe you can:

    1. find the reason of the jitter/noise of the pot output.
    2. try getting...
  3. Replies
    29
    Views
    60,758

    Re: New software filter for adc reading

    You need to use floats whatever the sample are.

    Ioannis
  4. Replies
    29
    Views
    60,758

    Re: New software filter for adc reading

    Ehh, hmm, I think it is Al, Darrel :)

    It is indeed surprising how many have used it, but who thought that it needed floating? Also Microchip use it in various AN like the cap-sense routines but of...
  5. Replies
    29
    Views
    60,758

    Re: New software filter for adc reading

    I think with the running average will never reach the final ADC value because of rounding errors.

    E.g. for 10 bit ADC and say a RunAverage value of 1008, on next iteration 0.9375 should be added,...
  6. Replies
    29
    Views
    60,758

    Re: New software filter for adc reading

    Thanks Darrel. Is that on the X-axis ... time? I guess it is and the time it takes is forever.

    OK, if we use 3/4 will sure be faster, but how accurate?

    On an experiment with touch sensors I can...
  7. Replies
    29
    Views
    60,758

    Re: New software filter for adc reading

    Yes Jerson. That was it. It was too late here, so...

    Thanks for correcting.

    Ioannis
  8. Replies
    29
    Views
    60,758

    Re: New software filter for adc reading

    Hi Darrel.I too agree that nothing may beat the oversampling. It is obvious.

    The average I have in mind would be average=average*15/16+sample. Not many, but not too little and /16 can be done fast...
  9. Replies
    29
    Views
    60,758

    Re: New software filter for adc reading

    Excellent analysis Darrel!

    It would be interesting (at least to me) on your same setup to test the moving or running average too.

    Also, how did you collect the samples? From Excel side I mean....
  10. Replies
    29
    Views
    60,758

    Re: New software filter for adc reading

    I agree that the design engineer should do the best to eliminate every possible source of noise by good design and filtering.

    This does not make sure though that noise, spikes or whatever cannot...
Results 1 to 10 of 10