Skip to content
Discussion options

You must be logged in to vote

Hi @nickthiru,

Your analysis of the situation seems right to me. It sounds like you have everything connected correctly and the MPU6050 is simply returning an unexpected value when you read the WHO_AM_I register.

I've found some reports online of people purchasing counterfeit/knock-off MPU6050s that identify themselves as 0x72 instead of 0x68. For example, https://www.eevblog.com/forum/projects/counterfeit-mpu6050-chips-from-china/ and https://forum.pjrc.com/threads/67594-not-initialize-mpu6050-Failed-to-find-MPU6050-chip. I'm going to guess this is what's happening to you.

I'd suggest just changing the value of EXPECTED_WHO_AM_I to 0x72 and seeing if everything then works as expected. If…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by nickthiru
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@phoddie
Comment options

@andycarle
Comment options

@phoddie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants