Skip to content

fix mpu6050 sensor initialization issue#494

Open
Bartosz89k wants to merge 1 commit into
raspberrypi:masterfrom
Bartosz89k:fix_mpu6050_init
Open

fix mpu6050 sensor initialization issue#494
Bartosz89k wants to merge 1 commit into
raspberrypi:masterfrom
Bartosz89k:fix_mpu6050_init

Conversation

@Bartosz89k

Copy link
Copy Markdown

In my case the sensor (mpu6050), was not initialized correctly and returns erroneous data.
The proposed changes works fine.
In particular, I'm not sure why the second byte (0x80 == 1000 0000) is messing up the initialization.
As I understand from the documentation (page 40):
https://pdf1.alldatasheet.com/datasheet-pdf/view/1132807/TDK/MPU-6050.html
the seventh bit of register 0x6b should be set to one:
0x80 = 1000 0000
but it doesn't work that way.

@lurch

lurch commented May 1, 2024

Copy link
Copy Markdown
Contributor

Related to #352 and the big discussion in #319 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants