Skip to content

Display pictures on Grove E-Ink Triple Color Display with Arduino

 

Get a Grove – Triple Color E-Ink Display seeedstudio.com/-p-2889.html
Get a Seeeduino Nano seeedstudio.com/Seeeduino-Nano-p-4111.html

Hello, and welcome to another project sponspored by Seeed Studio, today we have Grove – Triple Color E-Ink Display 2.13”, and we gonna interface it with a Seeeduino Nano, you can use Arduino Nano/Uno/Mega… it’s pretty much the same procedure, if you don’t know how to install Seeeduino boards you can check my Grove Water Atomizer tutorial video.

As usual the Seeed Studio provides the product Wiki page which is very useful and you can check it here. These kind of displays uses Electrophoresis phenomenon do displace the “ink capsules” to the surface.

main
Courtesy of Seeed Studio

The E-Ink display was created many years ago, but unfortunately it was using only one color which is black on a white backgroud, and also the lack of backlighting like LCD didn’t help but it proved to be practical for e-books like “kindle”.
The one we’re using today is Triple color: Black, White and Red.
Some of them now can display thousands of colors and the big advantages of these displays is the very low power consumption which makes them useful for IoT projects or projects that uses solar or wind power….

So the project today is to interface this module with Arduino compatible board, so we can display a monochromatic image/picture on it, the only downside of this module specifically is the lack of library, it has a lot of potential but for the moment it can’t be used to display text, values, little icons… I hope the manufacturer provides one.

Parts

Parts needed are only a Arduino compatible board, here I used a Seeeduino Nano, the Display and a few jumpwires…

IMG_0198_1.jpg
😀

Wiring

Please note that for Nano/Uno… boards you need to unplug the TX/RX pins before uploading the code to the board unlike Mega…

Wiring
The display uses UART interface

A Grove base shield would be very practical but jump wires can do the work too.

Test 1

The first test can be done without any code, just wire the GND/5V and power the board.

acdf.gif
It displays the Seeed Studio animation and logo, it’s within the firmware

Test 2

In the second test, you can now start uploading a code, it’s better to try with an example.
You can download the code from this Github link.

adfr.gif
It may look the same as the firmware version but it’s not

P.S: Don’t forget to unplug the RX/TX before uploading the code.

Test 3

Now we can start creating our own pictures to display, first consider that the code downloaded before (Eink_factory_code_213.ino) is your base, and you can modify it to display your pictures.

Step 1: Prepare a picture with 104*212 as dimensions, for example:

téléchargement
Why not 😀

Step 2: Go to github.com/makerbase-mks/Software/tree/master/Image2LCD and download the .rar file -> Extract -> Open the folder -> launch the software.

Pic1

 

Step 3: Open a picture -> set the width and height -> Set your parameters (the ones in the picture worked well). Here you can set the mirroring or color reverse…

Pic 2.jpg

 

Step 4: Press save, you’ll end up with a .txt file, copy the whole array you can start right after ‘{‘ until before ‘}’, if you copied the name too you should modify it in the code

Pic 3

Step 5: Paste this array in the code, first you can paste it in both:

“const unsigned char IMAGE_BLACK[]” and “const unsigned char IMAGE_Red[]”
Don’t forget to paste it the same way you copied right after ‘{‘ to before ‘}’

Pic 4.jpg

Step 6: If you want to play more with the 3 colors you can check this table from The product wiki

Pic 5.jpg
Courtesy of Seeed Studio

Also if you need a “FF” or “00” arrays they already prepared them for you:

So now combine the pictures arrays from Image2LCD and the backgroud codes to get you pictures with colors you want

Result

IMG_0197_3

Thanks to the sponsors

IMG_0196_2

Yassine View All

Electronics, Automation engineering student... I try to share my little experience with other electronics amateur.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: