pimoroni / inky

Combined library for V2/V3 Inky pHAT and Inky wHAT.
https://shop.pimoroni.com/?q=inky
MIT License
594 stars 122 forks source link

Inky Yellow pHAT (SSD1608) Screen Won't Update #117

Closed aymannel closed 2 years ago

aymannel commented 3 years ago

Hi. I recently bought a yellow Inky pHAT (SSD1608) and I'm using a Raspberry Pi Zero Wireless (RPZ). After installing the latest Raspberry Pi OS, I connected to the RPZ via SSH and ran the following one-liner to install the latest inky pHAT software. curl https://get.pimoroni.com/inky | bash

I then made sure SPI was enabled with raspi-config.

I also ran the following: sudo pip install inky[rpi-gpio-output] --upgrade sudo pip3 install inky[rpi-gpio-output] --upgrade

Currently the Inky pHAT is being detected, since running the name-badge.py example now gives Inky pHAT/wHAT: Hello... my name is: Use Inky pHAT/wHAT as a personalised name badge! Detected Yellow pHAT (SSD1608)

However, the board refuses to update, and instead stubbornly remains on the factory default screen. I can't think of anything else to do, and unfortunately, I'm pretty sure I've read every similar issue raised, but with no luck.

Any ideas?

Note

Gadgetoid commented 3 years ago

The SSD1608 can be identified - I think, anyway - by the return of two electrode connections on the right-hand side.

The resolution difference you're seeing is normal- the wrong values were flashed to EEPROM due to the 250x122 resolution actually coming as something of a surprise. The class accounts for this.

If you haven't already contacted support, it might be worth doing since this could be a hardware issue.

lesamouraipourpre commented 3 years ago

I'm getting the same issue with a Yellow pHat (received Sat 14th August)

./identify.py 
Found: Yellow pHAT (SSD1608)
Display: 212x104
Color: yellow
PCB Variant: 1.2
Display Variant: 12
Time: b'2021-06-03 11:24:40.4'

It correctly reads the EEPROM over I2C but appears to get no response over SPI - the screen is still on the factory shipped screen.

aymannel commented 3 years ago

I'm getting the same issue with a Yellow pHat (received Sat 14th August)

./identify.py 
Found: Yellow pHAT (SSD1608)
Display: 212x104
Color: yellow
PCB Variant: 1.2
Display Variant: 12
Time: b'2021-06-03 11:24:40.4'

It correctly reads the EEPROM over I2C but appears to get no response over SPI - the screen is still on the factory shipped screen.

Yeah it's really frustrating. I'm going to contact Pimoroni directly because I've made no progress figuring it out.

Gadgetoid commented 3 years ago

Asking someone to pull one from stock and investigate this, since I seem to have a shortage of Inky pHATs here.

lesamouraipourpre commented 3 years ago

It looks like my issue was a local hardware issue. Because of the case on my Raspberry Pi I have to use a GPIO extender. I tried swapping it for another extender that I have and it seems to be working fine. I can't find a continuity fault in the extender but I'm blaming it anyway.

aymannel commented 3 years ago

After contacting support, Pimoroni offered to exchange my Inky with a new one. Works fine now! must have been a hardware issue. Anyway, great software support and great customer service!