0

I have a cheap display I got from eBay connected to a Raspberry Pi B+. It has 4 pins (vcc, gnd, scl, sda). I followed the adafruit tutorial here but after setup, when I run a python example (any of the examples included with it), the one present is shapes.py), this is what my Display shows:

enter image description here

The output is very distorted, except the top bit of the display.

I have no clue what else to try. I made sure to edit the example.py file to use the 128x64 instead of the 128x32 but no luck. I have seen others with this issue but no solution that I found.

UPDATE: After looking at the original listing, it is a SSD1106, not a SSD1306. I believe this is my issue.

closed as off-topic by goldilocks Jun 4 at 14:01

  • This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • The Adafruit page says: "Designed specifically to work with the Adafruit SSD1306-based OLED displays" You don't have an Adafruit display. Are you SSD1306-based? (You wrote SSD1603.) – Brick Jun 3 at 19:59
  • Oops, yes, my mistake. Its a SSD1306 – epicdig07 Jun 3 at 20:07
  • Any chance you swapped SCL and SDA in the wiring? Do you have any external pull-ups on the SDA and SCL lines? – Brick Jun 3 at 20:24
  • @Brick I tried swapping my SCL and SDA wires and it makes the python example not run due to it not being connected, so that wasnt it. I do not have any pullups on the wires to any pins either. – epicdig07 Jun 3 at 20:28
  • 1
    This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting. – goldilocks Jun 4 at 13:59
2

It turns out I was using the wrong Library. The device I have is a SH1106, not a SSD1306. When using the proper library (Like this one) It works fine.

Not the answer you're looking for? Browse other questions tagged or ask your own question.