- From: Sandy Pond <sandy_pond_at_myrealbox.com>
- Date: Thu, 03 Mar 2005 23:46:45 -0500
On Thu, 2005-03-03 at 20:38 -0500, Daniel Nilsson wrote: > For my application I assume a low-pass filter should work just > fine. For example averaging the last 100 samples thus creating a > windowing average function might be enough ? Or is there more to it > then that ? If the averaging give you what you want it's fine. It appears all you're really interested is the low frequency transient. But if your noise is primarily sinusoidal the moving average might need to be very long. The code for a digital filter is not that complex. I even have one that works on integers (all integer math) therefore, very efficient for operating on A/D counts before scaling. As I recall it is only about 10 lines of C. But alas, I'm at home and the code is at work. Regards, Sandy
Received on 2005-03-04Z04:46:45