- Tue Sep 16, 2014 3:54 pm
#174996
Greetings,
I have recently obtained an MP-6050 that I am integrating with an Arduino micro-controller to control a small robot. I am having difficulty changing the sensitivity of the accelerometer and obtaining data on linear velocity.
1-How do I change the sensitivity setting of the MPU-6050 on Arduino? I know there are settings from +2g to +16g but how can I choose the one I need? What code to I have to write?
2-Is there a way to obtained linear velocity from the accelerometer data? I am trying to know how fast my robot is moving.
If you have some guidance on this subject, don't hesitate to share. Thank you for you time in reading this. I look forward to your replies.
Regards,
Rsam00
I have recently obtained an MP-6050 that I am integrating with an Arduino micro-controller to control a small robot. I am having difficulty changing the sensitivity of the accelerometer and obtaining data on linear velocity.
1-How do I change the sensitivity setting of the MPU-6050 on Arduino? I know there are settings from +2g to +16g but how can I choose the one I need? What code to I have to write?
2-Is there a way to obtained linear velocity from the accelerometer data? I am trying to know how fast my robot is moving.
If you have some guidance on this subject, don't hesitate to share. Thank you for you time in reading this. I look forward to your replies.
Regards,
Rsam00