This sensor is pretty simple! Instead of headers, we have a 4-pin JST PH connector. This makes it easy to plug in a cable that goes to another board or prototyping kit.

Looking at the image above, from top to bottom, the pinout is

  • GND - power and logic ground
  • VIN - 3-5V DC (use the same power voltage as you would for I2C logic)
  • I2C SDA - there's a 10K pullup to VIN
  • I2C SCL - there's a 10K pullup to VIN

We suggest these cables, they're even color coded!

JST PH 4-Pin to Female Socket Cable - I2C STEMMA Cable - 200mm
This cable will let you turn a JST PH 4-pin cable port into 4 individual wires with high-quality 0.1" female sockets on the end. We're carrying these to match up with any of...
JST PH 4-Pin to Male Header Cable - I2C STEMMA Cable - 200mm
This cable will let you turn a JST PH 4-pin cable port into 4 individual wires with high-quality 0.1" male header plugs on the end. We're carrying these to match up with any...

On the back there are 3 SWD programming dots (see the schematic for the exact pinout in case you want to re-program the chip)

There's also two I2C address jumpers. The default address is 0x36, but you can select between 0x36 and 0x39 inclusive by shorting AD0 (to add 1 to the address) and/or AD1 (to add 2 to the address)

This guide was first published on Nov 21, 2018. It was last updated on Nov 21, 2018.

This page (Pinouts) was last updated on May 17, 2021.

Text editor powered by tinymce.