模板: E-paper for SunriseX3 use 3in6e
来自Waveshare Wiki
Sunrise X3 Pi
硬件连接
连接旭日派的时候,可以直接将板子插到旭日派的 40PIN 排针上去,注意对好引脚。
如果是选择用 9PIN 排线连接的话,请参考下方的引脚对应表格:
| e-Paper | Sunrise X3 Pi | |
| BCM编码 | 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 |
开启SPI
运行python程序
- 对应的库在函数中已安装完成,如果不小心卸载,请使用下面的命令进行安装
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 Hobot.GPIO sudo pip install spidev
- 下载程序(已下载可跳过)
wget https://www.waveshare.net/w/upload/4/48/3.6inch_e-Paper_E.zip unzip 3.6inch_e-Paper_E.zip -d 3.6inch_e-Paper_E cd 3.6inch_e-Paper_E/RaspberryPi_JetsonNano/
- 备用解压方式
sudo apt-get install p7zip-full 7z x 3.6inch_e-Paper_E.zip -O./3.6inch_e-Paper_E cd 3.6inch_e-Paper_E/RaspberryPi_JetsonNano/
- 运行程序
# 确保在 3.6inch_e-Paper_E/RaspberryPi_JetsonNano/ 位置 cd python/examples/ python3 epd_3in6e_test.py


