Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dmpGetMag returning zeros #137

Open
marcbishara opened this issue Feb 3, 2015 · 4 comments
Open

dmpGetMag returning zeros #137

marcbishara opened this issue Feb 3, 2015 · 4 comments

Comments

@marcbishara
Copy link

using function:
https://github.com/marcbishara/i2cdevlib/blob/master/Arduino/MPU6050/MPU6050_9Axis_MotionApps41.h#L753

Returns 0,0,0 Is that an outstanding issue or am I doing something wrong in setup?

@Monax111
Copy link

I have the same problem!

@Monax111
Copy link

I have the Arduino Nano, 2 MPU6050, 2 HMC5883L
I want to get the output array with 20 values (the first board {3, 3, accelerometer, magnetometer 3, temperature}), the second board {3, 3, accelerometer, magnetometer 3, temperature})
Now I'm trying to make it work the first board (MPU6050+HMC5883L series connection).
But i have the magnetometer (0.00,0.00,0.00);
What do you think, what's the problem?
my scheme

@Recontech
Copy link

Have you tried adding pull-up resistors?

On Sunday, 28 February 2016, Monax111 [email protected] wrote:

I have the Arduino Nano, 2 MPU6050, 2 HMC5883L
I want to get the output array with 20 values (the first board {3, 3,
accelerometer, magnetometer 3, temperature}), the second board {3, 3,
accelerometer, magnetometer 3, temperature})
Now I'm trying to make it work the first board (MPU6050+HMC5883L series
connection).
But i have the magnetometer (0.00,0.00,0.00);
What do you think, what's the problem?
my scheme https://pp.vk.me/c630530/v630530113/1b27d/Q8F3Sna7UU8.jpg


Reply to this email directly or view it on GitHub
#137 (comment).

@yang614
Copy link

yang614 commented Jul 7, 2016

The AK8975's address is 0x0C,but the code give the address is 0x0E, so change the address to 0x0C.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants