Measuring brushless motor rpm


hello,

i'm looking use arduino read rpm brushless motor 5 or 6 minutes , take mean, median, , max of sample.

it looks use circuit read rpm, gets outputted frequency there's couple libraries use read , output rpm. http://www.rcgroups.com/forums/showthread.php?t=1006124

the problem i'm looking @ how record 5 minutes of input , calculate stats run. i'm reading have arduino output rpm matlab or similar program , within few calculations , have stats. i'm hoping have stand alone device doesn't need connected computer. i'm stuck should do.

well, first need determine how determine rpm of motor, each 100ms, or other time value. each time sample, add 1 counter. save new rpm if different previous rpm. finally, mean rpm, or 1 midway in sample run, compute time 1/2 way in run time , save rpm value mean rpm.

set array store rpm values. @ end of run, can statistical analysis on array values.

i see need median value, may have change array allow counter each rpm value , in array matching rpm entry. if found, add 1 entry counter. if not found, make new entry 1 counter.

at least 1 possible way project.

paul


Arduino Forum > Using Arduino > Sensors > Measuring brushless motor rpm


arduino

Comments