Filter Simple Moving Average Simple SMA filter for embedded purposes. Article (rus): https://cxemka.com/53-srednee-skolzjaschee-sglazhivanie-izmerenii-na-mikrokontrollerah-stm32-avr-pic-arduino.html Also watch the video (sub): https://www.youtube.com/watch?v=Are1DpayB_k Charts (filtering examples)