I made a Gimbal (camera stabilizer) with an Arduino Uno and MPU6050 gyro sensor.
I read the values from the MPU6050 and write it to the servos.
The values are really exact so I get every movement. The values go from 0 to 180 so we can write them on the servo directly.
My problem is that I get values like 83, 91, 85 so it's always moving forward and backwards and because of this it's very instable.
Anyone got an idea how to make it move smoother?
You have to understand how to build a 6-DoF IMU from 3-axis gyro and accelerometer
first - this is a requirement for orientation feedback. Accelerometer by itself is almost
useless, and gyro output drifts. The accelerometer is purely used to eliminate the drift,
not give orientation directly in the short term.
Since you have a 6050 you can just get the quarternion out of it directly surely?