The default I2C address for the LSM6DS3 accelerometer is 0x6A.
The default I2C address for the LIS3MDL magnetometer is 0x1C.
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 Jumpers
On the back of the board are two address jumpers, labeled ADM and AGAD, to the right of the I2C Addr label on the board silk. ADM controls the magnetometer's I2C address and AGAD controls the accelerometer's I2C address. These jumpers allow 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 for the accelerometer is 0x6A. The other address options can be calculated by “adding” the AGAD to the base of 0x6A.
AGAD sets the lowest bit with a value of 1. The final address is 0x6A + AGAD which would be 0x6B.
If AGAD is soldered closed, the address is 0x6A + 1 = 0x6B
The table below shows all possible addresses for the accelerometer, and whether the pin should be high (closed) or low (open).
The default I2C address for the magnetometer is 0x1C. The other address options can be calculated by “adding” the ADM to the base of 0x1C.
ADM sets the lowest bit with a value of 2. The final address is 0x1C + ADM which would be 0x1E.
If ADM is soldered closed, the address is 0x1C + 2 = 0x1E
The table below shows all possible addresses for the magnetometer, and whether the pin should be high (closed) or low (open).
I2C Address Pins
- ADM - LIS3MDL Magnetometer I2C address pin. Pulling this pin high will change the I2C address from 0x1C to 0x1E.
- AGAD - LSM6DS3TR-C Accel/Gyro I2C address pin. Pulling this pin high will change the I2C address from 0x6A to 0x6B.
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.
- INTM - This is the primary interrupt pin for the Magnetometer. You can setup the LIS3MDL to pull this low when certain conditions are met such as a value exceeding a threshold. Consult the datasheet for usage.
- DRDY - The data ready pin. When measurement data is available the sensor will pull this pin low.
Text editor powered by tinymce.