-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change Accelerometer and gyroscope sensitivity #4
Comments
Hello, Let's go to look at MPU6050_tockn.h file (/src/MPU6050_tockn.h path) the address below are of registers found at Register Map doc we can find here: Register Map - Pag 14: 4.4 Register 27 – Gyroscope Configuration Register Map - Pag 15: 4.5 Register 28 – Accelerometer Configuration These addr are used in MPU6050_tockn.cpp file: Look at line 19, 0x08 is a hex number, or 0B1000 (binary) this will set Bit3 of GYRO_CONFIG register as High state, or FS_SEL with value 1. Datasheet show the [PARAMETER] "Sensitivity Scale Factor" at page 12: The MPU6050_tockn.cpp file contains 65.5 in lines 78, 79 and 80: And lines 119, 120 and 121: Based on the gyroscope, we can check the accelerometer configuration ;) Of course implementing FS_SEL methods will help. |
Thanks for your help rtek1000! Finally got down to resolving the issue. Created new pull request. (Sorry to keep anybody waiting, if they were) I'll close the issue, when my pull request is accepted. |
Hello thanks a lot for the explanation and this good library.👍 I already changed the line 19 with 0x18 (for 2000°/s) but I can not understand this part: I am trying to find it in the datasheet but I can't, may be can you explain me with an example? thanks a lot in advance. |
Please add new methods to be able to change the sensors sensitivity settings.
Information on MPU6050 sensitivity settings: https://www.invensense.com/products/motion-tracking/6-axis/mpu-6050/
Thanks
The text was updated successfully, but these errors were encountered: