Difference between revisions of "EPD-130 application tech"

From ESS-WIKI
Jump to: navigation, search
Line 37: Line 37:
 
== Waveform mode ==
 
== 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.
+
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'''
 
'''EPD-130B waveform mode table'''
 +
 
{| border="2" cellspacing="1" cellpadding="1" style="width: 50%;"
 
{| border="2" cellspacing="1" cellpadding="1" style="width: 50%;"
 
|-
 
|-
Line 71: Line 72:
 
'''GL16(Local update WF when white to white , Global update when 16 gray levels) :'''
 
'''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 GL16 waveform is used to update anti-aliased text with reduced flash. GL16 should be 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.
 
::::The entire display except pixels staying in white will update as the new image is written. The GL16 waveform has 16 unique gray levels.
  
Line 86: Line 87:
 
::::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 '''
+
'''EPD-130R waveform mode'''
 +
 
 +
It's only supported  0 、1、2 mode
  
It's only supported mode 0 and 1
+
'''Mode 0''' :All the pixels are cleared then All the pixels are updated in black and white elements
  
'''Mode 0''' :Showing black and white elements
+
'''Mode 1''' :Showing red element in picture.
  
'''Mode 1''' :Showing red element in picture.
+
'''Mode 2''' :Do not clean all the pixels and showing black and white element in picture.
  
 
== Push image application ==
 
== Push image application ==
Line 104: Line 107:
 
2. Connected micro USB cable to mainboard USB2(CN5) 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:Epd130 11.jpg|500px|epd130 front]][[File:Epd130 12.jpg|500px|epd130 front]]  
+
[[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 118: Line 121:
 
=== 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:
+
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 147: Line 149:
 
'''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]]
 +
 +
'''IT8951_USB_Cmd.exe -display -nowait 0 0 1600 1200 2'''
  
[[File:Epd130 8.jpg|500px|full update R]]
+
[[File:Epd130 13.jpg|500px|full update mode 2]]
  
 
=== Partial update ===
 
=== Partial update ===
Line 158: Line 163:
 
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 2'''
+
'''IT8951_USB_Cmd.exe -display -nowait 0 840 1600 360 2'''
  
 
[[File:Epd130 6 2.jpg|500px|partial update]]
 
[[File:Epd130 6 2.jpg|500px|partial update]]
Line 171: Line 176:
  
 
[[File:Epd130 9.jpg|500px|partial update]]
 
[[File:Epd130 9.jpg|500px|partial update]]
 +
 +
Caution after using partial update in EPD-130R panel,,it appears 1 pixel  border on deep color background .
 +
 +
[[File:Epd130 10.jpg|500px|1 pixel]]
  
 
'''Note''' Panel resolution is '''1600 x 1200'''
 
'''Note''' Panel resolution is '''1600 x 1200'''

Revision as of 13:30, 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 be 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 0 、1、2 mode

Mode 0 :All the pixels are cleared then All the pixels are updated in black and white elements

Mode 1 :Showing red element in picture.

Mode 2 :Do not clean all the pixels and showing black and white 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

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

full update mode 2

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 840 1600 360 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

Caution after using partial update in EPD-130R panel,,it appears 1 pixel border on deep color background .

1 pixel

Note Panel resolution is 1600 x 1200