- Wed Jun 15, 2016 10:25 am
#49222
reaper7 wrote:btw .... what is wrong with "official" arduino MPU6050 & I2Cdev libraries from:
https://github.com/jrowberg/i2cdevlib/tree/master/Arduino
??
For me works as expected.
only changes:
to
Code: Select all#ifndef ESP8266
#include <avr/pgmspace.h>
#else
#include <pgmspace.h>
#endif
inside MPU6050.h, MPU6050_6Axis_MotionApps20.h, MPU6050_9Axis_MotionApps41.h
result from MPU6050_DMP6 example:
Code: Select allypr 145.32 10.33 39.51
ypr 145.32 10.34 39.52
ypr 145.33 10.34 39.54
ypr 145.32 10.34 39.55
ypr 145.31 10.36 39.56
ypr 145.31 10.35 39.56
ypr 145.31 10.32 39.56
ypr 145.31 10.30 39.55
ypr 145.33 10.30 39.56
ypr 145.35 10.29 39.58
ypr 145.37 10.29 39.60
ypr 145.37 10.30 39.60
ypr 145.37 10.31 39.60
ypr 145.35 10.31 39.58
ypr 145.34 10.30 39.57
ypr 145.34 10.30 39.56
ypr 145.35 10.31 39.56
ypr 145.36 10.31 39.57
ypr 145.37 10.30 39.59
ypr 145.39 10.29 39.60
ypr 145.42 10.28 39.62
ypr 145.42 10.27 39.63
Hi, Thank you for the info.
I tried with exactly what you statedin above post but get an error with the DMP example:
Testing device connections...
MPU6050 connection successful
Initializing DMP...
DMP Initialization failed (code 1)
The example code for the RAW data works fine.
i use a nodemcu esp8266 module with:
Wire.begin(4,5);
and no interrupt pin connected.
Did this ever happened to you?