Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an AI-Thinker ESP8266MOD on Lolin v3 board and a 9-axis sensor, MPU9250. I have seen many examples of using the MPU9250 with Arduino boards, but none with ESP8266.

How should I access the MPU address with this board?

Can the Digital pins (D0-D8) can be used for serial data as in this example?

Sorry if my question sounds stupid, I'm pretty new to this. :(

share|improve this question

closed as off-topic by Matt, jfpoilpret, Mattia, KIIV, Roberto Lo Giacco Sep 27 at 17:58

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about Arduino, within the scope defined in the help center." – Matt, jfpoilpret, Mattia, KIIV, Roberto Lo Giacco
If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Since the question is about using an ESP8266 you may get more answers from the Electronics Exchange forum where they look at these MPUs. – Matt Sep 19 at 8:12

You'll need I2C to communicate with the MPU9250.

The ESP8266MOD device does have I2C capability, but I'm not sure what pins the break out to in that Lolin v3 board (possibly GPIO2 = D4 = Data, and GPIO14 = D5 = Clk).

So yes, you can connect it similar to the image in your link, bit the D0-D8 pins may be different.

share|improve this answer
    
Thank you. Let me try and get back. – Sen Jacob Sep 20 at 8:05

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