I have smoothed the data so now they are something like:
So the numbers varied from 0.00 to 10.00
To be honest, I really don’t know why we don’t receive negative numbers, I’m studying the introduction and data sheet of my accelerometer right now:
Gravity: I2C LIS331HH Triple Axis Accelerometer Sensor Wiki - DFRobot
I added three variables: DxA, DyA, DzA to measure the change of acceleration (delta A). Now it partially works but now in a smooth way, and it seems that I can’t change perspective of y and z direction but can only change x. It kept moving away from the screen
omg after testings now it works!!! I’m so excited.
Thank you Chrisir for all your help! Much appreciated!!