
| 参数名称 | 参数 |
|---|---|
| 工作电压 | 裸屏版:3.3V 模块版:3.3V/5V |
| 通信接口 | 3-wire SPI、4-wire SPI |
| 外形尺寸 | 裸屏版:126.38 × 71.19 × 0.795 mm 模块版:30.5 × 65mm |
| 显示尺寸 | 110.592 × 62.652 mm |
| 点距 | 0.1833 × 0.1833 mm |
| 分辨率 | 960 × 552pixels |
| 显示颜色 | 黑、白 |
| 灰度等级 | 2 |
| 局部刷新 | 0.7 |
| 全局刷新 | 1.8s |
| 刷新功耗 | < 50mW |
| 休眠电流 | < 0.01uA (接近 0) |
| 可视角度 | > 170° |
| 工作温度 | 0 ~ 50 ℃ |
| 存储温度 | -25 ~ 60 ℃ |

本产品使用的电子纸采用“微胶囊电泳显示”技术进行图像显示,其基本原理是悬浮在液体中的带电纳米粒子受到电场作用而产生迁移。电子纸显示屏是靠反射环境光来显示图案的,不需要背光,在环境光下,电子纸显示屏清晰可视,可视角度几乎达到了 180°。因此,电子纸显示屏非常适合阅读。


| e-Paper | 树莓派连接引脚对应关系 | |
|---|---|---|
| BCM2835 编码 | Board 物理引脚序号 | |
| VCC | 3.3V | 3.3V |
| GND | GND | GND |
| DIN | MOSI | 19 |
| CLK | SCLK | 23 |
| CS | CE0 | 24 |
| DC | 25 | 22 |
| RST | 17 | 11 |
| BUSY | 24 | 18 |
| PWR | 18 | 12 |
打开树莓派终端,输入以下指令进入配置界面:
sudo raspi-config
选择 Interfacing Options -> SPI -> Yes 开启 SPI 接口

重启树莓派:
sudo reboot
检查 /boot/config.txt ,可以看到 dtparam=spi=on 已被写入

为了确保 SPI 没有被占用,建议其他的驱动覆盖暂时先关闭。可以使用 ls /dev/spi* 来检查 SPI 占用情况,终端输出 /dev/spidev0.0 和 /dev/spidev0.1 表示 SPI 情况正常

安装 lg 库
#打开树莓派终端,并运行以下指令:
wget https://github.com/joan2937/lg/archive/master.zip
unzip master.zip
cd lg-master
make
sudo make install
# 更多的可以参考源码:https://github.com/gpiozero/lg
#打开树莓派终端,并运行以下指令:
sudo apt-get update
sudo apt install gpiod libgpiod-dev
#打开树莓派终端,并运行以下指令:
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
# 更多的可以参考官网:http://www.airspayce.com/mikem/bcm2835/
#打开树莓派终端,并运行以下指令:
sudo apt-get install wiringpi
#对于树莓派 2019 年 5 月之后的系统(早于之前的可不用执行),可能需要进行升级:
# project-downloads.drogon.net 已停止服务,请使用下面的 GitHub 方式安装
# wget https://project-downloads.drogon.net/wiringpi-latest.deb
# sudo dpkg -i wiringpi-latest.deb
gpio -v
# 运行 gpio -v 会出现 2.52 版本,如果没有出现,说明安装出错。
#Bullseye 分支系统使用如下命令:
git clone https://github.com/WiringPi/WiringPi
cd WiringPi
./build
gpio -v
# 运行 gpio -v 会出现 2.60 版本,如果没有出现,说明安装出错。
下载程序(已下载可跳过)
wget https://www.waveshare.net/w/upload/2/2d/5inch_e-Paper.zip
unzip 5inch_e-Paper.zip -d 5inch_e-Paper
cd 5inch_e-Paper/RaspberryPi_JetsonNano/
git clone https://github.com/waveshare/e-Paper.git
cd e-Paper/E-paper_Separate_Program/5inch_e-Paper/RaspberryPi_JetsonNano
sudo apt-get install p7zip-full
7z x 5inch_e-Paper.zip -O./5inch_e-Paper
cd 5inch_e-Paper/RaspberryPi_JetsonNano/
编译程序(说明:-j4 为使用 4 线程编译,数字可自行修改;)
# 此时在 5inch_e-Paper/RaspberryPi_JetsonNano 位置
cd c
sudo make clean
sudo make -j4
运行程序
sudo ./epd
安装函数库
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
下载程序(已下载可跳过)
wget https://www.waveshare.net/w/upload/2/2d/5inch_e-Paper.zip
unzip 5inch_e-Paper.zip -d 5inch_e-Paper
cd 5inch_e-Paper/RaspberryPi_JetsonNano/
sudo apt-get install p7zip-full
7z x 5inch_e-Paper.zip -O./5inch_e-Paper
cd 5inch_e-Paper/RaspberryPi_JetsonNano/
git clone https://github.com/waveshare/e-Paper.git
cd e-Paper/E-paper_Separate_Program/5inch_e-Paper/RaspberryPi_JetsonNano
运行程序
# 确保在 5inch_e-Paper/RaspberryPi_JetsonNano/ 位置
cd python/examples/
python3 epd_5in0_test.py| e-Paper | Arduino UNO | Mega2560 |
|---|---|---|
| VCC | 5V | 5V |
| GND | GND | GND |
| DIN | D11 | D51 |
| CLK | D13 | D52 |
| CS | D10 | D10 |
| DC | D9 | D9 |
| RST | D8 | D8 |
| BUSY | D7 | D7 |
| PWR | D6 | D6 |
5inch_e-Paper 目录可以看到下面的内容
5inch_e-Paper\Arduino_R4\Arduino_R4.ino


