Difference between revisions of "EPD-130 application tech"

From ESS-WIKI
Jump to: navigation, search
Line 32: Line 32:
 
== Panel type ==
 
== Panel type ==
  
#'''EPD-130R''' : The panel has '''black''' and '''white''' color.
+
#'''EPD-130R''' : The panel has '''black''' and '''white''' color.
#'''EPD-130B''' : The panel has '''black'''、'''white''' and '''red''' color.
+
#'''EPD-130B''' : The panel has '''black'''、'''white''' and '''red''' color.
  
 
== Waveform mode ==
 
== Waveform mode ==
  
There are six Waveform mode for image update and short name as below table. The mode parameter will use in update command.
+
There are six Waveform mode for image update and short name as below table. Waveform mode suit to '''EPD-130B''' panel type  and mode parameter will use in display command.
  
 +
'''EPD-130B waveform mode table'''
 
{| border="2" cellspacing="1" cellpadding="1" style="width: 50%;"
 
{| border="2" cellspacing="1" cellpadding="1" style="width: 50%;"
 
|-
 
|-
Line 84: Line 85:
 
::::This mode supports transitions from any graytone to graytone 0(Black),5,10.15(White).
 
::::This mode supports transitions from any graytone to graytone 0(Black),5,10.15(White).
 
::::The combination of fast update time and four graytone make it useful for anti-aliased text in menus
 
::::The combination of fast update time and four graytone make it useful for anti-aliased text in menus
 +
 +
'''EPD-130R waveform mode '''
 +
 +
It's only supported mode 0 and 1
 +
 +
'''Mode 0''' :Showing black and white elements
 +
 +
'''Mode 1''' :Showing red element in picture.
  
 
== Push image application ==
 
== Push image application ==
Line 91: Line 100:
 
Follow steps and picture below to setup the hardware
 
Follow steps and picture below to setup the hardware
  
1. Connected EPD FPC to mainboard
+
1. Turn to back of mainboard and Connected EPD FPC to mainboard
  
2. Connected micro USB cable to mainboard USB2(CN2) the other side connect to desktop/laptop usb port
+
2. Connected micro USB cable to mainboard USB2(CN5) the other side connect to desktop/laptop usb port
  
[[File:EPD-132R EVK-USB2 HW setup v2.png|RTENOTITLE]]
+
[[File:Epd130 11.jpg|500px|epd130 front]][[File:Epd130 12.jpg|500px|epd130 front]]  
  
 
3. Download and unzip [http://ess-wiki.advantech.com.tw/wiki/images/2/2a/Adv_CLI_v4.zip EPD-132R_CLIv4_tool]
 
3. Download and unzip [http://ess-wiki.advantech.com.tw/wiki/images/2/2a/Adv_CLI_v4.zip EPD-132R_CLIv4_tool]
Line 109: Line 118:
 
=== Load image ===
 
=== Load image ===
  
'''a. Load image''' >Load selected image file to image buffer. Only supports '''bmp''' and '''jpg''' type.
+
'''a. Load image''' :Load selected image file to image buffer. Only supports '''bmp''' and '''jpg''' type.
  
 +
Command format:
 
'''IT8951_USB_Cmd.exe -load [file name]'''
 
'''IT8951_USB_Cmd.exe -load [file name]'''
  
 
[[File:Epd130 2.JPG|500px|Loadimage]]
 
[[File:Epd130 2.JPG|500px|Loadimage]]
  
'''b. Display''' > Refresh the assigned range of EPD (according to the image buffer and chosen mode)
+
'''b. Display''' : Refresh the assigned range of EPD (according to the image buffer and chosen mode)
  
 
'''IT8951_USB_Cmd.exe -display -nowait [x] [y] [width] [height] [mode]'''
 
'''IT8951_USB_Cmd.exe -display -nowait [x] [y] [width] [height] [mode]'''
Line 126: Line 136:
  
 
In '''EPD-130B''' panel type. The usually full update command as below.
 
In '''EPD-130B''' panel type. The usually full update command as below.
 
'''IT8951_USB_Cmd.exe -display -nowait 0 0 1600 1200 0'''
 
  
 
'''IT8951_USB_Cmd.exe -display -nowait 0 0 1600 1200 2'''
 
'''IT8951_USB_Cmd.exe -display -nowait 0 0 1600 1200 2'''
Line 138: Line 146:
  
 
'''IT8951_USB_Cmd.exe -display -nowait 0 0 1600 1200 1'''
 
'''IT8951_USB_Cmd.exe -display -nowait 0 0 1600 1200 1'''
 +
  
 
[[File:Epd130 8.jpg|500px|full update R]]
 
[[File:Epd130 8.jpg|500px|full update R]]
Line 148: Line 157:
  
 
Below command is defined start coordinate in (0, 800) and width、height is defined in (1600 , 400).
 
Below command is defined start coordinate in (0, 800) and width、height is defined in (1600 , 400).
 
'''IT8951_USB_Cmd.exe -display -nowait 0 800 1600 400 0'''
 
  
 
'''IT8951_USB_Cmd.exe -display -nowait 0 800 1600 400 2'''
 
'''IT8951_USB_Cmd.exe -display -nowait 0 800 1600 400 2'''

Revision as of 09:18, 8 April 2020

EPD-130 Application guide

This application provide user a way that image full/partial update for EPD-130 panel. user should follow the different command parameter to load or display image or using .bat script combined with load and display command. Application only support on Windows platform(Windows 7、Windows 10)。

Components LIST

Item

 Description
1  13.3” EPAPER
2  EPD-130 PCBA
3  cable


RTENOTITLE

SYSTEM ARCHITECURE

RTENOTITLE

Panel type

  1. EPD-130R : The panel has black and white color.
  2. EPD-130B : The panel has blackwhite and red color.

Waveform mode

There are six Waveform mode for image update and short name as below table. Waveform mode suit to EPD-130B panel type and mode parameter will use in display command.

EPD-130B waveform mode table

mode 0 mode 1 mode 2 mode 3 mode 4 mode 5
INIT DU GC16 GL16 A2 DU4

INIT(Global update WF) :

Initialize is used to completely clear the display, if it's left in an unknown state (i.e. if the previous image has been lost by a re-boot)

DU(Local update WF) :

Direct update Non-flashing waveform that can be used to update. it can update any changed graytone pixel to black or white only.

GC16(Global update WF) :

Grayscale clear, 16 levels A "flashy" waveform used for 16 level grayscale images. All the pixels are updated or cleared

GL16(Local update WF when white to white , Global update when 16 gray levels) :

The GL16 waveform is used to update anti-aliased text with reduced flash. GL16 should bed used only with Full Display Update.
The entire display except pixels staying in white will update as the new image is written. The GL16 waveform has 16 unique gray levels.

A2(Local update WF) :

animation, 2 Levels is a non-flashing waveform that can be used for fast updates and simple animation.
This wave form support black & white updates only.
image quality and ghosting is reduced in exchange for the response time.

DU4(Local update WF) :

A fast update time(simlar to DU), non-flashy waveform.
This mode supports transitions from any graytone to graytone 0(Black),5,10.15(White).
The combination of fast update time and four graytone make it useful for anti-aliased text in menus

EPD-130R waveform mode

It's only supported mode 0 and 1

Mode 0 :Showing black and white elements

Mode 1 :Showing red element in picture.

Push image application

Hardware and software prepare

Follow steps and picture below to setup the hardware

1. Turn to back of mainboard and Connected EPD FPC to mainboard

2. Connected micro USB cable to mainboard USB2(CN5) the other side connect to desktop/laptop usb port

epd130 frontepd130 front

3. Download and unzip EPD-132R_CLIv4_tool

4. Open windows command line

5. Change current directory to user's Adv_CLI_v4 tool directory on command line window

6. User can find IT8951_USB_Cmd.exe application in Adv_CLI_v4

The command parameter in detail as below

Load image

a. Load image :Load selected image file to image buffer. Only supports bmp and jpg type.

Command format: IT8951_USB_Cmd.exe -load [file name]

Loadimage

b. Display : Refresh the assigned range of EPD (according to the image buffer and chosen mode)

IT8951_USB_Cmd.exe -display -nowait [x] [y] [width] [height] [mode]

The x, y is the start coordinates and width, height is update range but it can not exceed the resolution. mode see Section 1.3 waveform mode

Full update

x、y start coordinates is given in (0, 0) , width 、height is given in (1600 , 1200).

In EPD-130B panel type. The usually full update command as below.

IT8951_USB_Cmd.exe -display -nowait 0 0 1600 1200 2

fullupdate B

In EPD-130R panel type. The usually full update command as below.

IT8951_USB_Cmd.exe -display -nowait 0 0 1600 1200 0

IT8951_USB_Cmd.exe -display -nowait 0 0 1600 1200 1


full update R

Partial update

x, y start coordinate and the width、height depends on user's defined.

In EPD-130B panel type.

Below command is defined start coordinate in (0, 800) and width、height is defined in (1600 , 400).

IT8951_USB_Cmd.exe -display -nowait 0 800 1600 400 2

partial update

In EPD-130R panel type

Below command is defined start coordinate in (0, 200) and width、height is defined in (800 , 600).

IT8951_USB_Cmd.exe -display -nowait 0 200 800 600 0

IT8951_USB_Cmd.exe -display -nowait 0 200 800 600 1

partial update

Note Panel resolution is 1600 x 1200