Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

QT PY RP2040 and 1.3" 128x64 OLED Pullup
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

QT PY RP2040 and 1.3" 128x64 OLED Pullup

by zelthian on Thu Apr 22, 2021 8:36 pm

I'm having an issue with my QT PY RP2040 and 1.3" OLED. I have them connected via the STEMMA QT connector and loaded the OLED CircuitPython example code from the Learn site. I'm getting this error:

"RuntimeError: No pull up found on SDA or SCL; check your wiring"

The OLED has pull-up resistors built in, according to the schematic. What am I doing wrong?

zelthian
 
Posts: 13
Joined: Sun Dec 26, 2010 12:15 am
Location: Denver Metro

Re: QT PY RP2040 and 1.3" 128x64 OLED Pullup

by zelthian on Thu Apr 22, 2021 10:45 pm

Got it working. I found this other post:

viewtopic.php?f=52&t=178181

From this, I worked out that if I added the busio library:

Code: Select all | TOGGLE FULL SIZE
import busio

and changed:

Code: Select all | TOGGLE FULL SIZE
i2c = board.I2C()

to:

Code: Select all | TOGGLE FULL SIZE
i2c = busio.I2C(board.SCL1, board.SDA1)

the display example code now works.

zelthian
 
Posts: 13
Joined: Sun Dec 26, 2010 12:15 am
Location: Denver Metro

Re: QT PY RP2040 and 1.3" 128x64 OLED Pullup

by devellison on Wed May 12, 2021 11:20 am

Thanks for this. That worked for me, had the exact same issue.

devellison
 
Posts: 7
Joined: Mon Jul 09, 2012 3:01 pm

Re: QT PY RP2040 and 1.3" 128x64 OLED Pullup

by adafruit_support_carter on Wed May 12, 2021 12:55 pm

Correct. Those are the STEMMA QT pins:
https://learn.adafruit.com/adafruit-qt- ... -3091651-3

adafruit_support_carter
 
Posts: 20355
Joined: Tue Nov 29, 2016 2:45 pm

Re: QT PY RP2040 and 1.3" 128x64 OLED Pullup

by zelthian on Sat May 15, 2021 2:14 am

adafruit_support_carter wrote:Correct. Those are the STEMMA QT pins:
https://learn.adafruit.com/adafruit-qt- ... -3091651-3


Yeah, I missed that info. Loaded up Circuit Python and went right for the OLED example code.

zelthian
 
Posts: 13
Joined: Sun Dec 26, 2010 12:15 am
Location: Denver Metro

Please be positive and constructive with your questions and comments.