BMI160 sensor setup

The BMI160 sensor has 12 pins, as shown in the picture below. To use it, connect the VIN pin to a 3.3V signal, the GND pin to ground (0V), the SCL pin to the I2C clock, and the SDA pin to an I2C data pin. For example, refer to the NVIDIA Jetson Nano Developer Kit's Expansion Header Connections in the second image below. The connections should be made in this case, as illustrated in the last image.

To access the I2C bus the user needs to have the right permissions. Run the following command to include the current user in the I2C group.

sudo usermod -aG i2c $USER

Reboot board to apply change.