Difference between revisions of "EPD-130 application tech"

From ESS-WIKI
Jump to: navigation, search
Line 97: Line 97:
 
[[File:EPD-132R EVK-USB2 HW setup v2.png|RTENOTITLE]]
 
[[File:EPD-132R EVK-USB2 HW setup v2.png|RTENOTITLE]]
  
3. Download and unzip [http://ess-wiki.advantech.com.tw/wiki/images/8/8b/EPD-132R_CLI_v1.1.zip EPD-132R_CLI_tool]
+
3. Download and unzip [http://ess-wiki.advantech.com.tw/wiki/images/2/2a/Adv_CLI_v4.zip EPD-132R_CLIv4_tool]
  
 
4. Open windows command line
 
4. Open windows command line

Revision as of 08:15, 27 March 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 color black and white to display picture.
  2. EPD-130B : The panel has color blackwhite and red to display picture.

Waveform mode

There are six Waveform mode for image update and short name as below table. The mode parameter will use in update command.

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

Push image application

Hardware and software prepare

Follow steps and picture below to setup the hardware

1. Connected EPD FPC to mainboard

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

RTENOTITLE

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.

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 0

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 0

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