Problem with Connecting LSM9DS1(9 dof sensor) to Arduino Uno

Hi,

I'm interfacing with a problem for 2 days. I have an Arduino Uno and LSM9DS1(9 dof) sensor.

I just connected like what i needed to do, (arduino's 5V pin to sensor's Vdd GND to sensor's GND SCL to sensor's SCL SDA to sensor's SDA ) for I2C communication. And i downloaded this codes on https://learn.sparkfun.com/tutorials/lsm9ds1-breakout-hookup-guide#using-the-arduino-library I cant have any result, what should i do? Please help.

I cant have any result

What to do depends on what “can’t have any result” means. Do you see anything on the serial monitor? If so, what do you see (copy and post an example)? If not, check that the sketch and serial monitor baud rates match.

If you really want help, post the code that you are using so that we can see the setup options that you have chosen.

The first thing that I do when having trouble with an I2C device is to run the I2C scanner to confirm the address and that the device is able to communicate with the bus.

Upload and run this I2c scanner and, please, report the results.

// I2C scanner by Nick Gammon.  Thanks Nick.

#include <Wire.h>

void setup() {
  Serial.begin (115200); //*****  make sure serial monitor baud matches *****

  // Leonardo: wait for serial port to connect
  while (!Serial) 
    {
    }

  Serial.println ();
  Serial.println ("I2C scanner. Scanning ...");
  byte count = 0;
  
  Wire.begin();
  for (byte i = 1; i < 120; i++)
  {
    Wire.beginTransmission (i);
    if (Wire.endTransmission () == 0)
      {
      Serial.print ("Found address: ");
      Serial.print (i, DEC);
      Serial.print (" (0x");
      Serial.print (i, HEX);
      Serial.println (")");
      count++;
      delay (1);  // maybe unneeded?
      } // end of good response
  } // end of for loop
  Serial.println ("Done.");
  Serial.print ("Found ");
  Serial.print (count, DEC);
  Serial.println (" device(s).");
}  // end of setup

void loop() {}

scientist285, you have posts relating to this same subject scattered all over. It would be better for everyone if you just have one thread for the problem(s) with this device so that multiple members are not answering the same question in different places.

http://forum.arduino.cc/index.php?topic=522966.0 http://forum.arduino.cc/index.php?topic=523160.0 http://forum.arduino.cc/index.php?topic=523155.0

And this post.