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

No EEPROM detected on Inky Impressions 4" #201

Open
PaulMatthieu opened this issue Sep 1, 2024 · 1 comment
Open

No EEPROM detected on Inky Impressions 4" #201

PaulMatthieu opened this issue Sep 1, 2024 · 1 comment

Comments

@PaulMatthieu
Copy link

PaulMatthieu commented Sep 1, 2024

I'm using the following product: https://shop.pimoroni.com/products/inky-impression-4?variant=39599238807635

And running inky v1.5.0 on python 3.11.2 on a raspberry pi 4

I get the following error:

>>> from inky import auto
>>> auto()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/pi/turing/display/venv/lib/python3.11/site-packages/inky/auto.py", line 83, in auto
    raise RuntimeError("No EEPROM detected! You must manually initialise your Inky board.")
RuntimeError: No EEPROM detected! You must manually initialise your Inky board.

I'm fairly sure the display is properly connected as it used to run fine before and I haven't touched it since. If there is any way to verify the connection (physically, it appears to be well seated on the GPIO pins) let me know.

Now doing the following works for me:

>>> from inky import Inky7Colour as Inky
>>> d = Inky()

But the size of the screen is then wrong (the Impressions 4" is 640x400, whether Inky7Colour is 600x448). I don't see many other options to initialize manually the display (there's Inky_Impressions_7 but it seems to apply to the 7" model).

Would you please kindly let me know:

  • Why isn't the display automatically detected anymore ? Or how can I further debug this EEPROM issue
  • If I have to initialize it manually, how can I do so with an Impressions 4" so that the right size is used

Thanks

@PaulMatthieu
Copy link
Author

  • If I have to initialize it manually, how can I do so with an Impressions 4" so that the right size is used

I don't find this to be very well documented but it appears the correct way to manually initialize an Inky Impression 4" is:

from inky import Inky7Colour as Inky
d = Inky(resolution=(640, 400))

still would love to know why the EEPROM stopped working

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