Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
Size | 3.7inch |
Driver Board Size | 96.00mm × 57.00mm |
Display Size | 81.54mm × 47.04mm |
Outline Dimensions | 92.99mm × 53.00mm × 1.00mm |
Operating Voltage | 3.3V / 5V (IO level voltage should be the same as the supply voltage) |
Communication Interface | SPI |
Dot Pitch | 0.196mm × 0.196mm |
Resolution | 416 × 240 |
Display Color | Red, Yellow, Black, White |
Grayscale | 2 |
Fast Refresh Time | 12s |
Refresh Time | 20s |
Total Refresh Power | <30mW(typ.) |
Operating Temperature | 0 ~ 40 ℃ |
Storage Temperature | -25 ~ 70 ℃ |
CSB (CS): Slave chip select signal, active at low level. When it is at low level, the chip is enabled.
SCL (SCK/SCLK): Serial clock signal.
D/C (DC): Data/command control signal, write command (Command) when the level is low; write data (Data/parameter) when the level is high.
SDA (DIN): Serial data signal.
Timing: CPHL=0, CPOL=0, i.e. SPI mode 0.
Note: For specific information about SPI communication, you can search for information online on your own.
The e-paper used in this product uses "microcapsule electrophoresis display" technology for image display. The basic principle is that charged nanoparticles suspended in a liquid migrate under the action of an electric field. The e-paper display screen displays patterns by reflecting ambient light and does not require a backlight. Under ambient light, the e-paper display screen is clearly visible, with a viewing angle of almost 180°. Therefore, e-paper displays are ideal for reading.
For four-color e-Paper ink screen, we can refer to grayscale images with four tones for understanding, though there are still some differences.
To save memory space, the ink screen compresses the pixels:
Black: corresponds to 00b
White: corresponds to 01b
Yellow: corresponds to 10b
Red: corresponds to 11b
Let's take 4 pixels as an example:
pixel | 1 | 2 | 3 | 4 | ||||
bit | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Stored data | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 |
Color | Black | White | Yellow | Red | ||||
byte | 0x1B |
Writing data 0x1B to register 0x10 sets four pixels on the ink screen to black, white, yellow, and red colors respectively
Picture production and conversion of multi-color e-Paper
Softwares required: Adobe PhotoShop CC, Paint
Preparation: Download Color table to your PC, and extract it to get the following files, we need to use N-color.act or 4-color.act, 6-color.act.
1. Create a new Photoshop project, set the width and height according to the actual resolution of the e-Papre screen, and use RGB color in the color mode. If the screen resolution used is 800*480, change the width to 800 pixels and the height to 480 pixels.
2. Prepare the corresponding materials, copy them into the project, and adjust parameters such as size and contrast (similar to the steps involved in general Photoshop image processing).
3. Select File -> Save for Web in the format used for the Web and device.
4. Select Load Color Table as shown below. Load the Color table provided in the Preparation section.
5. For seven-color pictures, load N-color.act, then click Save to save as a gif file. It is then converted to BMP format for use on this module.
For four-color pictures, load 4-color.act, then click Save to save as a gif file. It is then converted to BMP format for use on this module.
For six-color pictures, load 6-color.act, then click Save to save as a gif file. It is then converted to BMP format for use on this module.
6. Open the GIF file with Paint, save it as a 24-bit BMP picture.
7. At this point, the picture has been made, and it can be used in the TF card of the Raspberry Pi or e-Paper Shield module, or converted into an array for other embedded devices according to the next section.
Note: This application is provided for your convenience and is open source, and our company does not provide technical support for it
If your computer is win10/win11 and you do not have VS (Microsoft Visual Studio) or other Microsoft development tools installed, you may encounter error prompts: "ucrtbased.dll" and "vcruntime 140d.dll".
This means that these two components are missing from your computer, and the solution is as follows:
1. Install VS (Microsoft Visual Studio) or other Microsoft development tools (Visual C++ Redistributable, etc.).
2. Use the two component files provided by us
Put these two files in the directory C:\Windows\System32 and restart your computer
When connecting to the Raspberry Pi, you can directly plug the board into the 40PIN pin header of the Raspberry Pi, and be careful to align the pins.
If you choose to use an 9PIN cable to connect, please refer to the pin corresponding table below:
e-Paper | Raspberry Pi | |
BCM2835 encoding | Board physical pin number | |
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 Select Interfacing Options -> SPI -> Yes to enable the SPI interface
sudo reboot
#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 information, please refer to the source code: 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 information, please 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 after May 2019 (those earlier may not require execution), an upgrade may be necessary: wget https://files.waveshare.com/wiki/common/wiringpi-latest.deb sudo dpkg -i wiringpi-latest.deb gpio -v # Run gpio -v and version 2.52 will appear. If it does not appear, there is an installation error. #Bullseye branch system uses the following command: git clone https://github.com/WiringPi/WiringPi cd WiringPi ./build gpio -v # Run gpio -v and version 2.60 will appear. If it does not appear, there is an installation error.
wget https://files.waveshare.com/wiki/3.7inch_e-Paper_HAT%2B_G/3in7_e-Paper_G.zip unzip 3in7_e-Paper_G.zip -d 3in7_e-Paper_G cd 3in7_e-Paper_G/RaspberryPi_JetsonNano/
sudo apt-get install p7zip-full 7z x 3in7_e-Paper_G.zip -O./3in7_e-Paper_G cd 3in7_e-Paper_G/RaspberryPi_JetsonNano/
Currently, accessing GitHub is not very smooth. It is recommended to use the above method to download from our official website.
git clone https://github.com/waveshare/e-Paper.git cd e-Paper/E-paper_Separate_Program/3in7_e-Paper_G/RaspberryPi_JetsonNano/
# It is now in 3in7_e-Paper_G/RaspberryPi_JetsonNano cd c sudo make clean sudo make -j4
sudo ./epd
In the latest version of the system, some python libraries cannot be installed normally, you need to use a virtual environment, and then install the library and run the program Virtual environment configuration, execution, exit
# Install the libraries required for the virtual environment sudo apt-get update sudo apt-get install git python3-pip -y sudo apt install python3-venv # Create a new virtual environment (myenv is the name of the virtual environment, which can be modified) python3 -m venv myenv # Activate the virtual environment source myenv/bin/activate # Install the libraries (see the corresponding location in the wiki) # Download demo (see the corresponding location in the wiki) # Run demo (see the corresponding location in the wiki) # Exit the virtual environment deactivate
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://files.waveshare.com/wiki/3.7inch_e-Paper_HAT%2B_G/3in7_e-Paper_G.zip unzip 3in7_e-Paper_G.zip -d 3in7_e-Paper_G cd 3in7_e-Paper_G/RaspberryPi_JetsonNano/
sudo apt-get install p7zip-full 7z x 3in7_e-Paper_G.zip -O./3in7_e-Paper_G cd 3in7_e-Paper_G/RaspberryPi_JetsonNano/
Currently, accessing GitHub is not very smooth. It is recommended to use the above method to download from our official website.
git clone https://github.com/waveshare/e-Paper.git cd e-Paper/E-paper_Separate_Program/3in7_e-Paper_G/RaspberryPi_JetsonNano/
# Make sure it is in 3in7_e-Paper_G/RaspberryPi_JetsonNano/ cd python/examples/ python3 epd_3in7g_test.py
Use an 9PIN cable to connect, please refer to the pin corresponding table below:
e-Paper | Arduino UNO R4 | 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 |
Arduino IDE Windows Installation Tutorial
The 40PIN pin of Jetson Nano is compatible with the 40PIN pin of Raspberry Pi, and it provides a Jetson.GPIO library that is consistent with the API of RPI.GPIO library of Raspberry Pi, so the serial number connected here is the same as that of Raspberry Pi. When using the 40PIN interface, you can directly insert the module into the 40Pin header of the Jetson Nano.
If you choose to use an 9PIN cable to connect, please refer to the pin corresponding table below:
e-Paper | Jetson Nano Developer Kit | |
BCM2835 encoding | Board physical pin number | |
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://files.waveshare.com/wiki/3.7inch_e-Paper_HAT%2B_G/3in7_e-Paper_G.zip unzip 3in7_e-Paper_G.zip -d 3in7_e-Paper_G cd 3in7_e-Paper_G/RaspberryPi_JetsonNano/
sudo apt-get install p7zip-full 7z x 3in7_e-Paper_G.zip -O./3in7_e-Paper_G cd 3in7_e-Paper_G/RaspberryPi_JetsonNano/
Currently, accessing GitHub is not very smooth. It is recommended to use the above method to download from our official website.
git clone https://github.com/waveshare/e-Paper.git cd e-Paper/E-paper_Separate_Program/3in7_e-Paper_G/RaspberryPi_JetsonNano/
# It is now in 3in7_e-Paper_G/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://files.waveshare.com/wiki/3.7inch_e-Paper_HAT%2B_G/3in7_e-Paper_G.zip unzip 3in7_e-Paper_G.zip -d 3in7_e-Paper_G cd 3in7_e-Paper_G/RaspberryPi_JetsonNano/
sudo apt-get install p7zip-full 7z x 3in7_e-Paper_G.zip -O./3in7_e-Paper_G cd 3in7_e-Paper_G/RaspberryPi_JetsonNano/
Currently, accessing GitHub is not very smooth. It is recommended to use the above method to download from our official website.
git clone https://github.com/waveshare/e-Paper.git cd e-Paper/E-paper_Separate_Program/3in7_e-Paper_G/RaspberryPi_JetsonNano/
# Make sure it is in 3in7_e-Paper_G/RaspberryPi_JetsonNano/ cd python/examples/ python3 epd_3in7g_test.py
Use an 9PIN cable to connect, please refer to the pin corresponding table below:
e-Paper | STM32 |
VCC | 3.3V |
GND | GND |
DIN | PA7 |
CLK | PA5 |
CS | PA4 |
DC | PA2 |
RST | PA1 |
BUSY | PA3 |
PWR | PA6 |
e-Paper | ESP32 |
VCC | 3.3V |
GND | GND |
DIN | IO14 |
CLK | IO13 |
CS | IO15 |
DC | IO27 |
RST | IO26 |
BUSY | IO25 |
PWR | IO33 |
Online installation requires the use of VPN software, while offline installation does not require the use of VPN software
Monday-Friday (9:30-6:30) Saturday (9:30-5:30)
Email: services01@spotpear.com