Google Chat:---
+86-0755-88291180
sales@spotpear.com
dragon_manager@163.com
tech-support@spotpear.com
zhoujie@spotpear.com
WhatsApp:13246739196
WhatsApp:13424403025

| Parameter name | Value |
|---|---|
| Operating voltage | Raw display: 3.3 V; Module: 3.3 V / 5 V |
| Communication interface | 3-wire SPI, 4-wire SPI |
| Outline dimensions | Raw display: 30.60 × 27.60 × 1.00 mm; Module: 32.50 × 29.50 mm |
| Display area | 22.91 × 21.00 mm |
| Dot pitch | 0.1193 × 0.1193 mm |
| Resolution | 192 × 176 pixels |
| Display color | Black, white |
| Grayscale levels | 4 |
| Partial refresh | 0.6 s |
| Full refresh | 2.4 s |
| Refresh power consumption | <10 mW |
| Sleep current | <1 μA |
| Viewing angle | >170° |
| Operating temperature | 0 to 50 ℃ |
| Storage temperature | -25 to 70 ℃ |

The e-paper used in this product displays images with "microcapsule electrophoretic display" technology. Its basic principle is that charged nanoparticles suspended in a liquid migrate under the action of an electric field. An e-paper display shows patterns by reflecting ambient light and needs no backlight; under ambient light it is clearly visible, with a viewing angle of nearly 180°.
The following describes the pixel data arrangement using a black-and-white binary image; for the 4-level grayscale data encoding, refer to the corresponding example program.
For a black-and-white binary image, 0 can represent black and 1 can represent white:
A dot in a graphic is generally called a pixel, and since the color is either 1 or 0, one bit can represent the color: 1Pixel = 1bit, so one byte contains 8 pixels.
Taking 16 pixels as an example, assume the first 8 pixels are black and the last 8 are white; then pixels 1-16 correspond to bits 0 to 15, where 0 means black and 1 means white:

The black-and-white bitmap examples below are arranged most significant bit first and least significant bit last, with each byte containing 8 bits:

In this way, only 2 bytes are needed to represent 16 pixels.
We recommend testing the screen with the example programs we provide on the corresponding development board first.


| e-Paper | Raspberry Pi pin mapping | |
|---|---|---|
| BCM2835 name | Board physical pin number | |
| VCC | 3.3 V | 3.3 V |
| GND | GND | GND |
| DIN | MOSI | 19 |
| CLK | SCLK | 23 |
| CS | CE0 | 24 |
| DC | 25 | 22 |
| RST | 17 | 11 |
| BUSY | 24 | 18 |
| PWR | 18 | 12 |
Open the Raspberry Pi terminal and enter the following command to open the configuration interface:
sudo raspi-config
Select Interfacing Options -> SPI -> Yes to enable the SPI interface

Restart the Raspberry Pi:
sudo reboot
Check /boot/config.txt; dtparam=spi=on can be seen to have been written

To make sure SPI is not occupied, it is recommended to temporarily disable other driver overlays. You can use ls /dev/spi* to check the SPI occupation; if the terminal outputs /dev/spidev0.0 and /dev/spidev0.1, SPI is in the normal state

Install the lg library
#Open the Raspberry Pi terminal and run the following commands:
wget https://github.com/joan2937/lg/archive/master.zip
unzip master.zip
cd lg-master
make
sudo make install
# For more, refer to the source: https://github.com/gpiozero/lg
#Open the Raspberry Pi terminal and run the following commands:
sudo apt-get update
sudo apt install gpiod libgpiod-dev
#Open the Raspberry Pi terminal and run the following commands:
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.71.tar.gz
tar zxvf bcm2835-1.71.tar.gz
cd bcm2835-1.71/
sudo ./configure && sudo make && sudo make check && sudo make install
# For more, refer to the official website: http://www.airspayce.com/mikem/bcm2835/
#Open the Raspberry Pi terminal and run the following commands:
sudo apt-get install wiringpi
# For Raspberry Pi systems released after May 2019 (not needed on earlier ones), an upgrade may be required:
# project-downloads.drogon.net has stopped serving; install it with the GitHub method below
# wget https://project-downloads.drogon.net/wiringpi-latest.deb
# sudo dpkg -i wiringpi-latest.deb
gpio -v
# Running gpio -v shows version 2.52; if it does not appear, the installation failed.
#For Bullseye branch systems, use the following commands:
git clone https://github.com/WiringPi/WiringPi
cd WiringPi
./build
gpio -v
# Running gpio -v shows version 2.60; if it does not appear, the installation failed.
Clone the example repository from GitHub and enter the shared example directory. If the repository is already cloned, skip only the git clone command.
git clone https://github.com/waveshareteam/1.22inch_e-Paper.git
cd 1.22inch_e-Paper/example/RaspberryPi_JetsonNano/
Compile the program (note: -j4 compiles with 4 threads; the number can be changed as needed;)
# The current location is 1.22inch_e-Paper/example/RaspberryPi_JetsonNano
cd c
sudo make clean
sudo make -j4
Run the program
sudo ./epd
Install the libraries
sudo apt-get update
sudo apt-get install python3-pip
sudo apt-get install python3-pil
sudo apt-get install python3-numpy
sudo pip3 install spidev
sudo apt-get update
sudo apt-get install python-pip
sudo apt-get install python-pil
sudo apt-get install python-numpy
sudo pip install spidev
sudo apt-get update
# python3
sudo apt install python3-gpiozero
# python2
sudo apt install python-gpiozero
Clone the example repository from GitHub and enter the shared example directory. If the repository is already cloned, skip only the git clone command.
git clone https://github.com/waveshareteam/1.22inch_e-Paper.git
cd 1.22inch_e-Paper/example/RaspberryPi_JetsonNano/
Run the program
# Make sure the current location is 1.22inch_e-Paper/example/RaspberryPi_JetsonNano/
cd python/examples/
python3 epd_1in22_test.pyConnect with a 9PIN ribbon cable, wiring according to the pin mapping table below:
| e-Paper | Arduino UNO | Mega2560 |
|---|---|---|
| VCC | 3.3 V | 3.3 V |
| GND | GND | GND |
| DIN | D11 | D51 |
| CLK | D13 | D52 |
| CS | D10 | D10 |
| DC | D9 | D9 |
| RST | D8 | D8 |
| BUSY | D7 | D7 |
| PWR | D6 | D6 |
Arduino IDE Windows installation tutorial
Download the program from 1.22inch_e-Paper example programs, extract it, and enter the 1.22inch_e-Paper directory; the contents are shown below.

