Difference between revisions of "EPD-130 application tech"

From ESS-WIKI
Jump to: navigation, search
Line 32: Line 32:
 
== Waveform mode ==
 
== Waveform mode ==
  
There are six Waveform mode for image update and short name as below table.
+
There are six Waveform mode for image update and short name as below table. This parameter will appear in update command variable.
This parameter will appear in update command variable.
 
  
 
{| border="2" cellspacing="1" cellpadding="1" style="width: 50%;"
 
{| border="2" cellspacing="1" cellpadding="1" style="width: 50%;"
Line 52: Line 51:
 
|}
 
|}
  
'''INIT(Global update WF) :'''  
+
'''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)
 
::::'''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) :'''
 
'''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.
 
::::'''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) :'''
 
'''GC16(Global update WF) :'''
:::: '''Grayscale clear, 16 levels A''' "flashy" waveform used for 16 level grayscale images. All the pixels are updated or cleared
+
 
 +
::::'''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) :'''
 
'''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.
+
::::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) :'''
 
'''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.
+
::::'''animation, 2 Levels''' is a non-flashing waveform that can be used for fast updates and simple animation.
:::: image quality and ghosting is reduced in exchange for the response time.
+
::::This wave form support black & white updates only.
 +
::::image quality and ghosting is reduced in exchange for the response time.
  
 
'''DU4(Local update WF) :'''
 
'''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).
+
::::'''A fast update time(simlar to DU)''', non-flashy waveform.
:::: The combination of fast update time and four graytone make it useful for anti-aliased text in menus
+
::::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 ==
 
== Push image application ==
  
Follow steps and picture below to setup the hardware
+
Follow steps and picture below to setup the hardware  
  
#Connected EPD FPC to mainboard
+
1. Connected EPD FPC to mainboard
#Connected USB cable to mainboard USB2(CN2)
+
 
 +
2. Connected micro USB cable to mainboard USB2(CN2) the other side connect to desktop/laptop usb port
  
 
[[File:EPD-132R EVK-USB2 HW setup v2.png|RTENOTITLE]]
 
[[File:EPD-132R EVK-USB2 HW setup v2.png|RTENOTITLE]]
<ol start="3">
+
 
<li>Download and unzip&nbsp;[http://ess-wiki.advantech.com.tw/wiki/images/8/8b/EPD-132R_CLI_v1.1.zip EPD-132R_CLI_tool]</li>
+
3. Download and unzip&nbsp;[http://ess-wiki.advantech.com.tw/wiki/images/8/8b/EPD-132R_CLI_v1.1.zip EPD-132R_CLI_tool]
<li>unzip download package and open command line </li>
+
 
<li>Change direction path </li>
+
4. unzip download package and open windows command line
</ol>
+
 
 +
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
 +
 
 +
'''a. Load image'''  
 +
>Load selected image file to image buffer. Only supports '''bmp''' and '''jpg''' type.
 +
 
 +
'''IT8951_USB_Cmd.exe -load [file name]'''
 +
 
 +
[[File:Epd130 2.JPG|500px|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, width, height is update range but it can not exceed the resolution
 +
 
 +
 
 +
'''Note''' The panel resolution is '''1600 x 1200'''

Revision as of 08:04, 24 March 2020

EPD-130 Application guide

This application implement image full/partial update by command line variable. Push image Application is only 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

Waveform mode

There are six Waveform mode for image update and short name as below table. This parameter will appear in update command variable.

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

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_CLI_tool

4. unzip download package and 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

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, width, height is update range but it can not exceed the resolution


Note The panel resolution is 1600 x 1200