1.54" Monochrome 200x200 Pixel Display
For the 200 x 200 monochrome display we will run a monochrome demo.

Open up File→Examples→Adafruit_EPD→ThinkInk_mono
1.54" Tri-Color 152x152 OR 200x200 Pixel Display
For the 152x152 OR 200x200 Tri-Color display, we will run the tricolor demo.

Open up File→Examples→Adafruit_EPD→ThinkInk_tricolor
Configure Pins
No matter what display you have, you will need to verify that your pins match your wiring. At the top of the sketch find the lines that look like:
#define EPD_DC 10 #define EPD_CS 9 #define SRAM_CS 6 #define EPD_RESET 8 // can set to -1 and share with microcontroller Reset! #define EPD_BUSY 7 // can set to -1 to not use a pin (will wait a fixed delay)
If you wired the display differently than on the wiring page, adjust the pin numbers accordingly.
Configure Display Type & Size
Find the part of the script where you can pick which display is going to be used. The eInk displays are made up a combination of a Chipset and a Film in different sizes. We have narrowed it down to just a few choices between the size of the display, chipset, and film based on available combinations. In the sketch, we have sorted it by size, so it's easy to find your display.
You will need to uncomment the appropriate initializer and and leave any other type commented.
For the 1.54" 200x200 Monochrome breakout you will use ThinkInk_154_Mono_D27
display initializer.
For the 1.54" 152x152 Tri-Color breakout, you will use the ThinkInk_154_Tricolor_Z17
display initializer.
For the 1.54" 200x200 Tri-Color breakout, you will use the ThinkInk_154_Tricolor_Z90
display initializer.
For example, for the monochrome 200x200, uncomment this line, and comment any other line that is creating a ThinkInk display object
// 1.54" Monochrome displays with 200x200 pixels and SSD1608 chipset ThinkInk_154_Mono_D27 display(EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
Upload Sketch
Go ahead and upload the sketch to your board. Once it is done uploading, open the Serial Monitor.
The display should start running a series of monochrome tests
Page last edited March 08, 2024
Text editor powered by tinymce.