IMU Library not working with Arduino Nano

I'm installed this library and was trying to use its example code "Basic_I2C" to get the accelerometer and gyroscope readings from BMI088 IMU. The breakout board from my IMU is from seeed studio.

I'm using a wiring like this. The only difference is that I'm using an IMU.

When using i2c_scanner, I noticed instead of 0x18 and 0x68 as set in the example, the addresses detected are 0x19 and 0x69 for accelerometer and gyroscope respectively. Other than this modification, everything else remains the same, but I seem to be stuck in the accel.begin( ) function when setting up, because the second serial print won't appear in my serial monitor.

Serial.println("test1")
status = accel.begin()
Serial.println("test2")

I tried using both mac and linux for compiling and communicating with the Arduino, but haven't gotten any luck.

When using i2c_scanner, I noticed instead of 0x18 and 0x68 as set in the example, the addresses detected are 0x19 and 0x69 for accelerometer and gyroscope respectively.

These are the default values for the Seeedstudio board as you can see in the library Seeedstudio provides.

I'm using a wiring like this. The only difference is that I'm using an IMU.

Vcc must be connected to 5V as the breakout board has an on-board voltage regulator and level converters.

I'm surprised that the I2C scanner even returns the addresses.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.