# 7 Colour E-Ink Display For Raspberry Pi | Inky Impression 5.7" (7 Colour ePaper/eInk HAT)

**URL:** <https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889>\
**Category:** Guides\
**Created:** [28 April 2022 02:09 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889 "2022-04-28T02:09:14Z")\
**Posts on this page:** 16\
**Page:** 2

<div class="post-metadata">

**Author:** ![James](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/james/32/4400_2.png) [@James](https://forum.core-electronics.com.au/u/James)\
**Post date:** [3 August 2023 00:08 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/23 "2023-08-03T00:08:48Z")

</div>

Hi Sean,

Looks like I was barking up the wrong tree then.

The only other thing I can think of is file ownership, i.e. the user the script is running as, doesn’t have permissions to access hardware peripherals.

Would it work to try and run it via `rc.local` instead? Apparently that will run it as root, and it doesn’t get any better than that.  
[https://forums.raspberrypi.com//viewtopic.php?f=63&t=46125](https://forums.raspberrypi.com//viewtopic.php?f=63&t=46125)

---

<div class="post-metadata">

**Author:** ![Sean204450](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Sean204450](https://forum.core-electronics.com.au/u/Sean204450)\
**Post date:** [6 August 2023 07:00 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/24 "2023-08-06T07:00:37Z")

</div>

In the terminal, I typed `sudo mousepad /etc/rc.local` to edit it  
I added  
`/home/pi/inky/examples/7color/html.sh /home/pi/inky/examples/7color/hello-world.html`  
and it did something _interesting_. It created a new screenshot in the filesystem root folder /screenshot.png with the content that I want to display.  
It didn’t put it on the e-ink display, but it did something, which was the lightbulb moment! That image.py it references didn’t know where that picture was and therefore couldn’t run.  
I edited the last line of html.sh to  
`/home/pi/examples/7color/image.py /screenshot.png`  
and it works perfectly!!

**Thank you so much James(!!!)** for your help in getting this going, and I will share the final project once its finished.

---

<div class="post-metadata">

**Author:** ![Oretal](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/oretal/32/8080_2.png) [@Oretal](https://forum.core-electronics.com.au/u/Oretal)\
**Post date:** [23 November 2023 21:34 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/25 "2023-11-23T21:34:36Z")

</div>

Oh yes! (sory for the late reply) I saw this one a while back and it’s the PERFECT size for my art. Upscaling the art I make comes out to the exact same height of 480. I’m actually waiting on a photoframe made using that screen. I’m looking forward to displaying multiple art pieces! 😃

---

<div class="post-metadata">

**Author:** ![Sophia](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/sophia/32/9280_2.png) [@Sophia](https://forum.core-electronics.com.au/u/Sophia)\
**Post date:** [24 November 2023 04:54 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/26 "2023-11-24T04:54:55Z")

</div>

Hi Oretal,

That’s super great to hear! Glad to see we could help, and it’s nice to know it’s all working out a few months on.

Cheers,  
Sophia

---

<div class="post-metadata">

**Author:** ![Val261817](https://avatars.discourse-cdn.com/v4/letter/v/54ee81/32.png) [@Val261817](https://forum.core-electronics.com.au/u/Val261817)\
**Post date:** [3 December 2023 19:12 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/27 "2023-12-03T19:12:17Z")

</div>

Hi - I really like the colors you achieved with your code. Is there a way I can use this for the inky frame? It uses the same screen, but with a picow, so it uses Thonny to communicate with the screen.

---

<div class="post-metadata">

**Author:** ![James](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/james/32/4400_2.png) [@James](https://forum.core-electronics.com.au/u/James)\
**Post date:** [5 December 2023 03:27 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/28 "2023-12-05T03:27:11Z")

</div>

Hi Val,

Looks like the image example script doesn’t provide a saturation option (processing images is hard work, probably beyond a Pico), so I would up the saturation in [paint.NET](http://paint.NET) or GIMP before transferring it to the Pico.

---

<div class="post-metadata">

**Author:** ![David281714](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@David281714](https://forum.core-electronics.com.au/u/David281714)\
**Post date:** [17 October 2024 16:28 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/29 "2024-10-17T16:28:00Z")

</div>

When I run “python3 run-on-boot.py”, I get “Detected 7-Colour (UC8159)  
Usage:  
image.py --file image.png (–saturation 0.5)”  
Has the image.py command changed?

Thanks,

Dave

---

<div class="post-metadata">

**Author:** ![Jack](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jack/32/9287_2.png) [@Jack](https://forum.core-electronics.com.au/u/Jack)\
**Post date:** [17 October 2024 23:40 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/30 "2024-10-17T23:40:06Z")

</div>

Hi David,

Welcome to the forum! When running `python3 run-on-boot.py` you will need to specify your file path. Have you done this? Which Pi and OS are you using as well?

---

<div class="post-metadata">

**Author:** ![David281714](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@David281714](https://forum.core-electronics.com.au/u/David281714)\
**Post date:** [18 October 2024 11:17 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/31 "2024-10-18T11:17:47Z")

</div>

Raspberry Pi 3 Model A Plus Rev 1.0, 512MB  
Linux version 6.6.56-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

Yes, I specify file path and still get the error.

---

<div class="post-metadata">

**Author:** ![David281714](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@David281714](https://forum.core-electronics.com.au/u/David281714)\
**Post date:** [18 October 2024 13:52 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/32 "2024-10-18T13:52:31Z")

</div>

My bad, I had added extensions to all the numbered files.

Dave

---

<div class="post-metadata">

**Author:** ![Jack](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jack/32/9287_2.png) [@Jack](https://forum.core-electronics.com.au/u/Jack)\
**Post date:** [21 October 2024 00:20 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/33 "2024-10-21T00:20:17Z")

</div>

Hi David,

No worries, I find forums can serve as [rubber duck debugging](https://en.wikipedia.org/wiki/Rubber_duck_debugging) sometimes. Glad its working now, let us know if you run into any other issues.

---

<div class="post-metadata">

**Author:** ![Pixmusix](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/pixmusix/32/9719_2.png) [@Pixmusix](https://forum.core-electronics.com.au/u/Pixmusix)\
**Post date:** [21 October 2024 00:55 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/34 "2024-10-21T00:55:57Z")

</div>

> [@Jack](#):
>
> forums can serve as [rubber duck debugging](https://en.wikipedia.org/wiki/Rubber_duck_debugging) sometimes

Insightful.

---

<div class="post-metadata">

**Author:** ![David197028](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@David197028](https://forum.core-electronics.com.au/u/David197028)\
**Post date:** [9 January 2025 02:33 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/35 "2025-01-09T02:33:41Z")

</div>

I have set up a new RPi in a venv and followed the directions as per your instructions and also those on PyPi. I get this error when trying to update the display:  
“Woah there, some pins we need are in use!  
⚠ Chip Select: (line 8, GPIO8) currently claimed by spi0 CS0”  
There is a thread on the pimoroni site addressing the issue, but with no clear solution. There is a suggestion you have to play with the config file, but this worked for one person, and not for another.  
I feel that (if something extra has to be done) why the information is not provided by the Inky vendors; the onus is on them to provide clear details as to what has to be done to make their product work! What I’m trying to do is simple, i.e. display an image on the screen, and whilst I admit I am a relative beginner, I just don’t think it has to be so hard!!  
Any thoughts?  
David

---

<div class="post-metadata">

**Author:** ![Samuel](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/samuel/32/11763_2.png) [@Samuel](https://forum.core-electronics.com.au/u/Samuel)\
**Post date:** [9 January 2025 03:09 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/36 "2025-01-09T03:09:18Z")

</div>

Hey @David197028,

I have done some light research into this and it seems like the solution of adding the line `dtoverlay=spi0-0cs` to the bottom of the config.txt file (located at /boot/firmware/config.txt on bookworm) seems to fix this issue for most users.

The post I have found that don’t have success with the method seem to have at least moved on to a different error message after making this change so if you haven’t already, I would give this a shot and see if it helps out!

Let us know how that goes for you and we can help out with any other problems that pop up 🙂

---

<div class="post-metadata">

**Author:** ![David197028](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@David197028](https://forum.core-electronics.com.au/u/David197028)\
**Post date:** [9 January 2025 04:28 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/37 "2025-01-09T04:28:03Z")

</div>

Hi Sam,  
Thanks! Reinforcing my idea that the RPi is proving to be a bizarre hobby, that line was already the last in my config file on starting up the RPi again! I absolutely did not put it there!! But suffice to say that after giving my code one last go, I have now successfully refreshed the image on the inky display!  
Cheers, David

---

<div class="post-metadata">

**Author:** ![Samuel](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/samuel/32/11763_2.png) [@Samuel](https://forum.core-electronics.com.au/u/Samuel)\
**Post date:** [9 January 2025 05:11 UTC](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889/38 "2025-01-09T05:11:32Z")

</div>

Hey @David197028,

That’s great to hear! Sometimes a reboot is all you need to fix a weird issue like this.

Let us know if you run into any other troubles. Best of luck with your future projects! 🙂

[Previous page](https://forum.core-electronics.com.au/t/7-colour-e-ink-display-for-raspberry-pi-inky-impression-5-7-7-colour-epaper-eink-hat/13889.md?page=1)
