Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Adafruit 2.13in Monochrome E-Ink Bonnet: Examples, Pinouts, and Specs

Image of Adafruit 2.13in Monochrome E-Ink Bonnet
Cirkit Designer LogoDesign with Adafruit 2.13in Monochrome E-Ink Bonnet in Cirkit Designer

Introduction

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.

Explore Projects Built with Adafruit 2.13in Monochrome E-Ink Bonnet

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32-C3 Battery-Powered Weather Station with E-Ink Display
Image of Micro Final Project: A project utilizing Adafruit 2.13in Monochrome E-Ink Bonnet in a practical application
This circuit is a battery-powered weather station using an ESP32-C3 microcontroller, an E-Ink display, and two climate sensors (AHT21 and BMP280). It measures temperature, humidity, and pressure, displaying the data on the E-Ink screen, with a pushbutton to toggle between metric and imperial units.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi 4B-Based Multi-Sensor Interface Hub with GPS and GSM
Image of Rocket: A project utilizing Adafruit 2.13in Monochrome E-Ink Bonnet in a practical application
This circuit features a Raspberry Pi 4B interfaced with an IMX296 color global shutter camera, a Neo 6M GPS module, an Adafruit BMP388 barometric pressure sensor, an MPU-6050 accelerometer/gyroscope, and a Sim800l GSM module for cellular connectivity. Power management is handled by an MT3608 boost converter, which steps up the voltage from a Lipo battery, with a resettable fuse PTC and a 1N4007 diode for protection. The Adafruit Perma-Proto HAT is used for organizing connections and interfacing the sensors and modules with the Raspberry Pi via I2C and GPIO pins.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Smart Display with OLED, LED, and Buzzer
Image of EXP2: A project utilizing Adafruit 2.13in Monochrome E-Ink Bonnet in a practical application
This circuit features an ESP32 microcontroller that drives a 0.96" OLED display, a red LED, and a piezo buzzer. The ESP32 displays scrolling text and a bitmap on the OLED, controls the LED, and generates a tone on the buzzer, providing a simple interactive display and alert system.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32 Devkit V1 and OLED Display Bitmap Viewer
Image of Esp32_monochromeimage: A project utilizing Adafruit 2.13in Monochrome E-Ink Bonnet in a practical application
This circuit consists of an ESP32 Devkit V1 microcontroller connected to a 1.3" OLED display via I2C communication. The ESP32 initializes the OLED display and renders a predefined bitmap image on it.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Adafruit 2.13in Monochrome E-Ink Bonnet

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Micro Final Project: A project utilizing Adafruit 2.13in Monochrome E-Ink Bonnet in a practical application
ESP32-C3 Battery-Powered Weather Station with E-Ink Display
This circuit is a battery-powered weather station using an ESP32-C3 microcontroller, an E-Ink display, and two climate sensors (AHT21 and BMP280). It measures temperature, humidity, and pressure, displaying the data on the E-Ink screen, with a pushbutton to toggle between metric and imperial units.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Rocket: A project utilizing Adafruit 2.13in Monochrome E-Ink Bonnet in a practical application
Raspberry Pi 4B-Based Multi-Sensor Interface Hub with GPS and GSM
This circuit features a Raspberry Pi 4B interfaced with an IMX296 color global shutter camera, a Neo 6M GPS module, an Adafruit BMP388 barometric pressure sensor, an MPU-6050 accelerometer/gyroscope, and a Sim800l GSM module for cellular connectivity. Power management is handled by an MT3608 boost converter, which steps up the voltage from a Lipo battery, with a resettable fuse PTC and a 1N4007 diode for protection. The Adafruit Perma-Proto HAT is used for organizing connections and interfacing the sensors and modules with the Raspberry Pi via I2C and GPIO pins.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of EXP2: A project utilizing Adafruit 2.13in Monochrome E-Ink Bonnet in a practical application
ESP32-Based Smart Display with OLED, LED, and Buzzer
This circuit features an ESP32 microcontroller that drives a 0.96" OLED display, a red LED, and a piezo buzzer. The ESP32 displays scrolling text and a bitmap on the OLED, controls the LED, and generates a tone on the buzzer, providing a simple interactive display and alert system.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Esp32_monochromeimage: A project utilizing Adafruit 2.13in Monochrome E-Ink Bonnet in a practical application
ESP32 Devkit V1 and OLED Display Bitmap Viewer
This circuit consists of an ESP32 Devkit V1 microcontroller connected to a 1.3" OLED display via I2C communication. The ESP32 initializes the OLED display and renders a predefined bitmap image on it.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

Key Technical Details

  • Display Type: E-Ink monochrome display
  • Resolution: 212 x 104 pixels
  • Display Size: 2.13 inches diagonal
  • Interface: SPI
  • Operating Voltage: 3.3V
  • Dimensions: 65mm x 30.5mm x 6.8mm

Pin Configuration and Descriptions

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

Usage Instructions

Integration with Raspberry Pi

  1. Hardware Setup:

    • Align the Bonnet's GPIO connector with the Raspberry Pi's GPIO header and press down to connect.
    • Ensure the Pi is powered off before connecting the Bonnet to prevent any electrical damage.
  2. Software Configuration:

    • Install the necessary libraries for the E-Ink display by running the following commands in the terminal:
      sudo pip3 install adafruit-circuitpython-epd
      sudo apt-get install python3-pil
      
    • Enable SPI using raspi-config:
      sudo raspi-config
      
      Navigate to Interfacing Options > SPI and enable it.
  3. Displaying Content:

    • Use the Adafruit CircuitPython EPD library to control the display.
    • Create a Python script to initialize the display and draw text or images.

Example Python Script

import digitalio
import board
from PIL import Image, ImageDraw, ImageFont
import adafruit_epd.epd as epd

Initialize the display

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()

Clear the display buffer

display.clear_buffer()

Create a blank image for drawing

width = display.width height = display.height image = Image.new('1', (width, height), 255) draw = ImageDraw.Draw(image)

Draw some text

font = ImageFont.load_default() draw.text((10, 10), 'Hello, E-Ink!', font=font, fill=0)

Display the image

display.image(image) display.display()


Important Considerations and Best Practices

  • Power Consumption: The E-Ink display consumes power only when updating the display content. To conserve power, update the display only when necessary.
  • Partial Refresh: The display supports partial refresh, which can be used to update only a portion of the screen.
  • Image Preparation: When preparing images for the display, ensure they are monochrome (1-bit) and match the display's resolution.

Troubleshooting and FAQs

Common Issues

  • Display Not Updating:

    • Ensure the SPI interface is enabled on the Raspberry Pi.
    • Check the wiring and pin connections.
    • Verify that the correct GPIO pins are being used in the script.
  • Image Quality Issues:

    • Confirm that images are in the correct format (monochrome) and resolution.
    • Use dithering to improve the appearance of grayscale images.

Solutions and Tips for Troubleshooting

  • SPI Communication Errors:

    • Run ls /dev/spi* to check if SPI devices are available.
    • If not, reconfigure SPI settings using raspi-config.
  • Display is Blank:

    • Ensure the display is properly initialized in the script.
    • Check that the power supply is adequate and stable.

FAQs

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.