logo elektroda
logo elektroda
X
logo elektroda

[ESP-32] + MPU6050. Increasing the range of the accelerometer at the DMP

michalek002a 411 0
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19782241
    michalek002a
    Level 6  
    Hi. I am using an MPU6050 module along with an ESP-32 and am using the DMP to calculate euler angles and ypr position. However, the problem is that when using the DMP, the accelerometer range is automatically set to +-2g and it can only work properly on that, but I need a larger range to measure the overload itself. I have tried momentarily turning the DMP off and changing the range, measuring the acceleration and turning it back on with the previous range, but this did not help.
    Code: C / C++
    Log in, to see the code
    .
    Is there any way around this? I only want to change the scope for a while, for the DMP it shouldn't make a difference.
    I am using the library MPU6050_6Axis_MotionApps20 .
    I'd like to add that I want to use the gyro in an RC aircraft, and I'm wondering if, for a +-2g range, at overloads above this value, it'll give me yaw/pitch/roll distortion, as this is crucial though.
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
ADVERTISEMENT