-
Notifications
You must be signed in to change notification settings - Fork 5
Raspberry pi pico sh1106 display issues #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you attempting to use both screens at the same time? Or trading off between them just trying to either one to work independently? If you are trying to use both at the same time I think it might be necessary to make a configuration change within the build of CircuitPython in order to enable it to use 2 screens at the same time, I believe the default build is limited to only 1. |
I am not able to get a single one working, both of them are just here for testing, switching between them. |
Are you able to show a photo from further away that shows the wiring between the pico and the display? I don't have a concrete answer for what could be causing this right now, but the artifacts that are showing on the screen remind me of this issue: adafruit/circuitpython#4793 It's possible that you are running into a similar problem. There are some more details on the issue here: adafruit/circuitpython#4775 However I do think all of the linked issues were specifically around SPI displays, so if you are seeing the same thing on I2C possibly this is a red herring and perhaps something different. |
The connections are the same as described in the code I posted, the real deal is a bit messy. I will try the I2C example now since the waveshare display has changeable jumpers to change it's operation. |
Just tried I2C:
Experiencing the exact same weird behavior including REPL creeping on to the display. |
Today I got the adafruit_displayio_sh1106.py file and edited it to use have the same initialization commands as the arduino logic analyzer capture, it didn't help and result in the exact same behavior, this might indicate that something is up with the drawing/display pushing functions in displayio perhaps. Not sure yet, will post updates when I manage to find anything. |
I have added the corresponding |
I tried to get 2 sh1106 displays working on the raspberry pi pico for the last 2 days. One of them is a Waveshare 1.3 inch 128x64 SH1106 OLED (in SPI mode), the other one is a generic 128x64 SPI OLED experimentally identified to be an SH106 module since just like the first one it worked perfectly with an aruino nano with the following library. However, when trying to get it working in CircuitPython on 6.3 the display occasionally only turned on and showed noise, however when switching to latest release of 7.0.0-beta I got some text out of the display, also randomly but not like it's supposed to be. In both cases the latest release of this repo was used for the libraries. It also appears that perhaps some memory mishap is going on since on several occasions I witnessed the REPL output appearing on the OLED:

The code I used is as follows:
The text was updated successfully, but these errors were encountered: