28 Aug '16, 8am

Filtering Noisy Data with an Arduino

Filtering Noisy Data with an Arduino

One of the first frustrating situations a beginning microcontroller programmer will come across is the issue of debouncing switches. Microcontrollers are faster than switches, and the switch has yet to be built that can change state in zero time like they can on paper. This hurdle is easily overcome, but soon we are all faced with another issue: filtering noise from an analog signal. Luckily [Paul Martinsen] has put together a primer of three different ways to use an Arduino to filter signals . The first (and fastest, simplest, etc.) way to filter an analog signal is to sample a bunch of times and then average all of the samples together. This will eliminate most outliers and chatter without losing much of the information. From there, the tutorial moves on to programming a running average to help increase the sample time (but consume much more memory). Finally, [Paul] take...

Full article: http://hackaday.com/2016/08/28/filtering-noisy-data-with-...

Tweets

What're you struggling to learn with an #Arduino? Let us know!

What're you struggling to learn with an #Arduin...

element14.com 27 Aug '16, 11am

We've been posting official Arduino Tutorials and members projects for years now and Arduino is one of our top 3 most foll...

#Siemens #Sinalytics

siemens.com 30 Aug '16, 10am

Siemens has integrated its range of energy management products and services into Sinalytics, its new company-wide brand fo...