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

how to access the magnetometer #8

Open
PatelKishanJ opened this issue Mar 2, 2017 · 5 comments
Open

how to access the magnetometer #8

PatelKishanJ opened this issue Mar 2, 2017 · 5 comments

Comments

@PatelKishanJ
Copy link

hello kriswiner,
actually i have used mpu9250 library and i have got reading of the accelerometer and gyrometer data,but when i tried to communicate with mpu9250,i could not.
Means that after reading data of accel. and gyro ,i have enable the bypass_i2c.then when try to something write/read with magnetometer_address(0x0C) and send start_condition of i2c ,it could not get acknowledgement.

@kriswiner
Copy link
Owner

If you perfrom an I2C scan, which devices show on the I2C bus after enabling bypass?

@PatelKishanJ
Copy link
Author

thank you.
actually because of some hardware issue,it cause communication problem with the magnetometer.
now,i can get all data,see below. are all right?

ax ay az (meter/second square)
-0.02 -0.01 -0.32

gx gy gz (degrees/second)
-0.33 29.65 -0.00

mx my mz (milliGauss)
-461.03 -275.13 5563.25

temperature=23.19 degrees centigrade

@kriswiner
Copy link
Owner

kriswiner commented Mar 6, 2017 via email

@PatelKishanJ
Copy link
Author

okay.so,what should i change?..
any specific setting or anything..
and i have 1 question that how can i sure that raw data is right?..any hint?..

@kriswiner
Copy link
Owner

kriswiner commented Mar 8, 2017 via email

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

2 participants