Qwiic motor driver not found with I2C scan

I have qwiic motor driver on an ESP32 Thing Plus, and am running an SPI scan but the motor driver is not showing up. Everything is factor default on the motor driver, and there is a single blink of the LED about every 2 seconds. The board is clearly powered from the ESP32 via the qwiic connector, and I have power for the motor connected as well (and confirmed it is actually powered).

I’m not able to get the example code for the qwiic motor driver to work, hence the scan check. So I’m wondering what else I can do to troubleshoot because it seems like it’s not working as it should.

The Qwiic Motor Driver is designed to use i2c, not SPI, as its communication protocol - check out our hookup guide https://learn.sparkfun.com/tutorials/ho … 1615791300 for the driver here, which details the i2c addressing procedure for these

Happy sparking!

Sorry, SPI was a typo (I2C is in the title of the post and is what I meant)

Please share some photos of your set-up/wiring/power and we can see if anything stands out :slight_smile:

I’ve attached a picture showing the qwiic connector between the ESP32 Thing Plus and the motor driver, and the back of the motor driver. I have 2 leds connected on pins 12 and 27 (which work fine), the motor driver has power from a lipo battery and one motor connected. The motor driver is factory default, I’ve not changed any of the address or other jumpers.

Perhaps try to swap to the other qwiic port on the motor driver and see if that changes anything? I see the board’s led is lit, which is good. You could also try and use a different board (like an arduino, instead of the Thing Plus) to see if it might be the problem. Or you could try https://learn.sparkfun.com/tutorials/es … o3EALw_wcB using this guide to verify that it’s working properly.

Finally, if none of those work and it still won’t appear on i2c detect, we can replace it for ya here https://www.sparkfun.com/returns if purchased from us, if from a distrubutor you’d simply contact them for one :wink:

Hope this helps!

Thank you - I will try those things out and see what happens :slight_smile:

Well, I’m not quite sure what happened, but after moving the connector from one side to the other, both connectors work now :smiley: