Hello everyone,
I acquired a mpu -6050 sensor. After several tests, I can get consistent raw values . I would like to have these values in ° / s and m / s², after looking on the net and on the datasheet of the sensor, I saw that it had to play on the sensitivity of the accelerometer and gyroscope but I did not found how to program the choice of sensitivity.
How can I program the sensitivity?
Thank you
AntoineH83
PS: For the raw values , I used the program on the following link : Arduino Playground - MPU-6050
In order to get degrees/sec:
raw value / 131 (this is for +-250 dps sensitivity)
In order to get Gs:
raw acc value / 16384 (this is for +-2 G sensitivity)
You can change the sensitivity by writing different values to the MPU 6050s internal registers via I2C. Below are a listing of the interested registers and their addresses:
FS_SEL - Register 1B, Bits 3 and 4 (gyroscope sensitivity)
Value written to FS_SEL - sensitivity:
0 - +-250
1 - +-500
2 - +-1000
3 - +-2000
AFS_SEL - Register 1C, Bits 3 and 4 (accelerometer sensitivity)
Value written to AFS_SEL - sensitivity:
0 - +-2
1 - +-4
2 - +-8
3 - +-16
Also, take a look at this website:
http://www.invensense.com/products/motion-tracking/6-axis/mpu-6050/
Does this help?