I am working on a capacitive sensor. It used for sensing the sand compaction. Initially i will have some vol value and as sand gets more compact the vol goes on decreasing. I have to filter the noise present and then have to calculate the slope of the curve resulting from the sand compaction.
I have to use the arduino board for this one. Can anyone help me in getting started with this low pass filter first. Can i find some sample codes for the low pass filter? And how the slope of the curve can be calculate?
Thanks for any help!