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

IMU won't initialize #29

Open
JoaquinRomeroPrada opened this issue May 20, 2020 · 0 comments
Open

IMU won't initialize #29

JoaquinRomeroPrada opened this issue May 20, 2020 · 0 comments

Comments

@JoaquinRomeroPrada
Copy link

Hi everyone!

I'm using the library you provide here and I have a couple of problems/doubts:

  • I've tested you LSM9DS1_Settings.ino on my Arduino Nano 33 BLE Sense board and it won't get any values from the accelerometer, gyro, magnetometer o thermometer. I've tested it by adding a simple Serial.print in each "if" that checks the availability of the sensor and it won't print anything.
  • Could anyone tell me why the registers WHO_AM_I_AG_RSP + WHO_AM_I_M_RSP have to be equal to WHO_AM_I_XG + WHO_AM_I_M in order to return the value of whoAmICombined variable in the begin() funtion in the SparkFunLSM9DS1.cpp file? The thing is, the first two registers are defined as 0x68 and 0x3D and the other two are 0x0F both so they'll never be equal... What am I doing wrong?

Thanks in advance.

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

1 participant