Connect with us

Increasing data update rate of MPU9250

Discussion in 'Microcontrollers, Programming and IoT' started by John Manuel, Jan 22, 2019.

  1. John Manuel

    John Manuel

    20
    0
    Jun 7, 2018
    Hi,
    I am using MPU9250 with Raspberry Pi and coding with Python. I am trying to make a virtual compass. The compass is working fine. But when I move the compass swiftly, it takes some time (around 2 seconds) to stabilize to the new direction. MPU9250 records a few (around 5) data points during the interval but it takes time to output it. Is there any way of reducing this latency and increasing the number of data points so that the virtual compass will follow the real motion more simultaneously?

    I have been using the following Python library - Link. I have tried using "Accel Full Scale Select 16G" and "Gyro Full Scale Select 2000dps" but there was no observable difference.
     
  2. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,158
    2,676
    Jan 21, 2010
    Is your code (or the library) averaging several readings to help cancel out noise? This will slow the response.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-