230 likes | 922 Views
www.dwin.com.cn. Beijing DWIN Technology Co ., Ltd. Products Training -- DGUS LCM. Presenter:Lily . Xu. Content. 1. What is the DGUS?. 2. Tools & References. Development S teps. 3. 4. Basic F unction s. 1. What is the DGUS?.
E N D
www.dwin.com.cn Beijing DWIN Technology Co., Ltd. ProductsTraining-- DGUS LCM Presenter:Lily. Xu
Content • 1 What is the DGUS? • 2 Tools & References Development Steps • 3 • 4 Basic Functions
1. What is the DGUS? DGUS (DWIN Graphic User System) is a new GUI software platform developed by DWIN Technology. Based on the K600+ Kernel hardware platform, GUI design, combined with a simple command interface, can be achieved quickly, eliminating the need for complicated programming and expensive development environments. DGUS
1. What is the DGUS? Unlike the previous LCMs, which adopted commands-oriented or timing sequence to manage GUI, DGUS module performed based on real-time variables with programmable file configured, transmitting via UART or SD card. Software flow chart of different development methods for temperature controller is shown as above.
1. DGUS- Memory Space Maximum 128 variables
1. DGUS- Data Format For example, 4369.17 consists of 4 integers and 2 decimals. 436917>65535. The format should be long integer. BACK
2. Tools & Reference DGUS SDK • Configure touch and displayfunctions. • Generate UI project. • Generate Font library, ICON library. • Convert Images
2. Tools & Reference C Series LCMs Tools, Accessories, Instructions and FAQ Commands Illustration Accessories Selection Illustration Other application references, such as curve display, RTC display BACK
3. Development Steps 1)Variables Scheme 2)Interface Design 3)Configuration 4)Debug Test 5)Archive
Step 1: Variable Scheme Variables addresses should beassigned continuously considering convenience of write/read; Two Principles • Address of parameter description variables and data variables should be separated and no cross-connect.
Step 2: Interface Design • Photoshop • Other graphic design software Tools Interface
Step 3: Configuration Interface design. Add all the images togenerate configuration files viaDGUS_SDK.
Step 4: Debug Test • Download DWIN_SET composed by config. file, images, font, icon library etc. to DGUS LCM via SD card for debugging and adjustment (Step 2&3); • Connecting with use's host by serial port to process up data transmission. DGUS LCM
Step 5: Archive Config. file, images, font, icons library etc. that involved with module works were saved in an SD card for mass production. BACK
4. Basic Functions RTC Display and Setting, Image Animation VP, Variable Data/Text Input & Display, Basic Touch Control Commands 0x80 to 0x83, SP Incremental Adjustment, ICON Generation, Variable ICON Table display, Slider, Return Key Code, Animation ICON Dynamic Trend Curve, Basic Graphic Display, 0x84 BACK
How to communicate? Data Frame: Frame of data via serial are composed by 4 parts of data Both commands or data are hexadecimal. As for word(2 bytes), high byte in priority is transferred (MSB) Register Variable RAM Curve Buffer 0x82 0x80 0x81 0x83 0x84 Unit based word Unit based byte Unit based word
Command via Serial port and data return Command:VP_0x0100=64H(VP0100valuesto100) Command 0x82:Write data into the specified variable SRAM Header: R3:RA Length Command VP address Data Access to register units as Word Command0x83:Read data from the specified variable SRAM Response from the DGUS module RD_LEN RD_LEN Data
www.dwin.com.cn Beijing DWIN Technology Co.,Ltd Thank You!