Hello,
I have a fuel level sensor connected on A5 with an external voltage devider. 0V=0% and 1.33V=100%. Works like that. Now i have the wish to smooth the signal somehow. It is constantly switching between 80-82-78-81-76% and so on multiple times a second. is there a way to smooth the values and take the average of the last 10sec or something?
Thank you
Take the output of a5 channel and filter using “rate of change” in numbers. Then use number output as your filtered out.
Sampling every 10 seconds with a medium filter. You can change sample time and up filter too.
rate of change gives me 0 or 1 or -1 the whole time. Unfortunately that doesn’t help me. Did i overlook something?
No, its physically giving the rate of change. For some reason I thought we could us that as a filter but maybe not.
Yes, i tried that. I don’t remember what the problem was. I will try again and report back.
Thank you