Open the test program: 1.22inch_e-Paper\example\Arduino_R4\Arduino_R4.ino

Select the corresponding "Board" and "Port" in the Arduino IDE "Tools" menu.

Finally, click Upload; a successful upload looks like this (Arduino 1.8.13)

If you choose to connect with a 9PIN ribbon cable, refer to the pin mapping table below:
Jetson nano pin mapping
| e-Paper | Jetson Nano Developer Kit | |
|---|---|---|
| BCM2835 name | Board physical pin number | |
| VCC | 3.3 V | 3.3 V |
| GND | GND | GND |
| DIN | 10(SPI0_MOSI) | 19 |
| CLK | 11(SPI0_SCK) | 23 |
| CS | 8(SPI0_CS0) | 24 |
| DC | 25 | 22 |
| RST | 17 | 11 |
| BUSY | 24 | 18 |
| PWR | 18 | 12 |
Clone the example repository from GitHub and enter the shared example directory. If the repository is already cloned, skip only the git clone command.
git clone https://github.com/waveshareteam/1.22inch_e-Paper.git
cd 1.22inch_e-Paper/example/RaspberryPi_JetsonNano/
Compile the program (note: -j4 compiles with 4 threads; the number can be changed as needed;)
# The current location is 1.22inch_e-Paper/example/RaspberryPi_JetsonNano
cd c
sudo make clean
sudo make JETSON -j4
Run the program
sudo ./epd
Install the libraries
sudo apt-get update
sudo apt-get install python3-numpy
sudo apt-get install python3-pip python3-pil
sudo pip3 install Jetson.GPIO spidev
Clone the example repository from GitHub and enter the shared example directory. If the repository is already cloned, skip only the git clone command.
git clone https://github.com/waveshareteam/1.22inch_e-Paper.git
cd 1.22inch_e-Paper/example/RaspberryPi_JetsonNano/
Run the program
# Make sure the current location is 1.22inch_e-Paper/example/RaspberryPi_JetsonNano/
cd python/examples/
python3 epd_1in22_test.pyConnect with a 9PIN ribbon cable; refer to the pin mapping table below:
STM32 pin mapping
| e-Paper | STM32 |
|---|---|
| VCC | 3.3 V |
| GND | GND |
| DIN | PA7 |
| CLK | PA5 |
| CS | PA4 |
| DC | PA2 |
| RST | PA1 |
| BUSY | PA3 |
| PWR | PA6 |
Download the program from 1.22inch_e-Paper example programs, extract it, and enter the 1.22inch_e-Paper directory.

Open 1.22inch_e-Paper\example\STM32-F103ZET6\MDK-ARM\epd-demo.uvprojx with Keil.
Open the Keil build toolbar (usually already open)

Click Build.

Make sure a suitable programmer is connected, then click Download (LOAD) to program the MCU
ESP32 pin mapping
| e-Paper | ESP32 | ESP32-S3 |
|---|---|---|
| VCC | 3.3 V | 3.3 V |
| GND | GND | GND |
| DIN | IO14 | IO11 |
| CLK | IO13 | IO12 |
| CS | IO15 | IO10 |
| DC | IO27 | IO13 |
| RST | IO26 | IO14 |
| BUSY | IO25 | IO4 |
| PWR | IO33 | IO5 |
Online installation requires access to the corresponding software source.
Download the program from 1.22inch_e-Paper example programs, extract it, and enter the 1.22inch_e-Paper directory.

Open the test program: 1.22inch_e-Paper\example\ESP32\ESP32.ino or 1.22inch_e-Paper\example\ESP32-S3\ESP32-S3.ino


Select the corresponding "Board" and "Port" in the Arduino IDE "Tools" menu.

If the ESP32-S3 board you use has PSRAM, enable the corresponding PSRAM option in the board settings.

Finally, click Upload; a successful upload looks like this (Arduino 2.2.1)

Monday-Friday (9:30-6:30) Saturday (9:30-5:30)
Email: services01@spotpear.com