Arduino Sensör Veri İşleme – RunningAverage

http://playground.arduino.cc/Main/RunningMedian

RunningAverage library

http://playground.arduino.cc/Main/RunningAverage

A small sketch shows how it can be used. A random generator is used to mimic a sensor.

setup() the myRA is cleared so we can start adding new data.

In loop() first a random number is generated and converted to a float to be added to myRA. Then the runningAverage is printed to the serial port. One could also display it on some LCD or send over ethernet etc. When 300 items are added myRA is cleared to start over again

 

SD KART MODÜLÜ

http://www.direnc.net/Arduino-Mini-Sd-Kart-Modulu,PR-15543.html.

Leave a Reply

Your email address will not be published.