The default I2C address is 0x6A.
Power Pins
- VIN - this is the power pin. Since the sensor chip uses 3 VDC, we have included a voltage regulator on board that will take 3-5VDC and safely convert it down. To power the board, give it the same power as the logic level of your microcontroller - e.g. for a 5V microcontroller like Arduino, use 5V
- 3Vo - this is the 3.3V output from the voltage regulator, you can grab up to 100mA from this if you like
- GND - common ground for power and logic
I2C Logic Pins
- SCL - I2C clock pin, connect to your microcontroller I2C clock line. This pin is level shifted so you can use 3-5V logic, and there's a 10K pullup on this pin.
- SDA -I2C data pin, connect to your microcontroller I2C data line. This pin is level shifted so you can use 3-5V logic, and there's a 10K pullup on this pin.
- STEMMA QT - These connectors allow you to connectors to dev boards with STEMMA QT connectors or to other things with various associated accessories.
Address Jumper
On the back of the board is one address jumper, labeled AD0, to the right of the I2C Addr label on the board silk. This jumper allows you to chain up to 2 of these boards on the same pair of I2C clock and data pins. To do so, you solder the jumper "closed" by connecting the two pads.
The default I2C address is 0x6A. The other address options can be calculated by “adding” the AD0 to the base of 0x6A.
AD0 sets the lowest bit with a value of 1. The final address is 0x6A + AD0 which would be 0x6B.
If AD0 is soldered closed, the address is 0x6A + 1 = 0x6B
The table below shows all possible addresses, and whether the pin(s) should be high (closed) or low (open).
SPI Logic Pins
All pins going into the breakout have level shifting circuitry to make them 3-5V logic level safe. Use whatever logic level is on VIN!
- SCL - This is also the SPI Clock pin, it's an input to the chip
- DO - this is the serial Data Out / Microcontroller In Sensor Out pin, for data sent from the LSM6DS3TR-C to your processor.
- SDA - this is also the Serial Data In / Microcontroller Out Sensor In pin, for data sent from your processor to the LSM6DS3TR-C
- CS - this is the Chip Select pin, drop it low to start an SPI transaction. It's an input to the chip
If you want to connect multiple LSM6DS3TR-C to one microcontroller, have them share the SDI, DO and SCK pins. Then assign each one a unique CS pin.
Other Pins
- INT1 -This is the primary interrupt pin. You can setup the LSM6DS3TR-C to pull this low when certain conditions are met such as new measurement data being available. Consult the datasheet for usage.
- INT2 -This is the primary interrupt pin. You can setup the LSM6DS3TR-C to pull this low when certain conditions are met such as new measurement data being available. Consult the datasheet for usage.
- D0 - I2C Address pin. Pulling this pin high or bridging the solder jumper on the back will change the I2C address from 0x6A to 0x6B.
- SCX, SDX, Aux. I2C - Pins for advanced users to connect the LSM6DS3TR-C to another sensor. Consult the datasheet for usage.
Text editor powered by tinymce.