Difference between revisions of "12.48inch e-Paper Module"

From Waveshare Wiki
Jump to: navigation, search
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<div class="wiki-pages jet-green-color">
 
{{infobox item|
 
{{infobox item|
 
|name=12.48inch e-Paper
 
|name=12.48inch e-Paper
Line 27: Line 28:
 
*Standby current :<0.01uA (almost none)  
 
*Standby current :<0.01uA (almost none)  
 
【Note】:
 
【Note】:
Refresh time:The data provided is experimental data, the actual time may be a little different.It is normal that the e-Paper blink when full updating.<br />
+
Refresh time:The data provided is experimental data, the actual time may be a little different. It is normal that the e-Paper blink when full updating.<br />
Power:The power data is experimental data.<br />
+
Power: The power consumption data is the experimental test data. The actual power consumption will have a certain error due to the existence of the driver board and the actual use. The actual effect shall prevail.<br />
  
 
==SPI Communication Timing==
 
==SPI Communication Timing==
[[File:1.54inch-e-paper-manual-1.png|400px]]
+
[[File:1.54inch-e-paper-manual-1.png|650px]]<br/>
 
 
 
Since the ink screen only needs to be displayed, the data cable (MISO) sent from the machine and received by the host is hidden here.
 
Since the ink screen only needs to be displayed, the data cable (MISO) sent from the machine and received by the host is hidden here.
 
*CS: Slave chip select, when CS is low, the chip is enabled
 
*CS: Slave chip select, when CS is low, the chip is enabled
Line 39: Line 39:
 
*SDIN: SPI communication master sends, slave receives
 
*SDIN: SPI communication master sends, slave receives
 
*Timing: CPHL=0, CPOL=0 (SPI0)
 
*Timing: CPHL=0, CPOL=0 (SPI0)
[Remarks] For specific information about SPI, you can search for information online.<big>
+
【Remarks】For specific information about SPI, you can search for information online.<big><br/>
 +
If the display is misaligned or the partitions are out of sync, try reducing the SPI rate.<br/>
  
 
==How e-Paper display==
 
==How e-Paper display==
As we know, this display uses the SPI interface, however, there are two FPC cables. In fact, the 12.48inch e-Paper is combined by four small e-Paper, therefore, to control the e-Paper, you should use four chip select pin.<br />
 
  
*Update essence
+
As we know, this display uses the SPI interface, however, there are two FPC cables. In fact, the 12.48inch e-Paper is combined with four small e-Paper, therefore, to control the e-Paper, you should use four chip select pins.<br />
 +
 
 +
*Refreshing Principle
 
It works as below:<br />
 
It works as below:<br />
[[file:12.48inch e-paper-4part.png]]<br />
+
[[File:12.48inch e-paper-4part.png|650px]]<br />
We name the four areas as S2, M2, M1 and S1 respectively, in demo codes, we will send data to these four area in order.<br />
+
We name the four areas as S2, M2, M1, and S1 respectively, in demo codes, we will send data to these four areas in order.<br />
The resolution of S2 and M1 are same 648*492, and the resolution of M2 and S1 are the same 656*492.<br />
+
The resolution of S2 and M1 are the same 648*492, and the resolution of M2 and S1 are the same 656*492.<br />
Combine the four display we get the resolution of 12.48inch e-Paper: 1304*984<br />
+
Combine the four displays we get the resolution of 12.48inch e-Paper: 1304*984<br />
  
*Control principle
+
*How to Control
They are four display indeed, therefore, we need to control four SPI salves:<br />
+
They are four displays indeed, therefore, we need to control four SPI salves:<br />
 
Generally, the control pins of e-Paper are MOSI, SCLK, CS and DC<br />
 
Generally, the control pins of e-Paper are MOSI, SCLK, CS and DC<br />
 
And power and reset pins: VCC, GND, RST<br />
 
And power and reset pins: VCC, GND, RST<br />
Because e-Paper will flash when updating, there is a busy pin:BUSY<br />
+
Because e-Paper will flash when updating, there is a busy pin: BUSY<br />
To reduce pins, four displays use the same VCC, GND, MOSI and SCK pins. Every two displays use the same DC and RST pins.<br />
+
To reduce pins, four displays use the same VCC, GND, MOSI, and SCK pins. Every two displays use the same DC and RST pins.<br />
Therefore, there are total 16 pins for controlling the e-Paper:<br />
+
Therefore, there are a total of 16 pins for controlling the e-Paper:<br />
[[file:12.48inch e-paper-4part2.png]]<br />
+
[[File:12.48inch e-paper-4part2.png|620px]]
  
 
*Codes analysis
 
*Codes analysis
 
To control the e-Paper, you should first reset and initialize registers. And then transmit image data to e-Paper and update.<br />
 
To control the e-Paper, you should first reset and initialize registers. And then transmit image data to e-Paper and update.<br />
 
Here we show you how to transmit the image data:<br />
 
Here we show you how to transmit the image data:<br />
We take Black-white or Red-white image as a monochrome bitmap. One byte stands for 8 pixels.
+
We take the Black-white or Red-white images as a monochrome bitmap. One byte stands for 8 pixels.
  
S2 and M1: There are 648 pixels per raw, It needs 648/8 = 81 bytes. One display has 492 column,totally  have 81 * 492 = 39852 bytes. The same as the M2 and S1: They totally have 40344 per display。<br />
+
S2 and M1: There are 648 pixels per raw, It needs 648/8 = 81 bytes. One display has 492 column,totally  have 81 * 492 = 39852 bytes. The same as the M2 and S1: They totally have 40344 per display.<br />
Registers 0x13 and 0x10 are used to control Black-white image data and Red image data transmitting, here we take two-color display as example<br />
+
Registers 0x13 and 0x10 are used to control Black-white image data and Red image data transmitting, here we take a two-color display as an example.<br />
 
{|border=1 style="text-align:center; width:600px"
 
{|border=1 style="text-align:center; width:600px"
|-style="background:blue; color:white"
+
|-style="background:green; color:white"
 
|'''Color'''||'''0x10'''||'''0x13'''
 
|'''Color'''||'''0x10'''||'''0x13'''
 
|-
 
|-
Line 123: Line 125:
 
*[https://www.waveshare.com/w/upload/9/9a/12.48inch_e-Paper_Module_Code_RPI.7z Demo codes (Pi)]
 
*[https://www.waveshare.com/w/upload/9/9a/12.48inch_e-Paper_Module_Code_RPI.7z Demo codes (Pi)]
 
*[https://github.com/waveshare/12.48inch-e-paper Github]
 
*[https://github.com/waveshare/12.48inch-e-paper Github]
 
+
==Software==
 +
*[https://{{SERVERNAME}}/w/upload/3/36/Image2Lcd.7z Image2Lcd]
 +
*[https://{{SERVERNAME}}/w/upload/c/c6/Zimo221.7z Font extraction software]
 
===Datasheet===
 
===Datasheet===
 
*[https://www.waveshare.com/w/upload/f/f0/12.48inch_e-paper_Datasheet.pdf 12.48inch e-Paper datasheet]
 
*[https://www.waveshare.com/w/upload/f/f0/12.48inch_e-paper_Datasheet.pdf 12.48inch e-Paper datasheet]
Line 130: Line 134:
 
:'''It is a "ESP-IDF component", you can drive the e-Paper with GFX and Fonts.'''
 
:'''It is a "ESP-IDF component", you can drive the e-Paper with GFX and Fonts.'''
  
==FAQ==
+
=FAQ=
{{E-Paper FAQ}}
+
{{e-paper Hat FAQ}}
 +
 
  
==Supports==
 
 
{{Service00}}
 
{{Service00}}

Latest revision as of 03:30, 27 July 2022

12.48inch e-Paper
12.48inch-e-paper-4.jpg
12.48inch e-Paper Module
12.48inch e-Paper-Module-1.jpg
{{{name3}}}

{{{name4}}}

{{{name5}}}

Introduction

Feature

  • Dimension: 12.48inch
  • Outline dimension (raw panel):261.5mm × 211mm × 0.3mm
  • Outline dimension (Acrylic case):280mm x 229.5mm
  • Display size:252.976mm × 190.896mm
  • Working voltage:3.3V/5V
  • Interface:SPI
  • Dot pitch:0.194mm × 0.194mm
  • Resolution:1304 x 984
  • Display color:Black, white
  • Grey level:2
  • Full refresh time :8s
  • Refresh power : 26.4mW(typ.)
  • Standby current :<0.01uA (almost none)

【Note】: Refresh time:The data provided is experimental data, the actual time may be a little different. It is normal that the e-Paper blink when full updating.
Power: The power consumption data is the experimental test data. The actual power consumption will have a certain error due to the existence of the driver board and the actual use. The actual effect shall prevail.

SPI Communication Timing

1.54inch-e-paper-manual-1.png
Since the ink screen only needs to be displayed, the data cable (MISO) sent from the machine and received by the host is hidden here.

  • CS: Slave chip select, when CS is low, the chip is enabled
  • DC: data/command control pin, write command when DC=0; write data when DC=1
  • SCLK: SPI communication clock
  • SDIN: SPI communication master sends, slave receives
  • Timing: CPHL=0, CPOL=0 (SPI0)

【Remarks】For specific information about SPI, you can search for information online.
If the display is misaligned or the partitions are out of sync, try reducing the SPI rate.

How e-Paper display

As we know, this display uses the SPI interface, however, there are two FPC cables. In fact, the 12.48inch e-Paper is combined with four small e-Paper, therefore, to control the e-Paper, you should use four chip select pins.

  • Refreshing Principle

It works as below:
12.48inch e-paper-4part.png
We name the four areas as S2, M2, M1, and S1 respectively, in demo codes, we will send data to these four areas in order.
The resolution of S2 and M1 are the same 648*492, and the resolution of M2 and S1 are the same 656*492.
Combine the four displays we get the resolution of 12.48inch e-Paper: 1304*984

  • How to Control

They are four displays indeed, therefore, we need to control four SPI salves:
Generally, the control pins of e-Paper are MOSI, SCLK, CS and DC
And power and reset pins: VCC, GND, RST
Because e-Paper will flash when updating, there is a busy pin: BUSY
To reduce pins, four displays use the same VCC, GND, MOSI, and SCK pins. Every two displays use the same DC and RST pins.
Therefore, there are a total of 16 pins for controlling the e-Paper:
12.48inch e-paper-4part2.png

  • Codes analysis

To control the e-Paper, you should first reset and initialize registers. And then transmit image data to e-Paper and update.
Here we show you how to transmit the image data:
We take the Black-white or Red-white images as a monochrome bitmap. One byte stands for 8 pixels.

S2 and M1: There are 648 pixels per raw, It needs 648/8 = 81 bytes. One display has 492 column,totally have 81 * 492 = 39852 bytes. The same as the M2 and S1: They totally have 40344 per display.
Registers 0x13 and 0x10 are used to control Black-white image data and Red image data transmitting, here we take a two-color display as an example.

Color 0x10 0x13
White 0xFF 0x00
Black 0x00 0x00
Red 0xFF/0x00 0xFF
void EPD_12in48_Display(const UBYTE *Image)
{
    int x,y;
    //S1 part 648*492
    EPD_S2_SendCommand(0x13);
    for(y = 0; y < 492; y++)
        for(x = 0; x < 81; x++) {
            EPD_S2_SendData(*(Image + (y*163 + x)));
        }

    //M2 part 656*492
    EPD_M2_SendCommand(0x13);
    for(y = 0; y < 492; y++)
        for(x = 81; x < 163; x++) {
            EPD_M2_SendData(*(Image+ (y*163) +x));
        }

    //S1 part 656*492
    EPD_S1_SendCommand(0x13);
    for(y = 492; y < 984; y++)
        for(x = 81; x < 163; x++) {
            EPD_S1_SendData(*(Image+ (y*163) +x));
        }

    //M1 part 648*492
    EPD_M1_SendCommand(0x13);
    for(y = 492; y < 984; y++)
        for(x = 0; x < 81; x++) {
            EPD_M1_SendData(*(Image+ (y*163) +x));
        }
        
    EPD_12in48_TurnOnDisplay();
}


We provide demo codes for four popular hardware platforms, Raspberry Pi, Arduino UNO, STM32 and the ESP32. The product you receive may be pre-assembled, you need to remove the back panel and connect your device like Raspberry Pi.

Preface

How to Install

Since it was assembled by us when you got the product, it has a bottom plate, you need to take the screwdriver delivered to unscrew the screws on the back and put it into the main control.

  • The Raspberry Pi, Arduino UNO, and ESP32 directly provide interface connections, and the specific control pins are introduced in the following sections.
  • For STM32, the demo is based on the STM32F103ZET6 chip, which was tested using our Open103Z, and connected using the pin headers of the board.

Software Description

Raspberry Pi Programs

We provide two program drivers, C and Python.
It takes about 8S to brush a frame of a picture in C language, and about 10S in python. In addition to the basic brushing effect, python also adds the ability to crawl the weather:

Arduino UNO

We provide a C program, and the .c suffix is ​​changed to .cpp to be compatible with CPP.
Because the RAM of UNO is too small, 3 23LC1024 chips are used onboard to expand the memory of UNO. You need to build a picture of the whole picture and initialize it. For black and white pictures, you need 1304/8*984=160392 pieces Bytes, and a 23LC1024 can only have a maximum size of 128K. For black and white red, it needs 160392*2 = 320784 bytes, so 3 chips are needed, so the display speed of the whole frame picture is very slow, about 1 minute. to display a black and white image.

  • The jumper cap needs to be connected to 5V.

STM32

We provide a C program.

  • Since STM32F103ZET6 has no interface for direct use, it needs to be connected with the delivered Dupont cable. For the specific connection method, please refer to the pin connection diagram below. There are only some examples here, because the STM32F103ZET6 cannot establish a complete image cache, only part of the screen demos.

ESP32

We provide a C program for the Arduino test program and an example that can be controlled using the web page

  • Arduino: It can be used according to the corresponding ESP32 chapters. ESP32 cannot create a 1304/8*984 cache, so it is refreshed in a different way, 4304/8*492 data is transmitted at one time, and black and white needs to be transmitted twice. Black and white red transmission 4 times. The refresh speed of black and white is about 8S, and the refresh speed of black and white is about 16S.
  • Web page control: Due to my limited skills, I develop web pages while learning the front-end. There may be some bugs in web page control, and you may not be able to complain, but the function can be completed in the end. The IP address will be displayed on the serial port. Under the same wifi, you can use the web page to open the IP address to control it, which will be described in detail in the subsequent chapters.

Raspberry Pi

Hardware connection

12in48-epaper-RPIconnet.JPG

The pins used can be found on schematic according to codes.

12in48-epaper-rpi1.png

Enable SPI interface

Open the terminal and type the command:

sudo raspi-config

Choose Interfacing Options -> SPI -> Yes. Then reboot the Raspberry Pi.

sudo reboot

Libraries installation

  • Install BCM2835
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
  • Install wiringPi
#Open the Raspberry Pi terminal and run the following command
sudo apt-get install wiringpi
#For Raspberry Pi systems after May 2019 (earlier than before, you may not need to execute), you may need to upgrade:
wget https://project-downloads.drogon.net/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, the installation is wrong

#Bullseye branch system use 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, it means that there is an installation error
  • Install python2
sudo apt-get update
sudo apt-get install python-pip
sudo apt-get install python-pil
sudo pip install RPi.GPIO
sudo pip install spidev
  • Install python3
sudo apt-get update
sudo apt-get install python3-pip
sudo apt-get install python3-pil
sudo pip3 install RPi.GPIO
sudo pip3 install spidev

Download

Open terminal and run commands to download codes

sudo apt-get install p7zip-full
wget https://www.waveshare.com/w/upload/9/9a/12.48inch_e-Paper_Module_Code_RPI.7z
7z x 12.48inch_e-Paper_Module_Code_RPI.7z  -r -o./12.48inch_e-Paper_Module_Code
sudo chmod 777 -R 12.48inch_e-Paper_Module_Code
cd 12.48inch_e-Paper_Module_Code

Run codes

12in48-epaper-rpi-c1.png
  • C codes
cd c
sudo nano examples/main.c
Confirm which kind of 12.48inch e-Paper you use. If you use the two-color display, modify the file as below.
If you use the tree-color display, modify the file as below.
12in48-epaper-rpi-c2.png
Save then compile and run the code.
sudo make clean
sudo make
sudo ./epd
  • Python codes
Open a terminal and run the demo codes by commands:
cd python/examples
12in48-epaper-rpi-weather1.jpg
12in48-epaper-rpi-weather2.jpg
For two-color version
sudo python epd_12in48_test.py
For three-color version
sudo python epd_12in48B_test.py
  • Python codes-Weather
cd python/examples
For two-color display
sudo python Show_EN_Weather.py
For three-color display
sudo python Show_EN_Weather.py B
For help information
sudo python Show_EN_Weather.py help

Arduino

Hardware connection

You can directly insert the Arduino UNO to PCB.

12in48-epaper-Arduinoconne.JPG

About the pins used:

12in48-epaper-arduino1.png

Run codes

Download demo codes from the wiki and unzip them.
Copy the 12in48 folder to the libraries directory which is under the installation directory of Arduino IDE. (The installation directory generally is C:\Program Files (x86)\Arduino\libraries)
Open Arduino IDE software, choose Tool->Board->Arduino UNO:
12in48-epaper-arduino2.png
Click File -> Examples -> EPD12in48 to open demo code.
12in48-epaper-arduino3.png
If your e-Paper is a two-color version, use the epd12in48-demo, otherwise, use the epd12in48b-demo.
Compile and download the codes to the board.

If you are using a black and white screen, select epd12in48-demo on the right.
If you are using a black and white red screen, select epd12in48b-demo on the right.
Finally, select the corresponding COM port, and then click Compile and Download.

  • Note that the refresh process may take a long time. You can open the serial monitor to check the progress. Generally, it takes 1 minute for black and white, and 2 minutes for black and white.

STM32

The development board we use is Waveshare Open103Z. The project is developed based on STM32 HAL libraries.

Hardware connection

To assemble the Open32, you should connect it by wires provided.

12in48-epaper-STM32connet.jpg

About the pins used, you can refer to e-paper.ioc file.

12in48-epaper-STM32-5.png
12in48-epaper-STM32-6.png

Run codes

Open the project (~\STM32\NUCLEO-F103RB\MDK-ARM\e-paper.uvprojx), compile and download to developmen board. It requires about 10s for the two-color version and 20s for three-color display.

ESP32

The demo codes for ESP32 are developed with Arduino IDE as well.

Software setup

To develop ESP32, you should first set up the environment.

12in48-epaper-esp32-1.png
  • Enter the tools folder, and run the get.exe file as administrator. After installing, Copy the esp32-epd-12in48 folder of ESP32 demo codes to [Arduino IDE installation directory]/Hardware/espressif/esp32/libraries
12in48-epaper-esp32-2.png

Hardware connection

Here we use Waveshare e-Paper ESP32 Driver Board as an example. Attach it on PCB.

12in48-epaper-esp32connet.JPG

About the pins used, you can refer to schematic and codes

12in48-epaper-esp32-connet1.png

Examples 1

Open Arduino IDE software, and find the examples on File->Examples.

12in48-epaper-esp32-3.png

If you use two-color e-Paper, choose the epd12in48-demo, otherwise, please use the epd12in48B-demo.

WiFi example

As we know, ESP32 features WIFI, you can set it as master or slave. Here we provide demo codes that control the e-Paper on the web by WIFI.

  • You need to first modify the wifi connection information. Open the Web_App.cpp file and modify line 50 and line 51:

12in48-epaper-esp32-4.png

  • Open wifi.ino file, compile and download it to your ESP32 board. Open the Serial monitor to query the IP address.
12in48-epaper-esp32-5.png
  • Open the Chrome browser, and enter the web with the IP address.
12in48-epaper-esp32-html0.png
  • Select the display type, here we take 12.48inch e-Paper (two-color version) as an example:
Click 12.48 e-Paper, and there are six functions provided. You can use them to draw points, lines and so on. On the top of the webpage, the type of e-Paper and display color are shown.
12in48-epaper-esp32-html1.png
  • The corresponding coordination of display is as below:
12in48-epaper-esp32-html2.png
  1. Draw points
    Click Draw point then you will get the window as below:
    12in48-epaper-esp32-html3.png
  2. Draw lines
    Click Draw Line, you will get the window below:
    12in48-epaper-esp32-html4.png
  3. Draw Rectangle
    Click Draw Rectangle, you will get the window below:
    12in48-epaper-esp32-html5.png
  4. Draw circle
    Click Draw Circle, and you will get the window below:
    12in48-epaper-esp32-html6.png
  5. Draw String
    Click Draw String, and you will get the windows below:
    12in48-epaper-esp32-html7.png
  6. Display picture
    Click Show picture, you will get the window like below. Click upload image to choose a picture.
    12in48-epaper-esp32-html8.png
    Draw the page to the bottom to check the original picture.
    12in48-epaper-esp32-html9.png
    Select a process algorithm, for a two-color display, only the mono methods work.
    12in48-epaper-esp32-html10.png
    12in48-epaper-esp32-html11.png
  7. Finally, click the upload image button on left to upload the image to the e-Paper for displaying.
    12in48-epaper-esp32-html12.png
You can open the Serial monitor of IDE to check the debug information.
12in48-epaper-esp32-html13.png
You can also press the F12 button to open the debug console of the browser.
12in48-epaper-esp32-html14.png

Resources

Document

Demo codes

Software

Datasheet

Third-Party examples

It is a "ESP-IDF component", you can drive the e-Paper with GFX and Fonts.

FAQ

Question about Software

 Answer:
*Our demo uses stm32f103zet6. If the customer modifies other models in MDK, such as stm32f103rbt6, the ram space becomes smaller, and the stack size and heap size in the startup file need to be modified on the original basis.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
*Install the imaging library using the command sudo apt-get install python-imaging
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
If it is a three-color screen, when you need to transmit B/W data, use Data Start Transmission 1, when transmitting RED data, use Data Start Transmission 2, because the 2.13inch e-Paper HAT (D) can only display black and white, Therefore, when working in KW mode Data Start Transmission 1, the last data is sent, that is, the so-called old, and 0x00 is directly sent in the program. When Data Start Transmission 2, the data that needs to be refreshed, the so-called "NEW" is sent. data.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
The Chinese character library of our demos uses GB2312 encoding method, please change your xxx_test.c file to GB2312 encoding format, compile and download it, and it will display normally
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
You can adjust the value of Vcom in the program to change the display contrast, and the screen improvement effect with local brushing is particularly obvious.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
The border display color can be set through the Border Waveform Control register or the VCOM AND DATA INTERVAL SETTING register.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
In this case, the customer needs to reduce the position of the round brush and clear the screen after 5 rounds of brushing (increasing the voltage of VCOM can improve the color, but it will increase the afterimage).
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
The process of re-awakening the e-ink screen is actually the process of re-powering on the power. Therefore, when the EPD wakes up, it must first clear the screen, so as to avoid the afterimage phenomenon to the greatest extent.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
*It may be caused by the unsuccessful spi driver.

1. First check whether the wiring is correct.
2. Check whether the spi is turned on and whether the parameters are configured correctly (spi baud rate, spi mode and other parameters).

{{{3}}}
{{{4}}}

{{{5}}}


Question about Hardware

 Answer:
Yes, now there is a level conversion chip onboard, supporting 3.3V drive.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
The rated input voltage of the ink screen is 2.3~3.6V. If it is a 5V system, level conversion is required. In addition, the voltage should not be lower than 2.5V, so as not to affect the display effect of the ink screen.

Device selection can use the model in the schematic diagram we provide or choose according to the data sheet.

{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Yes, pay attention to the correct timing.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Check if SPI communication is normal.

Confirm whether the BUSY pin is normally initialized to input mode.
It may be that there is no normal reset, try to shorten the duration of the low level during reset (because the power-off switch is added to the drive circuit, the reset low level is too long, which will cause the drive board to power off and cause the reset to fail). If the busy function sends the 0x71 command, you can try to comment it out.

{{{3}}}
{{{4}}}

{{{5}}}


Question about Screen

 Answer:
*【Working conditions】Temperature range: 0~50°C; Humidity range: 35%~65%RH.
  • 【Storage conditions】: Temperature range: below 30°C; Humidity range: below 55%RH; Maximum storage time: 6 months.
  • 【Transportation conditions】: Temperature range: -25~70°C; Maximum transportation time: 10 days.
  • 【After unpacking】: Temperature range: 20°C±5°C; Humidity range: 50±5%RH; Maximum storage time: Assemble within 72 hours.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
*refresh mode
    • Full brush: The electronic ink screen will flicker several times during the refresh process (the number of flickers depends on the refresh time), and the flicker is to remove the afterimage to achieve the best display effect.
    • Bureau brush: The electronic ink screen has no flickering effect during the refresh process. Users who use the partial brushing function note that after refreshing several times, a full brush operation should be performed to remove the residual image, otherwise the residual image problem will become more and more serious, or even damage the screen (currently only some black and white e-ink screens support partial brushing, please refer to product page description).
    • refresh rate
    • During use, it is recommended that customers set the refresh interval of the e-ink screen to at least 180 seconds (except products that support the local brush function).
    • During the standby process (that is, after the refresh operation), it is recommended that the customer set the e-ink screen to sleep mode, or power off operation (the power supply part of the ink screen can be disconnected with an analog switch) to reduce power consumption and prolong the life of the e-ink screen. (If some e-ink screens are powered on for a long time, the screen will be damaged beyond repair.)
    • During the use of the three-color e-ink screen, it is recommended that customers update the display screen at least once every 24 hours (if the screen remains the same screen for a long time, the screen burn will be difficult to repair).
  • Application
    • The e-ink screen is recommended for indoor use. If it is used outdoors, it is necessary to avoid direct sunlight on the e-ink screen, and at the same time, take UV protection measures, because charged particles will dry out under strong light for a long time, resulting in loss of activity and failure to refresh. This situation is irreversible. When designing e-ink screen products, customers should pay attention to determining whether the use environment meets the requirements of e-ink screen.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Ideally, with normal use, it can be refreshed 1,000,000 times (1 million times).
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Power on the development board for a long time, after each refresh operation, it is recommended to set the screen to sleep mode or directly power off processing, otherwise the screen may burn out when the screen is in a high voltage state for a long time.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Yes, but you need to re-initialize the electronic paper with software.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Maybe the SPI rate is too high, resulting in data loss, try to reduce the SPI rate.

Insufficient or unstable power supply leads to data loss.
The data cable is too long to cause data loss, the extension cable should not exceed 20cm.

{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
The display gray scale of electrophoretic electronic paper is determined by the spatial position of the particles in the microcapsule or microcup. The electrophoresis phenomenon occurs between black particles and white particles under the action of voltage. This voltage sequence that promotes the electrophoretic movement of the particles is the driving force of the electronic paper. waveform. The driving waveform is the core part of the electronic paper display, and the optimization of the driving waveform will directly affect the display effect of the display. The driving waveform file is used to describe the parameters formed by the voltage sequence that promotes the electrophoretic movement of the particles, and it needs to be called regularly when the electronic paper is refreshed.

Different batches of e-paper diaphragms and electrophoretic matrices require different voltage values ​​when driving the display due to materials, manufacturing processes, etc. The waveform of the e-ink screen is reflected in the relationship between grayscale, voltage and temperature. Generally speaking, after each batch of electrophoresis matrix is ​​generated, there will be a corresponding waveform file in the form of a .wbf file. The film manufacturer will provide the waveform file and electrophoresis matrix to the manufacturer of the electronic paper screen, and then the The manufacturer of electronic paper screen integrates the protection board, substrate and driver and then provides it to customers; if the waveform file does not correspond to the screen, it is likely that the display cannot be displayed or the display effect is unsatisfactory. Generally, the waveform file has OTP built into the driver IC of the ink screen when leaving the factory, and some programs we provide also call external waveform files to drive the e-ink screen.

{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
LUT is the abbreviation of LOOK UP TABLE, and OTP is the abbreviation of ONE TIME PROGRAM. The original intention of LUT is to load waveform files, and the waveform files are divided into OTP and REGISTER. Among them, OTP is the built-in waveform storage method, and REGISTER is the external waveform storage method.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
There are mainly two types of ink screens.

One is to brush the background image first.
The other is to alternately refresh old data and new data.

{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Simultaneous brushing in different locations needs to be operated in the program design, that is, first brushing the data of different locations into the electronic paper IC, and finally doing the Update/TurnOnDisplay uniformly.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Yes, when e-Paper is batched, there will be some color difference, which is a normal phenomenon. Store the e-paper faces up to reduce the reddish/yellowishness to a certain extent.
{{{3}}}
{{{4}}}

{{{5}}}


Others

 Answer:
with film.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
0.5mm pitch, 24Pin.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
Cable socket 0.5-24pin rear flip type 2.0H (FPC connector).
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
At present, all screens have built-in temperature sensors, and external LM75 temperature sensors can also be used with IIC pins.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
The full brush initialization function needs to be added when the ink screen is switched from partial brush to full brush.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:
It may be a demo based on the BCM2835 library that has run the C language before. At this time, you need to restart the Raspberry Pi and then run the python demo.
{{{3}}}
{{{4}}}

{{{5}}}



Support

If you require technical support, please go to the Support page and open a ticket.