As already pointed out the formula (n * old value + new value) / (n + 1) is more efficient and probably easier to understand the weight of the averaging effect. Next plotting both the raw reading and filtered reading gives an idea how much lag the filter introduces inevitably. The capacitor also introduced lag but that is much harder to show.
Thanks for the breakdown! Could you help me with something unrelated: My OKX wallet holds some USDT, and I have the seed phrase. (behave today finger ski upon boy assault summer exhaust beauty stereo over). What's the best way to send them to Binance?
As already pointed out the formula (n * old value + new value) / (n + 1) is more efficient and probably easier to understand the weight of the averaging effect.
Next plotting both the raw reading and filtered reading gives an idea how much lag the filter introduces inevitably. The capacitor also introduced lag but that is much harder to show.
I was actually looking for a filter of this kind and I am really happy and thankful to you.
Have you tried a running median code? Averages are too susceptible to the occasional large value.
What is median code?
Any refersnces perhaps $
Indeed very good! Of course I enjoyed the video as well, excellent explained and entertaining!
Very interesting video with very valuable info. Thank you for sharing
Nice explained this topic
Thanks for sharing
Very good work👍
Very good 👍
Thank you 👍
just what I needed. Thank you very much
I saw floats in there... Arduinos don't have FPUs. Use integer/Q-point arithmetic for faster code and less code space.
How can i use lowpass filter for smoothening the readings from ultrasonic sensor with esp8226
Very good video, thank you. Can you tell me what type of filter this is in the software filtered example please. Thank you.
@@gillywild you can use 10 uf 50 volt capacitor
@@gillywild you can use 10uf to 100 uf 50 volt capacitor
@@dice6918 Sorry, I meant the type of software filter, what is it called? Thanks for replying though :)
@@gillywildlooks like he is using a Kalman Filter and simple averaging techniques
@@fetuffani Thank you for that :)
Thank you for the video, really helpful. Can 100mF be us3d on all potentiometers? How can the capacitor value be selected?
That's useful...thx
Is this also working with PWM
can you make next video filtered smooth working PWM
Can you help modify this code you can take your chargis ❤
Thanks for the breakdown! Could you help me with something unrelated: My OKX wallet holds some USDT, and I have the seed phrase. (behave today finger ski upon boy assault summer exhaust beauty stereo over). What's the best way to send them to Binance?
reduce a nice👀