Jetson Nano 的 40PIN 引脚是兼容树莓派的 40PIN 引脚的,并且提供了一个 Jetson.GPIO 库跟树莓派的 RPI.GPIO 库的 API 是一致的,所以这里连接的序号跟树莓派的是一样的,使用 40PIN 接口时,可以直接将模块插入 Jetson Nano 的 40Pin 排座。
如果是选择用 9PIN 排线连接的话,请参考下方的引脚对应表格:
Jetson nano连接引脚对应关系
| e-Paper | Jetson Nano Developer Kit | |
|---|---|---|
| BCM2835 编码 | Board 物理引脚序号 | |
| VCC | 3.3V | 3.3V |
| 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 |
下载程序(已下载可跳过)
wget https://www.waveshare.net/w/upload/2/2d/5inch_e-Paper.zip
unzip 5inch_e-Paper.zip -d 5inch_e-Paper
cd 5inch_e-Paper/RaspberryPi_JetsonNano/
sudo apt-get install p7zip-full
7z x 5inch_e-Paper.zip -O./5inch_e-Paper
cd 5inch_e-Paper/RaspberryPi_JetsonNano/
git clone https://github.com/waveshare/e-Paper.git
cd e-Paper/E-paper_Separate_Program/5inch_e-Paper/E-RaspberryPi_JetsonNano
编译程序(说明:-j4 为使用 4 线程编译,数字可自行修改;)
# 此时在 5inch_e-Paper/RaspberryPi_JetsonNano 位置
cd c
sudo make clean
sudo make JETSON -j4
运行程序
sudo ./epd
安装函数库
sudo apt-get update
sudo apt-get install python3-numpy
sudo apt-get install python3-pip
sudo pip3 install Jetson.GPIO
下载程序(已下载可跳过)
wget https://www.waveshare.net/w/upload/2/2d/5inch_e-Paper.zip
unzip 5inch_e-Paper.zip -d 5inch_e-Paper
cd 5inch_e-Paper/RaspberryPi_JetsonNano/
sudo apt-get install p7zip-full
7z x 5inch_e-Paper.zip -O./5inch_e-Paper
cd 5inch_e-Paper/RaspberryPi_JetsonNano/
git clone https://github.com/waveshare/e-Paper.git
cd e-Paper/E-paper_Separate_Program/5inch_e-Paper/E-RaspberryPi_JetsonNano
运行程序
# 确保在 5inch_e-Paper/RaspberryPi_JetsonNano/ 位置
cd python/examples/
python3 epd_5in0_test.py使用 9PIN 排线连接,请参考下方的引脚对应表格:
STM32 连接引脚对应关系
| e-Paper | STM32 |
|---|---|
| VCC | 3.3V |
| GND | GND |
| DIN | PA7 |
| CLK | PA5 |
| CS | PA4 |
| DC | PA2 |
| RST | PA1 |
| BUSY | PA3 |
| PWR | PA6 |
5inch_e-Paper 目录可以看到下面的内容


ESP32 连接引脚对应关系
| e-Paper | ESP32 | ESP32-S3 |
|---|---|---|
| VCC | 3.3V | 3.3V |
| GND | GND | GND |
| DIN | IO14 | IO11 |
| CLK | IO13 | IO12 |
| CS | IO15 | IO10 |
| DC | IO27 | IO13 |
| RST | IO26 | IO14 |
| BUSY | IO25 | IO4 |
| PWR | IO33 | IO5 |
在线安装需要使用翻墙软件,离线安装则无需使用
5inch_e_Paper 目录可以看到下面的内容
5inch_e-Paper\ESP32\ESP32.ino 或者 5inch_e-Paper\ESP32\ESP32-S3.ino




驱动板设计文件
开发资料:
相关链接:
周一-周五(9:30-6:30)周六(9:30-5:30)
手机:13434470212
邮箱:services04@spotpear.cn
QQ:202004841
