Cannot detect QWIIC Twist with ESP32 Thing Plus C

Hi,

I have a setup using a QWIIC Twist and Quad Relay working with an RPi 4 and the Python library. Everything with that configuration is working great.

I thought I’d try out the ESP32 Thing Plus C as the controller, and I can’t get past connecting to the QWIIC devices. I have tried both of them independently, and I get an error that the device is not connected.

I have verified that I’m using the same address for each as I am with the RPi code.

I reverted back to the example code in the Arduino library repo:

#include "SparkFun_Qwiic_Twist_Arduino_Library.h" //Click here to get the library: http://librarymanager/All#SparkFun_Twist
TWIST twist;                                      //Create instance of this object

void setup()
{
  Serial.begin(115200);
  Serial.println("Qwiic Twist Example");

  if (twist.begin() == false)
  {
    Serial.println("Twist does not appear to be connected. Please check wiring. Freezing...");
    while (1)
      ;
  }
}

And I get this output:

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

configsip: 0, SPIWP:0xee

clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00

mode:DIO, clock div:2

load:0x3fff0018,len:4

load:0x3fff001c,len:1044

load:0x40078000,len:10124

load:0x40080400,len:5828

entry 0x400806a8

Qwiic Twist Example

Twist does not appear to be connected. Please check wiring. Freezing…

Is there anything unique that I need to do to use QWIIC devices with the Thing Plus C?

Thanks!

Jason

According to the schematics you need to first enable power before twist.begin().

Look at the test sketch https://github.com/sparkfunX/SparkFun_E … ontrol.ino how to do that

Thanks Paul! I ended up having the wrong ESP32 board selected. It’s all working now.