-
|
Development platform: MCU: ESP32 NodeMCU Sensor: MPU6050 Wiring: Hardware driver: $(MODULES)/drivers/mpu6050/mpu6050.js Steps to reproduce: Expected result: Actual result: Description: According to the register map document (see reference 3, below), the Power-On-Reset value of Bit6:Bit1 is Initially, before I checked the binary value of Screenshots: 2: View of References: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
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 I've found some reports online of people purchasing counterfeit/knock-off MPU6050s that identify themselves as I'd suggest just changing the value of |
Beta Was this translation helpful? Give feedback.
-
|
FWIW, I have seen (mislabeled) breakout boards that claim to be MPU6050 in fact use any of these: 0x74: mpu-9515 From the mpu6050 register perspective they are compatible AFAIK |
Beta Was this translation helpful? Give feedback.
-
|
@andycarle @Sineos Thank you for you responses. As @andycarle suggested, when I changed the |
Beta Was this translation helpful? Give feedback.



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_Iregister.I've found some reports online of people purchasing counterfeit/knock-off MPU6050s that identify themselves as
0x72instead of0x68. 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_Ito0x72and seeing if everything then works as expected. If…