SH1107 OLED FeatherWing Not working (ESP32-S2)

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
angelkjos
 
Posts: 3
Joined: Tue Jan 18, 2022 3:28 pm

SH1107 OLED FeatherWing Not working (ESP32-S2)

Post by angelkjos »

My FeatherWing OLED 128x64 is completely blank/black. I have a Feather ESP32-S2 chained via Stemma QT to BME688 and then chained again via Stemma QT to FeatherWing OLED 128x64.
BME688 works fine and reports data but the display is completely blank. Cannot get anything to be displayed even though I tried all examples given. Even tried hooking up the OLED directly to the feather via stemma qt (without the bme688) but without luck.

For the ESP32-S2 I am pulling Pin 7 low to turn I2C on.

Code: Select all

 pinMode(7, OUTPUT);
digitalWrite(7, LOW);
The interesting thing is that an I2C scan sees the 0x3C address of the OLED but it does not work, and neither do the buttons.
Attachments
B9CBFEC8-ABF7-4DE0-A9A0-358A5FBFF3FE.png
B9CBFEC8-ABF7-4DE0-A9A0-358A5FBFF3FE.png (363.4 KiB) Viewed 117 times

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

Re: SH1107 OLED FeatherWing Not working (ESP32-S2)

Post by adafruit_support_carter »

The buttons do not work over I2C. They are simple switch closures that connect to GPIO pins which must be read directly:
https://learn.adafruit.com/adafruit-128 ... -3071174-9

The OLED FeatherWing was meant to be used connected directly to the Feather, not via the STEMMA cable. However, it might work, since the STEMMA does connect power and I2C. Since the OLED reset does not get connected, you may need to add some delay after powering the bus:

Code: Select all

  pinMode(7, OUTPUT);
  digitalWrite(7, LOW);
  delay(500);
And be sure to have that code segmented *before* calling begin() on the OLED.

User avatar
angelkjos
 
Posts: 3
Joined: Tue Jan 18, 2022 3:28 pm

Re: SH1107 OLED FeatherWing Not working (ESP32-S2)

Post by angelkjos »

Update:

I had a faulty OLED. After getting a replacement from my distributor it works as expected!
Attachments
E5AA5895-22D9-468B-8557-E4AA83F3F475.jpeg
E5AA5895-22D9-468B-8557-E4AA83F3F475.jpeg (411 KiB) Viewed 75 times

User avatar
tomdklyn
 
Posts: 8
Joined: Sat Jul 09, 2011 9:24 am

Re: SH1107 OLED FeatherWing Not working (ESP32-S2)

Post by tomdklyn »

I also have a SH1107 that is not working. I have checked all connections and tried all the example code out there.
I'm using a Tennsy 3.5, I have 3 other Adafruit modules on the same buss and they all work fine.
Please advise.
Thanks in advance.
Tom

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

Re: SH1107 OLED FeatherWing Not working (ESP32-S2)

Post by adafruit_support_carter »

@tomdklyn Please start a new thread for your issue.

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

Return to “Feather - Adafruit's lightweight platform”