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 · 2 comments
Open

No EEPROM detected on Inky Impressions 4" #201

PaulMatthieu opened this issue Sep 1, 2024 · 2 comments

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

@tajacks
Copy link

tajacks commented Oct 28, 2024

I also ran into this. Regarding your comment:

'm fairly sure the display is properly connected as it used to run fine before and I haven't touched it since

Was it working sometime before this commit? 👇🏻

23332f4#diff-432f16f0c031f58f5068d16e0ff94812465025ca1336153fb9c58fd751e09331R29

That's the last relevant commit I see related to the Impression 4" & EEPROM

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

2 participants