Header Ads

3 SIMPLE FILTERING TECHNIQUES TO ELIMINATE NOISE


plant-data
Increasing accuracy in the collection of data coming from sensors is a need that, sooner or later, Makers need to face. Paul Martinsen from MegunoLink created a tutorial to eliminate noise from sensor readings on Arduino with three simple filtering techniques.
The Averaging and Running Average techniques are easy to implement as they work by adding a number of measurements together, then dividing the total by the number of measurements. In both cases, the downside is that it can use a lot of memory.
The Exponential filter is a better solution for several reasons: it doesn’t require much memory, you can control how much filtering is applied with a single parameter, and it saves battery power because you don’t need to make many measurements at once. For this solution, they developed an Arduino filter libraryso you don’t need to go mad with math!
Filtering
Interested? You can find the tutorial and explore the code on MegunoLing’s blog post here.



Creative Commons License
3 SIMPLE FILTERING TECHNIQUES TO ELIMINATE NOISE by Arduino Projects is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Powered by Blogger.