Can I change the I2C address of a device (MPU9250) connected to ESP 32 using int pin. I understand that in arduino board if we connect the int pin to A0 the default I2C address of MPU 9250 changes from 0x68 to 0x69. Is something similar possible with ESP 32? Which Pin I should connect to?

  • 1
    you are misunderstanding how A0 pin is used ... if it is connected to GND then the address is 0x68 ... if it is connected to Vcc then the address is 0x69 .... your question is not about the arduino, so it is off topic here
    – jsotola
    Dec 12, 2020 at 18:27

1 Answer 1


You have only two choices with this device on an I2C bus. As stated in the datasheet:

MPU9250 Datasheet I2C Bus

So it's either:

  1. 0b1101000
  2. 0b1101001

The AD0 pin selects which of these two addresses are used.

The complete datasheet can be viewed at the following link as well as other places:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.