Hi,
I have connected a ProMicro from Flyduino with a MPU6050 from eBay. Once I upload the MultiWii 2.3 firmware with the MPU activated in the config, the MultiWiiConf shows no I2C errors and a value of 0 by
Roll, pitch and yaw. If I upload an other sketch (an example from a MPU6050 library) I can read the raw values. How can I fix my problem?
MW reads 0 from the MPU6050
Re: MW reads 0 from the MPU6050
please list the settings you are using for the sketch. include links to the FC and chip you bought to help insure we understand exactly what you have.
Re: MW reads 0 from the MPU6050
I'm using a MPU6050 Breakout board which I can't find at the moment. However the Pro Micro can be bought http://flyduino.net/Flyduino-Pro-Micro-16Mhz-5V-Schwarz-16mm-PCB.
In the config.h the following defines are activated:
# define QUADX
#define MPU6050
#define FORCE_GYRO_ORIENTATION (Tested without this setting)
#define FORCE_ACC_ORIENTATION (Tested without this setting)
#define USE_INTERNAL_PULLUPS (Tested without this setting)
#define MIN_THROTTLE (The one for SimonK ESCs)
The MPU6050 is connected in the following way:
MPU - ProMicro
VCC - RAW
GND - GND
AD0 - GND
INT - not connected
SCL - D3
SDA - D2
XDA - not connected
XCL - not connected
(there might be a connection because of the tin used between XDA and SCL)
Further notes about the example sketch from the MPU Library:
- library: http://www.i2cdevlib.com/devices/mpu6050#source
- sketch: https://github.com/jrowberg/i2cdevlib/blob/master/Arduino/MPU6050/Examples/MPU6050_raw/MPU6050_raw.ino
Thanl you for help,
Turakar
In the config.h the following defines are activated:
# define QUADX
#define MPU6050
#define FORCE_GYRO_ORIENTATION (Tested without this setting)
#define FORCE_ACC_ORIENTATION (Tested without this setting)
#define USE_INTERNAL_PULLUPS (Tested without this setting)
#define MIN_THROTTLE (The one for SimonK ESCs)
The MPU6050 is connected in the following way:
MPU - ProMicro
VCC - RAW
GND - GND
AD0 - GND
INT - not connected
SCL - D3
SDA - D2
XDA - not connected
XCL - not connected
(there might be a connection because of the tin used between XDA and SCL)
Further notes about the example sketch from the MPU Library:
- library: http://www.i2cdevlib.com/devices/mpu6050#source
- sketch: https://github.com/jrowberg/i2cdevlib/blob/master/Arduino/MPU6050/Examples/MPU6050_raw/MPU6050_raw.ino
Thanl you for help,
Turakar
Re: MW reads 0 from the MPU6050
Because I thought it might have been my connection I reassembled it. Now i have a lot of I2Cs errors.
Re: MW reads 0 from the MPU6050
I tend to use prebuilt FC boards now because i had huge issues with my inability to solder micro connections.
this is what i use on my smaller quads now! basicallyt he same as you are building and only $15 american.
http://witespyquad.gostorego.com/flight ... oller.html
this is what i use on my smaller quads now! basicallyt he same as you are building and only $15 american.
http://witespyquad.gostorego.com/flight ... oller.html
Re: MW reads 0 from the MPU6050
I think my MPU is was destroyed by soldering it (too high temperature on the MPU). A new one would cost the same as your FC, but do you know how good the shipping to Germany is?
Re: MW reads 0 from the MPU6050
I do not, but you can email the site owner, hes very quick to reply usually.