What you are doing could be considered a software low pass filter. There are a great many ways to implement one, though, so you need to more carefully define what you are trying to accomplish. We have talked about this on the list before, try looking for other terms: digital filter average averaging sensor filter smoothing -Adam On 6/19/07, Andre Abelian wrote: > Hi to all, > > I am using external 13 bit ADC witch originally won't necessary > to go that high resolution "not under my control" now the result > I am getting is noisy numbers are going high and low. what I did is > reading it 10 times then I add them together then divide it by 10. > It helps but one of our engineer asked me to add software low pass > filter witch I am familiar with it. Reading 10 times values are up to 15 point > different. > My question is do you have any experience or know how software LPF work? > any link or info will appreciate. I searched piclist.com not enough info > I found to understand what to do. > > thank you for your help > > Andre > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Moving in southeast Michigan? Buy my house: http://ubasics.com/house/ Interested in electronics? Check out the projects at http://ubasics.com Building your own house? Check out http://ubasics.com/home/ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist