EPD-132 EVK User Manual

From ESS-WIKI
Revision as of 03:28, 23 May 2018 by Erick.huang (talk | contribs)
Jump to: navigation, search

Introduction

This document will 

EPD-EVK_BmpToPixel_D73


Preparation

• EVK Components

Item  Description
1  EPD 
2  EVK mainboard
3  Power adapter and cable
4  ED22 board
5  ED22 micro USB cable
6  10 pin FFC cable
7  2.4G Wi-Fi antenna

RTENOTITLE

• 2.4G Wi-Fi AP

Prepare a 2.4G Wi-Fi AP.

• Win7 PC

Prepare a win7 PC.

• Setup TFTP server

  1. Make sure PC connect to 2.4G Wi-Fi AP and get IP address
  2. Recommend used tftpd64
  3. Set the process reference link  https://www.youtube.com/watch?v=YdVEonLMWYs

• Python Environment Setup

  1. Download and install Python (recommend Python version 2.7+)
  2. Setup Windows Path and Environment Variables : add “C:\Python27;C:\Python27\Scripts”  
  3. Download and install python PIL package
  4. Download and unzip picture transformation tool "BmpToPixel_D73.py"

Bmp Image To EPD Format

  1. Run BmpToPixel_D73.py < source BMP image file> < <output file > in cmd window
    • Bmp size must comply with EPD resolution 1600 x 1200
    • Bmp file: mono color/16 color/256 color/24bits bitmap format
    • Ex: BmpToPixel_D73.py EVK_03.bmp EVK_03.esl
  2. Copy output files to tftp Base Directory 

           RTENOTITLE

WISE-ED22 Setup

  1. Download and install WISE-ED22 driver
  2. Connected to PC via a micro USB cable, the Device  Manager will appear mbed Serial Port

          RTENOTITLE

EVK Setup

Hardware Setup

       Follow steps and picture below to setup the hardware

  1. Connected EPD FPC to mainboard
  2. Connected Wi-Fi antenna to mainboard
  3. Connected ED22 board to mainboard via FFC cable
  4. Connected ED22 board to PC via micro USB cable
  5. Connected power cable to mainboard

       RTENOTITLE

Command Console Setting

Start a serial tool(use tera term in this), and make the communication setting as shown below.

     RTENOTITLE

EVK Start

Press “RST” button, the screen will show as below

    EPD-132R EVK Start v2.png

Example : Download and Refresh Image

Example Architecture

The example architecture is as below

EPD-132R EVK Architecture.png

Launch TFTP Service

  1. PC join to Wi-Fi AP
  2. Lunch tftpd64.exe and select "Tftp Server" tab
  3. Check image folder, image file size must be 960000 byte​ 

​              ​RTENOTITLE

  1. Select tftp server IP

              RTENOTITLE

EVK Join to Wi-Fi AP

  1. EVK operates in command mode, you must start a serial tool.
  2. type join  <SSID> <encryption> [key]
    • SSID, encryption protocol and key consistent with Wi-Fi AP setting
    • Ex: join RT66 wpa2_aes 12345678
  3. Get IPv4 IP if join successful

            RTENOTITLE 

Download Images to Flash

tftp <ip> <filename> <flash index> [-r] 

  • ​​ip: tftp server ip
  • filename: image file name 
  • flash index: range 0~3, that have maximum  4 images(0~3) be saved in flash 
  • -r : immediate refresh after download complete
  • Ex: tftp 192.168.8.178 example_2.esl  1 -r


[[Category:Editor]]