The Adafruit 2.13in Monochrome E-Ink Bonnet is a high-contrast, low-power display module designed for use with the Raspberry Pi. This E-Ink or electronic paper display (EPD) is ideal for applications where a simple, clear display is needed without the power consumption of a traditional LCD. Common applications include e-readers, signage, shelf labels, and any project where the display content changes infrequently.
Pin Number | Name | Description |
---|---|---|
1 | GND | Ground |
2 | 3V3 | 3.3V Power |
3 | SCK | SPI Clock |
4 | MOSI | SPI Master Out Slave In |
5 | CS | SPI Chip Select |
6 | DC | Data/Command control pin |
7 | RST | Reset pin |
8 | BUSY | Busy state output pin |
Hardware Setup:
Software Configuration:
sudo pip3 install adafruit-circuitpython-epd
sudo apt-get install python3-pil
raspi-config
:sudo raspi-config
Navigate to Interfacing Options
> SPI
and enable it.Displaying Content:
import digitalio
import board
from PIL import Image, ImageDraw, ImageFont
import adafruit_epd.epd as epd
spi = board.SPI() ecs = digitalio.DigitalInOut(board.CE0) dc = digitalio.DigitalInOut(board.D22) rst = digitalio.DigitalInOut(board.D27) busy = digitalio.DigitalInOut(board.D17)
display = epd.EPD(spi, ecs, dc, rst, busy) display.begin()
display.clear_buffer()
width = display.width height = display.height image = Image.new('1', (width, height), 255) draw = ImageDraw.Draw(image)
font = ImageFont.load_default() draw.text((10, 10), 'Hello, E-Ink!', font=font, fill=0)
display.image(image) display.display()
Display Not Updating:
Image Quality Issues:
SPI Communication Errors:
ls /dev/spi*
to check if SPI devices are available.raspi-config
.Display is Blank:
Q: Can the display show grayscale images? A: No, the display is monochrome and can only show black and white pixels.
Q: How do I update only part of the display? A: Use the partial update functions provided by the Adafruit CircuitPython EPD library.
Q: Is the E-Ink Bonnet compatible with all Raspberry Pi models? A: It is compatible with any Raspberry Pi model that has a 40-pin GPIO header.
Q: How long does the display content remain visible after power is removed? A: The E-Ink display will retain the last image shown indefinitely without power.
For further assistance, consult the Adafruit support forums or the CircuitPython EPD library documentation.