techman83 / Filament-Scale-Enhanced

GNU Affero General Public License v3.0
24 stars 11 forks source link

use average to avoid reading fluctuations #26

Open cavamora opened 3 years ago

cavamora commented 3 years ago

the reading keeps fluctiation with 10/15g to more or less... we could have a more "inteligent"algoritm to discart strange readings.... assuming the printer takes slow portions in the printing...

techman83 commented 3 years ago

There is already logic to take a sample of readings and discard the outliers. Depending on the accuracy of the load cell fluctuating 10/15g is pretty good without redesigning the whole plugin (it measures/discards/averages on every poll currently).

Willing to take any design ideas, example code!

manderso7 commented 1 year ago

This gent: https://www.instructables.com/Digital-Spool-Holder-with-Scale/ made a really cool filament holder that should work with the fluctuations of the weight being caused by pulling on the spool. I'm going to experiment with this and report back.

techman83 commented 1 year ago

That's really cool @manderso7 !