I bought a sensor which analog voltage raises and falls quite a lot. So I decided to do an average. First I did it with one Arduino but I recognized that it might be too much to calculate and so I connected two via I2C bus. But also in this case it didn´t work. I hope you dont´t have problems with the german variables.
These are the Problems:
In the V1.0.5:
I need around 100 values to get a good average. If I increase the amount of values over 30 there happen strange things: from 0-4.56 the values are positive they become negative but still rising (so -4.57 – -1.16) and then again positive.
In the V1.0.7.(1--> /2):
Sometimes the display shows the errors (nan, ovf or 0.00).
It needs a lot of time if there are no errors to get the values around 5 seconds.
After some communication between the Arduinos the I2C but Fails and I have to push the restart button on the slave