Skip to content

IMU won't initialize #29

@JoaquinRomeroPrada

Description

@JoaquinRomeroPrada

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions