The chip on the breakout requires between a 2.7V and 5.5V, and can be easily used with most microcontrollers, such as an Arduino or a Feather.
- VIN - This is the power pin. To power the board, give it the same power as the logic level of your microcontroller - e.g. for a 5V micro like Arduino, use 5V, or for a Feather use 3.3V.
- GND - This is common ground for power and logic.
Default address is 0x30.
- SCL - This is the I2C clock pin, connect to your microcontroller's I2C clock line. There's a 10K pullup on this pin.
- SDA - This is the I2C data pin, connect to your microcontroller's I2C data line. There's a 10K pullup on this pin.
- STEMMA QT - These connectors allow you to connect to development boards with STEMMA QT connectors, or to other things, with various associated accessories.
- EN - This is the shutdown pin.
- ADDR - This is the address pin. It is connected to GND by default. Connect this pin to one of three other pins (VCC, SCL, SDA) to change the I2C address. See below for more details.
- INT - This is the interrupt pin. This pin is active low when the interrupt event happens.
The default I2C address is 0x30. The address pin is connected to ground by default. You can connect the address pin to one of three other pins to change the address, allowing for up to four boards to be connected on the same I2C bus.
To change the I2C address, you must follow the steps below.
First, cut the bottom jumper on the back of the board (indicated by the arrow in the image). Use a hobby knife to cut the connection between the two pads.
Solder ONE of the other three sets of jumper pads (highlighted in the image) to change the address. Solder only one at a time. The addresses are listed on the back of the board next to each jumper. Here are the details:
- The top jumper changes the address to 0x31. It connects the ADDR pin to SCL.
- The second jumper changes the address to 0x32. It connects the ADDR pin to SDA.
- The third jumper changes the address to 0x33. It connects the ADDR pin to VCC.