I’m trying to get my inky impression 5.7" to work. I can get the buttons.py script to work - detected when the A, B, C & D buttons are pressed, but I can’t get any of the other example scripts to work which should update the display itself.
My setup: Raspberry Pi Zero W
Operating System: Raspbian GNU/Linux 12 (bookworm)
Kernel: Linux 6.12.47+rpt-rpi-v6
Architecture: arm
Inky 600x448 pixels 5.7" e-paper display
Error message:
(pimoroni) eoin@pi:~/Pimoroni/inky/examples/7color $ python clear.py
Detected 7-Colour (UC8159)
/home/eoin/.virtualenvs/pimoroni/lib/python3.11/site-packages/inky/inky_uc8159.py:331: UserWarning: Busy Wait: Held high. Waiting for 1.00s
warnings.warn(f"Busy Wait: Held high. Waiting for {timeout:0.2f}s")
/home/eoin/.virtualenvs/pimoroni/lib/python3.11/site-packages/inky/inky_uc8159.py:331: UserWarning: Busy Wait: Held high. Waiting for 0.20s
warnings.warn(f"Busy Wait: Held high. Waiting for {timeout:0.2f}s")
/home/eoin/.virtualenvs/pimoroni/lib/python3.11/site-packages/inky/inky_uc8159.py:337: UserWarning: Busy Wait: Timed out after 0.20s
warnings.warn(f"Busy Wait: Timed out after {timeout:0.2f}s")
The clear.py script is simply:
#!/usr/bin/env python3
import time
from inky.auto import auto
from inky.inky_uc8159 import CLEAN
inky = auto(ask_user=True, verbose=True)
for _ in range(2):
for y in range(inky.height - 1):
for x in range(inky.width - 1):
inky.set_pixel(x, y, CLEAN)
inky.show()
time.sleep(1.0)
I’ve managed to write something to the screen. Once. I can’t figure out how I did it though, and it looks corrupted (says “Hello, world!”, but also has lots random shapes).
Can you confirm that you are running a vanilla PiOS? On a vanilla PiOS, nothing should keep GPIO17 pulled high. It is used as an input for the inky-driver and the driver-chip should drive it high while being busy and leaving it low otherwise.
This problem has been reported many times already. My guess: it is a problem of the pcb or the driver chip. The python-driver has a timeout of I think 40s, so the display should eventually update. Since the check for busy is spread around the code, the total waiting time might be even longer.
Anyhow, this is something for support. You can wait until Hel is back or mail directly to support linking to this thread.
Can’t immediately think of anything else to try (I think I still have Christmas brain!) but if you don’t manage to get it going please drop an email to support@pimoroni.com with some photos showing your setup and how you’ve got the Inky connected, plus your order details and a link to this thread, and we’ll see if we can help further.