jarzebski / Arduino-MPU6050

MPU6050 Triple Axis Gyroscope & Accelerometer Arduino Library
GNU General Public License v3.0
435 stars 279 forks source link

get gravity free acceleration or linear acceleration #13

Closed avsingh999 closed 1 year ago

AhmadSalmanKhan commented 5 years ago

MPu6050 provides angular acceleration but I doubt it provides linear acceleration. You can check this from the fact that an accelerometer (linear one) should provide the acceleration when it's moving but give value of 0 when it's stationary or not moving. But that's not the case with mpu-6050 as it still continues to provide values even when stationary .

I've also checked multiple online sources but can't provide anything that shows mpu-6050 providing linear acceleration.

ben55j commented 5 years ago

Hello, I got the same issue. I need to get a Linear acceleration and not an angular one. Mup-6050 seems to only provide angular one. How did you managed? Did you get another sensor?

AhmadSalmanKhan commented 5 years ago

Hi,

Yes MPU6050 could potentially provide linear acceleration but by additional processing of data using the original invensense software called motion driver. But the size of that was much greater than what our microcontroller could support so we used ADXL335.

Good Luck and Happy coding. Regards,

On Sun, Nov 3, 2019 at 2:42 PM ben55j notifications@github.com wrote:

Hello, I got the same issue. I need to get a Linear acceleration and not an angular one. Mup-6050 seems to only provide angular one. How did you managed? Did you get another sensor?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jarzebski/Arduino-MPU6050/issues/13?email_source=notifications&email_token=AC7ENF6RVNWJC7ZE5NPV47LQR2MG3A5CNFSM4FD6KXYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5OQKQ#issuecomment-549120042, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7ENF2BJTYCOKJOVCMZHBDQR2MG3ANCNFSM4FD6KXYA .