What is the sample rate of MPU6050_DMP?
I want to plot a graph from the values I get.
- The values that I get are in degrees, right?
- Where can I find the sample rate?
Thank you in advance
Using a simple VB6 programm I found a sample rate of about 100Hz.
MPU9150 Arduino Mega Win7 64bit

Go to MPU6050_6Axis_MotionApps20.h and look for the lines:
0x02, 0x16, 0x02, 0x00, 0x01 // D_0_22 inv_set_fifo_rate
// This very last 0x01 WAS a 0x09, which drops the FIFO rate down to 20 Hz. 0x07 is 25 Hz,
// 0x01 is 100Hz. Going faster than 100Hz (0x00=200Hz) tends to result in very noisy data.
// DMP output frequency is calculated easily using this equation: (200Hz / (1 + value))
// It is important to make sure the host processor can keep up with reading and processing
// the FIFO output at the desired rate. Handling FIFO overflow cleanly is also a good idea.
It should explain your question.
Thank you very much! Horst Leistner ----- Original Message ----- From: Michiel Bruijn To: jrowberg/i2cdevlib Cc: Holei Sent: Sunday, March 15, 2015 1:08 PM Subject: Re: [i2cdevlib] What is the sample rate of MPU6050_DMP? (#93)
Go to MPU6050_6Axis_MotionApps20.h and look for the lines: 0x02, 0x16, 0x02, 0x00, 0x01 // D_0_22 inv_set_fifo_rate
// This very last 0x01 WAS a 0x09, which drops the FIFO rate down to 20 Hz. 0x07 is 25 Hz, // 0x01 is 100Hz. Going faster than 100Hz (0x00=200Hz) tends to result in very noisy data. // DMP output frequency is calculated easily using this equation: (200Hz / (1 + value))
// It is important to make sure the host processor can keep up with reading and processing // the FIFO output at the desired rate. Handling FIFO overflow cleanly is also a good idea. It should explain your qeustion.
— Reply to this email directly or view it on GitHub.
Closing ancient issue for cleanup.