Maker Pro
Maker Pro

Increasing data update rate of MPU9250

John Manuel

Jun 7, 2018
20
Joined
Jun 7, 2018
Messages
20
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.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,505
Joined
Jan 21, 2010
Messages
25,505
Is your code (or the library) averaging several readings to help cancel out noise? This will slow the response.
 
Top