I need help on the wiring configurations of my Sim Module with an Arduino Zero Bootloader and Adafruit BNO055 sensor. From the guides I watched, this is how they connect it:
Vin ----- 5 or 3.3 V
Gnd --- Gnd
SDA --- SDA
SCL ---- SCL
But there's a condition when the sensor is configured with Arduino Zero. As stated from their library "To work with the Arduino Zero, the BNO055's ADR pin must be high." I just want to confirm the solution I found and if I am doing the right thing especially with the setup codes.
ADR ---- D5
I plan to connect the ADR pin to a digital I/O pin. Then put this kind of code.
const int adrPin = 5;
void setup() {
pinMode(adrPin, OUTPUT);
digitalWrite(adrPin, HIGH);
}
Someone mentioned to make sure an appropriate pull up resistors for the SCL and SDA. Do I need to declare this in the code?
Please bear with my questions. I am really struggling since I am just a beginner. Also, I attached the picture of the module and sensor for your reference and visualization.
