10-27-2020 04:30 AM
Hello, I am currently trying to connect a BMX160 in the Shuttleboard configuration to an Arduino Uno R3. I have had problems finding existing libraries and codes that would work with this configuration using an I2C protocol in Arduino. If any existing code or libraries exist I would greatly appreciate the help. I am trying to read the data from the Magnetometer, Accelerometer, and Gyroscope.
Thank you
10-27-2020 07:26 AM - edited 10-27-2020 07:40 AM
Your shuttleboard pin list is same or similar with above picture of SHUTTLE_CON?
If using I2C Protocol, you need connect VDD/VDDIO/GND/SDA/SCL/INT1/INT2/SDO to an Arduino Uno R3.
If SDO connect to VDD or VDDIO, I2C address is 0x69; if SDO connect to GND, I2C address is 0x68.
If you don't use interrupt, you don't need to connect INT1/INT2.
After connect and power on, try to read CHIP_ID directly by I2C interface of an Arduino Uno R3, take attention of your I2C address shift, like I2C_ADDRESS <<1 if need.
Regarding reading and writing BMI160, you can get more information from the follow link: