ESP32 Thing Plus WROOM Qwiic I2C not working

I have several Qwiic modules that I’m trying to use with the ESP32 Thing Plus WROOM and I’m not having any success getting the modules to init. I have the [Qwiic joystick and the [CCS811/BME280 combo board. I followed the hookup guides there and nothing is working. I essentially get the same problem with both the env. combo board and the joystick, where it fails running the begin() functions.

For example, if I use the example included in the joystick library “Example4_Joystick_Serial_Output”, I get output of “Joystick does not appear to be connected. Please check wiring. Freezing…”.

I get essentially the same behavior from the env. combo board where both the BME and the CCS refuse to return proper begin() results. Is there something I’m missing with the Qwiic connector on the ESP32 Thing Plus?](https://www.sparkfun.com/products/14348)](SparkFun Qwiic Joystick - COM-15168 - SparkFun Electronics)

Hello spweltonAEP,

Can you provide pictures of your setup?

Yes, it’s quite a simple setup. I really just plugged them together to load the example codes and learn about the libraries before including these modules in a project.

It’s just the Thing Plus WROOM with a Qwiic wire to either of the modules. I even tried a different wire and still the same problem.

https://i.imgur.com/YmLW2VL.jpg

https://i.imgur.com/KQ07KR6.jpg

Not sure if this is the issue since I don’t have the boards to play with.

Per the schematic, the ESP32 Thing has SDA on IO23 and SCL on IO22. Per https://randomnerdtutorials.com/esp32-i … duino-ide/, the default pins are SDA = IO21 and SCL on IO22, so you need to specify the different pins directly in the Wire.begin() function. Try Wire.begin(23, 22);

/mike

That fixed it!

I can’t believe I didn’t think to check the pin numbers.

Thanks!! :smiley:

I had this exact same issue with the SparkFun Thing Plus - ESP32 WROOM. Literally was pulling my hair out when I could not get anything in the I2C bus to work.

Why is this not mentioned anywhere on the SparkFun Thing Plus - ESP32 WROOM pages?

I am surprised - I have the new version of the ESP32 Thing Plus WROOM - WRL-15663. I did not have to specify the pin numbers. Is your WROOM the previous version - https://www.sparkfun.com/products/retired/14689? I am wondering why I did not run into this problem.