Skip to content
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

128x128 SSD1327 OLED display is being dark... #396

Open
4k3or3et opened this issue Nov 13, 2024 · 0 comments
Open

128x128 SSD1327 OLED display is being dark... #396

4k3or3et opened this issue Nov 13, 2024 · 0 comments

Comments

@4k3or3et
Copy link

4k3or3et commented Nov 13, 2024

Type of Raspberry Pi

RPi3B+ with original power supply

Linux Kernel version

Linux test 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux

Expected behaviour

OLED display to be bright as my other smaller 128x64 SH1106 display

Actual behaviour

Hi all

i have bought 128x128 OLED display which i sort of got to work. This is SSD1327 (ZJY-M150-128*128-4P). The problem i have with this display is that it is very dark compared to my other 128x64 SH1106 display. The test script i have used so far is:
Code: Select all

#!/usr/bin/python
from luma.core.interface.serial import i2c
from luma.core.render import canvas
from luma.oled.device import ssd1327
from PIL import ImageFont
from time import sleep

serial=i2c(port=1, address=0x3C)
device=ssd1327(serial, width=128, height=128, mode='1')

font1=ImageFont.truetype("/root/oledfont.ttf", 64)
device.contrast(255)

with canvas(device) as draw:
 draw.text((0, 0), ("test"), fill="white", font=font1)
sleep(10)

Of course font does exist in place where it is stated.

One thing worth mentioning is that when i connect that display to 3V the script is being executed without errors but nothing lights up on the screen. On 5V you can see the 'test' text but it is very dark.

I have tried on two RPi's. RPi3B+ and RPi5. Both on official power supplies.

I know that this display has some bits of greyscale but I have no clue if that may be the cause of my problem and i cannot figure out how to control it.

Does anyone know how to make this display to be as bright as my other smaller OLED display?

I am attaching some pictures of that display:

20241113_014552_result
20241113_014605_result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant