The Adafruit 2.13in Monochrome eInk Display is a compact electronic paper display module, known for its ultra-low power consumption and paper-like readability under direct sunlight. This display is perfect for applications where power efficiency is paramount, such as wearable devices, e-readers, and IoT devices that require a user interface without the power demands of a traditional LCD or OLED screen.
Pin Number | Name | Description |
---|---|---|
1 | GND | Ground |
2 | 3V3 | 3.3V Power |
3 | CLK | SPI Clock |
4 | MOSI | SPI Data In |
5 | CS | Chip Select |
6 | DC | Data/Command Control |
7 | RST | Reset |
8 | BUSY | Busy State Output |
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Adafruit_EPD.h>
#define EPD_CS 10
#define EPD_DC 9
#define EPD_RST 8
#define EPD_BUSY 7
#define SRAM_CS 6
#define EPD_MOSI 11
#define EPD_CLK 13
// Create an instance of the display
Adafruit_SSD1675B display(122, 250, EPD_MOSI, EPD_CLK, EPD_DC, EPD_RST, EPD_CS, SRAM_CS, EPD_BUSY);
void setup() {
display.begin(); // Initialize the display
display.clearBuffer(); // Clear the buffer
display.display(); // Refresh the display
display.setTextSize(1); // Set the text size
display.setTextColor(EPD_BLACK); // Set the text color
display.setCursor(0,0); // Set the cursor position
display.print("Hello, eInk!"); // Print text to the buffer
display.display(); // Refresh the display to show the text
}
void loop() {
// Nothing to do here
}
Ensure that the Adafruit GFX and EPD libraries are installed in your Arduino IDE before uploading this sketch. This code initializes the display, clears the buffer, and prints "Hello, eInk!" on the screen.
Q: Can the display show grayscale images? A: No, this display is strictly monochrome, capable of showing black and white pixels only.
Q: How do I update only a part of the display? A: The Adafruit GFX library supports partial updates. Refer to the library documentation for functions that allow updating specific areas of the screen.
Q: Is the display sunlight-readable? A: Yes, eInk displays are known for their excellent readability in direct sunlight.
Q: How long does the image last on the display after power is removed? A: eInk displays are bistable, meaning the image can persist indefinitely without power, although it may fade over time.
For further assistance, refer to the Adafruit Learning System and the community forums for additional resources and support.