-->
Page 1 of 4

MPU6050 connect

PostPosted: Fri Feb 20, 2015 11:40 am
by EnfRoll
Is there anyone who connects the accelerometer MPU6050 to ESP8266 via I2C?
I have success with SSD1306 display, but MPU6050 is really hard :shock:

Re: MPU6050 connect

PostPosted: Mon Feb 23, 2015 1:18 pm
by bluesman
Hi !

I also want to connect the MPU6050 to the ESP8266.
As I'm just starting with the ESP can you explain how you connected the MPU to the ESP ?

Many thanks in advance !

Thomas

Re: MPU6050 connect

PostPosted: Fri Feb 27, 2015 4:28 am
by Zamfir
I have some MPU6050 units lying around, and some ESP8266 units in the mail. I might try to connect them together.

There is a library for Arduino, this guy has done the hard work of figuring out all the relevant bytes to send.
https://github.com/jrowberg/i2cdevlib/t ... no/MPU6050

My plan for now is to use the nodemcu api for i2c, and translate some parts of the Arduino library to a lua library for the esp8266. That library contains multitudes of options, I'll focus on the handful of basics that I need.

If other people are interested, we could perhaps work together. Naturally, I am open to suggestions for a different approach.

Re: MPU6050 connect

PostPosted: Sun Mar 08, 2015 3:52 pm
by stozk
Hi,

did you have any luck with this?
I'll try to look into it when I get to it ;-)

BR