QT Py ESP32-S2 - CircuitPython - I2C Issues

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
archer36
 
Posts: 15
Joined: Fri May 27, 2016 9:40 am

QT Py ESP32-S2 - CircuitPython - I2C Issues

Post by archer36 »

Hello all,

I recently received two ESP32-S2 QT Pys from Adafruit. I loaded up CircuitPython 7.1.0 on them with no issues and loaded the CircuitPython latest libraries as well (adafruit-circuitpython-bundle-7.x-mpy-20220112).

When attempting to use them using the stemma qt with various sensors, I keep getting the error "RuntimeError: No pull up found on SDA or SCL; check your wiring".

I know these dev boards are new, so I am not sure if anyone else has run into this issue yet.

I have tried:
  1. Both QT Pys
  2. Tried two different stemma qt cables
  3. Two different sensors (SHTC3 and VL53L1X)
  4. Both of these sensors on a Feather RP2040 (Both work well)
Any ideas?

User avatar
jerryn
 
Posts: 1865
Joined: Sat Sep 14, 2013 9:05 am

Re: QT Py ESP32-S2 - CircuitPython - I2C Issues

Post by jerryn »

see this note https://learn.adafruit.com/adafruit-qt- ... 3107922-15
the I2C pins for the STEMMA connector are board.SCL1, board.SDA1

use
i2c = busio.I2C(board.SCL1,board.SDA1)

User avatar
archer36
 
Posts: 15
Joined: Fri May 27, 2016 9:40 am

Re: QT Py ESP32-S2 - CircuitPython - I2C Issues

Post by archer36 »

Woah nice catch! That 100% did the trick, thank you very much!

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”