How to solve the problem of monitoring the yaw angle

hi guys ,I have made a robot arm to simulate hand movement ,and I already have made it rotate according to the pitch angle and roll angle by MPU6050,and now i want to deal with the yaw angle ,could you give me some advice how could i work it out ,thanks

This is a 6-DOF sensor, so you should have the ability to read the 3rd axis from it.

Please post your actual diagram and code.

Here is something to get you started:

To actually measure yaw, a horizon reference is required. Most people use a 9DOF sensor.

A 6DOF sensor can estimate relative yaw for a short while, but gyro drift is a serious problem.

1 Like