I2C Communication Issue with Adafruit Motor Shield v2 on Arduino - Need Help!

Hello (I am a noob),
I am using a brand-new Adafruit Motor Shield V2 and running it with an Arduino Uno and am attempting to run it with the Adafruit library. However, the I2C scanner is not detecting the motor shield. I am aware that the SDA/SCL pins are A4 and A5 and I believe that they are secure. I have made a test sketch for the I2C scanner:

#include <Wire.h>

void setup() {
  Serial.begin(9600);
  Serial.println("Scanning for I2C devices...");
  
  Wire.begin();
  for (byte address = 1; address < 127; address++) {
    Wire.beginTransmission(address);
    if (Wire.endTransmission() == 0) {
      Serial.print("I2C device found at address 0x");
      Serial.println(address, HEX);
    }
  }
  Serial.println("Scan complete.");
}

void loop() {
  // Nothing here
}

I am using a 6xAA battery. Here is my board:

The photo looks like you have no male header pins soldered onto the motor shield, so the male header pins are just poking through the motor shield, loose inside the vias.

1 Like

I suggest you solder your connections and post an annotated schematic showing exactly how it is wired.

I have male header pins connecting the motor shield and the Arduino Uno, but I didn't solder them. I should solder them, right?

Please, read the replies, and act on them, before responding so I don't need to say, "Read @jim-p post #4."

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.