Breakout 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

FeatherWing Power Pins

  • 3.3V - this is the 3.3V input to the FeatherWing, we use the Feather's power regulator to generate the clean 3v power needed.
  • GND - common ground for power and logic
On the earlier versions of the FeatherWing, SCL and SDA are swapped on the silk. The pins themselves are accurate. The issue is only with the labels printed on the board.

I2C Logic Pins

  • SCL - I2C clock pin, connect to your microcontroller's I2C clock line. On the breakouts, this pin is level shifted so you can use 3-5V logic. On the FeatherWing, there is no level shifter. There's a 10K pullup on this pin.
  • SDA - I2C data pin, connect to your microcontroller's I2C data line.
  • On the breakouts, this pin is level shifted so you can use 3-5V logic. On the FeatherWing, there is no level shifter. There's a 10K pullup on this pin.
  • STEMMA QT - These connectors allow you to make I2C connections to dev boards with STEMMA QT connectors or to other things with various associated accessories.

I2C Address Pins

  • ADM / Mag Addr - LIS3MDL Magnetometer I2C address pin. Pulling this pin high or bridging the solder jumper on the back will change the I2C address from 0x1C to 0x1E.
  • ADAG / A/G Addr - LSM6DSOX or ISM330DHCX Accel/Gyro I2C address pin. Pulling this pin high or bridging the solder jumper on the back will change the I2C address from 0x6A to 0x6B.

Other Pins

  • INT1 -This is the primary interrupt pin for the Accel/Gyro. You can setup the LSM6DSOX or ISM330DHCX 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 secondary interrupt pin for the Accel/Gyro. You can setup the LSM6DSOX or ISM330DHCX 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.

FeatherWing Pins

  • SPI Logic pins. Located toward the center of the FeatherWing, these are the same for both the LIS3MDL and LSM6DSOX or ISM330DHCX. 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.
    • SDA - this is also the Sensor Data In / Microcontroller Out Sensor In pin, for data sent from your processor to the LIS3MDL or LSM6DSOX.
    • SDO - this is the Sensor Data Out / Microcontroller In Sensor Out pin, for data sent from the LIS3MDL, ISM330DHCX, or LSM6DSOX to your processor. 
    • CS - this is the Chip Select pin, drop it low to start an SPI transaction. It's an input to the chip.
  • External I2C/SPI pins - Control a separate sensor on a separate I2C/SPI bus.
    • SCL - I2C clock pin OR the SPI Clock pin.
    • SDA - I2C data pin OR the Sensor Data In / Microcontroller Out Sensor In pin, for data sent from your processor to the LIS3MDL, ISM330DHCX, or LSM6DSOX.
    • SDO - this is the Sensor Data Out / Microcontroller In Sensor Out pin, for data sent from the LIS3MDL, ISM330DHCX, or LSM6DSOX to your processor. 
    • CS - this is the Chip Select pin, drop it low to start an SPI transaction. Its an input to the chip.

This guide was first published on Jun 17, 2020. It was last updated on Jun 17, 2020.

This page (LSM6DSOX or ISM330DHCX + LIS3MDL Pinouts) was last updated on Oct 15, 2021.

Text editor powered by tinymce.