Trouble using QT Py RP2040 with Monochrome 0.91" 128x32 I2C OLED Display

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
kcriqui
 
Posts: 12
Joined: Tue Jul 22, 2008 1:44 am

Trouble using QT Py RP2040 with Monochrome 0.91" 128x32 I2C OLED Display

Post by kcriqui »

I've got a QT Py RP2040 connected to a Monochrome 0.91" 128x32 I2C OLED Display with a Qwiic cable and can't get anything other than a blank display. I'm coding with Arduino. The power LED on the display is lit. I can upload code to the board just fine and the I2C scanner sees the display at 0x3c. The example code SSD1306_128x32_i2c compiles and uploads fine but there is absolutely nothing on the display. I added a few Serial.println()'s after display updates and see those on the serial monitor, but not a thing on the display. Is there some incompatibility with these 2 boards?

User avatar
kcriqui
 
Posts: 12
Joined: Tue Jul 22, 2008 1:44 am

Re: Trouble using QT Py RP2040 with Monochrome 0.91" 128x32 I2C OLED Display

Post by kcriqui »

After much digging I found out that the I2C pins connected to the QWIIC connector are Wire1 rather than Wire used in the example code. The example is working now.

Is there a list somewhere of differences between the QT Py RP2040 and "normal" boards?

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Trouble using QT Py RP2040 with Monochrome 0.91" 128x32 I2C OLED Display

Post by adafruit_support_carter »

There is no "normal" board. So just need to reference the pinout information specific to board being used.

https://learn.adafruit.com/adafruit-qt- ... qt-3091651
NOTE: To use this connector with CircuitPython, you need to use board.STEMMA_I2C(), or busio.I2C(board.SCL1, board.SDA1) in your code! In Arduino, it is Wire1.

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

Return to “Other Arduino products from Adafruit”