So I'm trying to use a PiOLED to show stats for my PiHole setup on my Pi Zero W. I've followed this
https://learn.adafruit.com/adafruit-pio ... y-pi/usage
and this
https://learn.adafruit.com/adafruits-ra ... guring-i2c
guide so far. But after I run "sudo raspi-config" and enable I2C support, then reboot, I run into a major problem when I plug in my PiOLED. As soon as I plug it in (using the 6 leftmost pins) any command returns the error "-bash: /usr/bin/sudo: Input/output error". I can exit the SSH session (I'm still connected) but I can't reconnect via SSH until I manually restart the Pi by unplugging it and plugging it back in. When the Pi reboots and I can reconnect, it acts normally, but the command "sudo i2cdetect -y 1" shows that no I2C addresses are used despite the PiOLED being plugged in.
Any help would be appreciated. Thanks!
Plugging in PiOLED causes major problems in Pi Zero W
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- bronsoon
- Posts: 3
- Joined: Sun Nov 18, 2018 10:30 pm
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Plugging in PiOLED causes major problems in Pi Zero W
Post a photo showing your hardware and connections please. 800x600 images usually work best.
- bronsoon
- Posts: 3
- Joined: Sun Nov 18, 2018 10:30 pm
Re: Plugging in PiOLED causes major problems in Pi Zero W
Hi, sorry for the long delay. Here's my setup. As simple as it gets, really.
- Attachments
-
- 20181128_180219.jpg (534.33 KiB) Viewed 117 times
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Plugging in PiOLED causes major problems in Pi Zero W
I don't see anything out of the ordinary there.
Do you happen to have another RasPi you can use to test the PiOLED?
Do you happen to have another RasPi you can use to test the PiOLED?
- bronsoon
- Posts: 3
- Joined: Sun Nov 18, 2018 10:30 pm
Re: Plugging in PiOLED causes major problems in Pi Zero W
No, I don't have another Pi but I do have an Arduino Uno. I don't know when I'd have the time to wire it up for I2C though
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Plugging in PiOLED causes major problems in Pi Zero W
I just took a closer look at the photo above, and saw what might be a problem in the upper-right corner of the OLED:
Check to see if the glass has broken or chipped there. The transparent conductive traces that run to the OLEDs go around that corner, so a break there will kill the whole display.
Check to see if the glass has broken or chipped there. The transparent conductive traces that run to the OLEDs go around that corner, so a break there will kill the whole display.
Please be positive and constructive with your questions and comments.