Random/noisy pixels regardless of what I try to print and the hardware settings
See original GitHub issueToday I have received my Mono OLED 128x128 SPI Breakout. After installing on the SPI slot of my Breakout Garden and trying to run some sample code, however, I only get random noise on the screen:
This is some sample code I have tried:
from luma.core.interface.serial import spi
from luma.oled.device import sh1106
from luma.core.render import canvas
serial = spi(port=0, device=0, cs_high=True)
device = sh1106(serial, width=128, height=128, rotate=0)
with canvas(device) as draw:
draw.text((0, 0), "Hello World", fill="white")
input()
However, regardless of what I try to print, regardless of SPI settings, width/height and orientation, I always get noise.
I’m running the GitHub installation of luma.oled
on a RPi4 with vanilla Raspbian, latest update:
Linux turing 5.4.51-v7l+ #1332 SMP Tue Aug 4 18:40:14 BST 2020 armv7l GNU/Linux
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Fixing M1 Mac External Display Issues (Flickering Screen ...
Disconnect and reconnect display cable If the external screen is flickering or displaying white noise, you can try to disconnect and reconnect ...
Read more >13 Common Printer Problems and How to Fix Them
Do a hard reset on your printer. To do this you just need to turn off your printer, unplug for a few minutes...
Read more >NVIDIA/Troubleshooting
A possible solution could be to regress to the previously installed driver version and rebooting afterwards. Avoid screen tearing. Note: This ...
Read more >50 Common Printer Problems and How to Fix Them
Common Printer Problems and Solutions Free PDF Download! Follow these tips for common printer problems, such as paper jams, toner issues, and low...
Read more >CaptureResult
A Key is used to do capture result field lookups with CaptureResult#get . ... All pixel data is replaced by a pseudo-random sequence...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The fact that the DC line is on GPIO 9 is how Pimoroni chose to connect it on their breakout garden board - it is nothing to do with the sh1107 display.
I don’t think we need a pull request. I guess we’ve learnt that sh1107 128x128 OLED can be successfully driven with the sh1106 driver though
Shouldn’t this be documented though?