PiOLED Doesn't seem to display

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
bmiles45
 
Posts: 4
Joined: Thu Dec 02, 2021 4:50 pm

PiOLED Doesn't seem to display

Post by bmiles45 »

Hi all,

I just got my Adafruit PiOLED - 128x32 Monochrome OLED Add-on for Raspberry Pi in the mail and attached it to my Pi zero and it doesn't seem to work or display anything.

I already had Pi hole set up and just wanted to display the stats for it. I went through this https://learn.adafruit.com/adafruit-pio ... y-pi/usage and it even sees it plugged in but doesn't display anything even with the tests.
image.png
image.png (65.29 KiB) Viewed 221 times
oled screen.png
oled screen.png (334.48 KiB) Viewed 221 times
Would I be able to get a replacement to see if it is just a faulty unit? I don't see any physical damage but it just doesn't seem to light up at all.

Thank you,

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

Re: PiOLED Doesn't seem to display

Post by adafruit_support_carter »

The tests shown won't display anything. You'll need to run the stats.py program to see something on the OLED.
https://learn.adafruit.com/adafruit-pio ... 3024321-11

User avatar
bmiles45
 
Posts: 4
Joined: Thu Dec 02, 2021 4:50 pm

Re: PiOLED Doesn't seem to display

Post by bmiles45 »

sorry, I should've have put that as well. I did try running two stats.py files. When ran either one doesn't populate anything on the OLED screen.
Attachments
oldstats.py
(2.88 KiB) Downloaded 3 times
stats.py
(4.88 KiB) Downloaded 2 times

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

Re: PiOLED Doesn't seem to display

Post by adafruit_support_carter »

The oldstats.py appears to be the example from the guide. Does it run without errors?

User avatar
bmiles45
 
Posts: 4
Joined: Thu Dec 02, 2021 4:50 pm

Re: PiOLED Doesn't seem to display

Post by bmiles45 »

I believe so. It just sits at blank screen after I hit enter.
oldstats ran as sudo.png
oldstats ran as sudo.png (1.89 KiB) Viewed 210 times

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

Re: PiOLED Doesn't seem to display

Post by adafruit_support_carter »

Hmm. Yah. Looks like it's running OK.

Is that a Pi Zero WH? Or did you have to solder on the headers yourself?

User avatar
bmiles45
 
Posts: 4
Joined: Thu Dec 02, 2021 4:50 pm

Re: PiOLED Doesn't seem to display

Post by bmiles45 »

Correct pi zero WH. The header came with it. Didn’t have to do any sodering. I powered off the pi then plugged the oled in the top left most pins. Then powered the pi back up.

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

Re: PiOLED Doesn't seem to display

Post by adafruit_support_carter »

OK, let's just replace it. Not sure what's happening. But looks like everything has been setup correctly and running that script should produce some output of the OLED (or errors is something else is happening).

Send an email to [email protected] with a link to this thread and your order number and they can send you a replacement PiOLED.

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”