Вы находитесь на странице: 1из 22
1602 LCD Display Board with UART Based USB (Edition I , II&III) User’s Guide ©

1602 LCD Display Board with UART Based USB (Edition III&III) User’s Guide

UART Based USB (Edition I , II&III) User’s Guide © 2004-2009 Sure Electronics Inc. DE-LD011 &

© 2004-2009 Sure Electronics Inc.

DE-LD011 & DE-LD012 & DE-LD013_Ver1.0

1602 LCD DISPLAY BOARD WITH UART BASED USB (EDITION I , II&III) USER’S GUIDE Table

1602 LCD DISPLAY BOARD WITH UART BASED USB (EDITION III&III) USER’S GUIDE

UART BASED USB (EDITION I , II&III) USER’S GUIDE Table of contents Chapter1.Overview 1 1.1 Welcome
UART BASED USB (EDITION I , II&III) USER’S GUIDE Table of contents Chapter1.Overview 1 1.1 Welcome

Table of contents

(EDITION I , II&III) USER’S GUIDE Table of contents Chapter1.Overview 1 1.1 Welcome 1 1.2 Quick

Chapter1.Overview

1

1.1 Welcome

1

1.2 Quick Start

2

Chapter2.Hardware Detail

11

2.1 Hardware introduction

11

2.2 Pinouts

11

2.3 Mechanical drawing

11

Chapter3.Tips for usage

13

Chapter4. Appendix

14

Appendix1 Schematics

14

Appendix2 PCB Layout

15

Appendix3 Command Set

16

Chapter5.Contact Us

19

1602 LCD Display Board with UART Based USB (Edition III&III)

Board with UART Based USB (Edition I , II&III) NOTES: Product Version : Ver 1.0 Document
Board with UART Based USB (Edition I , II&III) NOTES: Product Version : Ver 1.0 Document

NOTES:

Product Version

Ver 1.0

Document Version

Ver 1.0

: Ver 1.0 Document Version : Ver 1.0 DE-LD011 & DE-LD012 & DE-LD013_Ver1.0_Page ii ©
1602 LCD DISPLAY BOARD WITH UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter1.Overview

1602 LCD DISPLAY BOARD WITH UART BASED USB (EDITION III&III) USER’S GUIDE

UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter1.Overview 1.1 Welcome Thanks for using the
UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter1.Overview 1.1 Welcome Thanks for using the

Chapter1.Overview

(EDITION I , II&III) USER’S GUIDE Chapter1.Overview 1.1 Welcome Thanks for using the products of 16*2

1.1 Welcome

Thanks for using the products of 16*2 serial port communication info boards family by Sure Electronics. The product family includes 3 different versions: Edition I, II and III. With larger version number comes more powerful functions.

Their basic functions include display system information of your computer, such as Everest status, MBM status (Your CPU temperature, fan/cooler speed, etc.), BBC world news (or any other RSS feeds), WinAmp status (currently playing tracks title, length, position, etc), network status (speed, total bytes, etc), CPU speed, free disk space, memory usage, E-mail details, game status and many others. In addition, users may adjust the contrast ratio of LCD display and backlight brightness.

Edition II and III are further developed versions based on the basic functions of LCD Smartie. More features like ambient temperature display, conversion between and , feedback current LCD contrast ratio, backlight brightness level, temperature or product info are added in Edition II. Tips function is available on Edition III based on II.

This product provides two different ways of connection: mini USB and 9-pin power cable. Bolts and screws are also provided along with this product so that it can be fixed onto the PC case.

with this product so that it can be fixed onto the PC case. Fig 1.1 Fig
with this product so that it can be fixed onto the PC case. Fig 1.1 Fig

Fig 1.1

product so that it can be fixed onto the PC case. Fig 1.1 Fig 1.2 ©

Fig 1.2

Overview

Overview 1.2 Quick Start 1. First, install LCD Smartie application, Sure-LCD 1. 0 and CP2102 driver.
Overview 1.2 Quick Start 1. First, install LCD Smartie application, Sure-LCD 1. 0 and CP2102 driver.

1.2 Quick Start

1. First, install LCD Smartie application, Sure-LCD 1.0 and CP2102 driver. All of them are available on

the following links:

LCD_smartie_v5.4:

Sure-LCD V1.0

http://www.sure-electronics.net/download/Sure-LCD_1.0.zip

CP2102 driver:

2. Connect LCD board and computer with mini USB like shown in fig 1.3. LCD will display the

defaulted graphs like shown in fig 1.4.

will display the defaulted graphs like shown in fig 1.4. Fig 1.3 Schematic of connection with

Fig 1.3 Schematic of connection with mini USB

in fig 1.4. Fig 1.3 Schematic of connection with mini USB Fig 1.4 Photo after power-up

Fig 1.4 Photo after power-up

of connection with mini USB Fig 1.4 Photo after power-up DE-LD011 & DE-LD012 & DE-LD013_Ver1.0_Page 2

Overview

Overview 3. Run LCD Smartie click “Setup” at the lower left-hand corner of the main page
Overview 3. Run LCD Smartie click “Setup” at the lower left-hand corner of the main page

3. Run LCD Smartie

click “Setup” at the lower left-hand corner of the main page to perform the following configuration (as

shown in fig 1.5)

to perform the following configuration (as shown in fig 1.5) Fig 1.5 Simulation display interface Select

Fig 1.5 Simulation display interface

Select “matrix.dll” from the “Display Plugin” drop-down list under “Screens” tab. Fill the COM port name in “Startup Parameters” under “Display settings”, the communication speed is 9600bps. (As shown in fig

1.6).

the communication speed is 9600bps. (As shown in fig 1.6). Fig 1.6 Select plug-in and fill

Fig 1.6 Select plug-in and fill in port name

Port name can be obtained by the following means: Right-click “My Computer” and locate “Silicon Labs CP210x USB to UART Bridge” after PropertiesHardwareDevice ManagerPorts. The content in its following bracket is the port name.

Select “2x16” from the “LCD size” drop-down list under the “Screen” tab of Display Setting (shown in fig 1.7). Click “OK” or “Apply” at the lower right-hand corner to enable communication. After that, the display on LCD will be consistent with what is being simulated with LCD Smartie.

consistent with what is being simulated with LCD Smartie. Fig 1.7 Select the type of LCD

Fig 1.7 Select the type of LCD display

Other settings can be conducted after LCD functions normal.

To adjust the contrast ratio and br ightness, just drag the slide bar.

To turn the backlight of LCD off, click the sm all icon at the lower right-hand corner and select “Commands”->”Backlight Off” (shown in fig 1.8). With the same path, you can turn on the backlight

Overview

Overview again. Fig 1.8 Turn off the backlight An example of how the time of PC
Overview again. Fig 1.8 Turn off the backlight An example of how the time of PC

again.

Overview again. Fig 1.8 Turn off the backlight An example of how the time of PC

Fig 1.8 Turn off the backlight

An example of how the time of PC is displayed. In the left task bar of LCD Smartie, highlight “Uptime short (days, hours, minutes)” first and click “Insert -->” button and “$UpTims” will appear in the place where cursor flashed, as shown in fig 1.9. Click “Apply” will make the LCD display the time of your PC system, as shown in fig 1.10.

display the time of your PC system, as shown in fig 1.10. Fig 1.9 Select the

Fig 1.9 Select the contents to be displayed

in fig 1.10. Fig 1.9 Select the contents to be displayed Fig 1.10 Simulation display DE-LD011

Fig 1.10 Simulation display

the contents to be displayed Fig 1.10 Simulation display DE-LD011 & DE-LD012 & DE-LD013_Ver1.0_Page 4 ©

Overview

Overview 4. If you select Sure-LCD V1.0 。 as your application A 16X2 sized LCD simulator
Overview 4. If you select Sure-LCD V1.0 。 as your application A 16X2 sized LCD simulator

4. If you select Sure-LCD V1.0as your application

A 16X2 sized LCD simulator screen (blue backlight & white character) will pop up like shown in fig 1.11

& white character) will pop up like shown in fig 1.11 Fig 1.11 Right-click simulator and

Fig 1.11

Right-click simulator and select “Config” in the popped up window and a configuration page will be displayed as shown in fig 1.12. Select “COM4” in “Com Setting” and click “Start” button to establish a communication. Edition II doesn’t provide “Edit Memo” function like shown in fig 1.13, though Edition III reserves that function as shown in fig 1.14.

Edition III reserves that function as shown in fig 1.14. Fig 1.12 © 2004-2009 Sure Electronics

Fig 1.12

Overview

Overview Fig 1.13 Fig 1.14 The following is an example of how to use this app
Overview Fig 1.13 Fig 1.14 The following is an example of how to use this app
Overview Fig 1.13 Fig 1.14 The following is an example of how to use this app

Fig 1.13

Overview Fig 1.13 Fig 1.14 The following is an example of how to use this app

Fig 1.14

The following is an example of how to use this application. In “Select” drop-down list of “Command Group”, choose “About me” and click “Send” like shown in fig 1.15 and watch the display on simulator screen. The version numbers of Edition II and III are “16020201000” and “16020202000” respectively like shown in fig 1.16 and 1.17.

respectively like shown in fig 1.16 and 1.17. Fig 1.15 Fig 1.16 Fig 1.17 5. How

Fig 1.15

respectively like shown in fig 1.16 and 1.17. Fig 1.15 Fig 1.16 Fig 1.17 5. How
respectively like shown in fig 1.16 and 1.17. Fig 1.15 Fig 1.16 Fig 1.17 5. How

Fig 1.16

like shown in fig 1.16 and 1.17. Fig 1.15 Fig 1.16 Fig 1.17 5. How to

Fig 1.17

5. How to use Tips function:

Firstly, select “Send Memo to MCU” in the drop-down list of “Command Group” like shown in fig 1.18.

n list of “Command Group” like shown in fig 1.18. DE-LD011 & DE-LD012 & DE-LD013_Ver1.0_Page 6

Overview

Overview Fig 1.18 select commands for tips edit You can edit contents of tips in “Edit
Overview Fig 1.18 select commands for tips edit You can edit contents of tips in “Edit
Overview Fig 1.18 select commands for tips edit You can edit contents of tips in “Edit

Fig 1.18 select commands for tips edit

You can edit contents of tips in “Edit Memo” area like shown in fig 1.19. Each row can simulate the display on LCD, i.e. maximum 16 letters a row (including space) and you are allowed to edit 10 rows at most.

uding space) and you are allowed to edit 10 rows at most. Fig 1.19 Edit tips

Fig 1.19 Edit tips

Right-click simulator and click “Exit” in the popup window like shown in fig 1.20. Tips will be displayed on LCD screen soon afterwards.

1.20. Tips will be displayed on LCD screen soon afterwards. Tips are displayed progressively and repeatedly

Tips are displayed progressively and repeatedly like shown in fig 1.20. Interval of adjacent contents is approximately 2 seconds.

Overview

Overview Fig 1.20 a flow simulating the display of tips Restart LCD Smartie or Sure-LCD, tips
Overview Fig 1.20 a flow simulating the display of tips Restart LCD Smartie or Sure-LCD, tips
Overview Fig 1.20 a flow simulating the display of tips Restart LCD Smartie or Sure-LCD, tips

Fig 1.20

a flow simulating the display of tips

Restart LCD Smartie or Sure-LCD, tips display will end.

6. In case the 9-pin power cable is used for the connection with your computer, you need to connect

the power cable to “J8” on the reverse side of LCD while the other end shall be connected to a 9-pin port

of your motherboard, as shown in Fig 1.21. Users may refer to step 1~4 for detailed operations.

1.21. Us ers may refer to step 1~4 for detailed operations. Fig 1.21Schematic of co nnection

Fig 1.21Schematic of connection with cable harness

Fig 1.21Schematic of co nnection with cable harness DE-LD011 & DE-LD012 & DE-LD013_Ver1.0_Page 8 ©

Overview

Overview 7. To fix LCD board onto PC case, users need to drill holes on the
Overview 7. To fix LCD board onto PC case, users need to drill holes on the

7. To fix LCD board onto PC case, users need to drill holes on the PC panel. You may refer to the

mechanical drawing in hardware detail for mounting information like spaces between mounting holes,

etc.

information like spaces between mounting holes, etc. Fig 1.22 Panel Installation schematic © 2004-2009 Sure

Fig 1.22 Panel Installation schematic

Overview

Overview Fig 1.23 Photo of panel installed on PC case Notice: Fig 1.23 is provided for
Overview Fig 1.23 Photo of panel installed on PC case Notice: Fig 1.23 is provided for
Overview Fig 1.23 Photo of panel installed on PC case Notice: Fig 1.23 is provided for

Fig 1.23 Photo of panel installed on PC case Notice: Fig 1.23 is provided for reference only

on PC case Notice: Fig 1.23 is provided for reference only DE-LD011 & DE-LD012 & DE-LD013_Ver1.0_Page
1602 LCD DISPLAY BOARD WITH UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter2.Hardware

1602 LCD DISPLAY BOARD WITH UART BASED USB (EDITION III&III) USER’S GUIDE

UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter2.Hardware Detail 2.1 Hardware introduction 1. Chip
UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter2.Hardware Detail 2.1 Hardware introduction 1. Chip

Chapter2.Hardware Detail

I , II&III) USER’S GUIDE Chapter2.Hardware Detail 2.1 Hardware introduction 1. Chip of MCU U4: PIC16F722

2.1 Hardware introduction

1. Chip of MCU U4: PIC16F722Packaging SSOP

2. 5-pin USB socket J10 of mini B type: serves as +5V power supply as well as serial communication port

3. USB 9-pin J8: same as J10

4. Signal conversion chip for USB communication: CP2102Packaging: QFN

5. Single-row female socket J4: for the connection with blue backlight & white character 16*2 LCD

6. Transistor of NPN type Q1, Q3: They are used to convert TTL level to CMOS level when communicating. Packaging SOT23

7. MOSFET of P type Q4: FDN302P. It is used to adjust the backlight brightness of LCD display. Packaging: SOT23.

8. Resistor R16 and capacitor C10: They constitute the RC low pass filter system and are used to adjust the contrast ratio of LCD.

9. Reserved programming port J9 The current over USB power cable shall not exceed 200mA.

10. EEPROM U5:24C04.packaging:SOICAvailable in Edition II and Edition III only

11. Thermo-sensitive resistor R11: detect ambient temperature (available in Edition II only)

12. Temperature sensor U2:LM75packaging SOIC.available in Edition III only

2.2

Pinouts

 

J4

 

No

Pin name

Functions

1

GND

GND

2

+5V

Positive output of +5V power supply

3

Vo

Contrast ratio voltage output

4

RS

For the selection of register

5

RW

For the selection of read & write

6

E

For Enabling

7~14

DB0~DB7

For data bus

15

A

Positive of backlight power

16

K

Negative of backlight power, GND

J8

 

No

Pin name

Function

12

VCC

USB+5V

3

D-

USB Data-

5

D+

USB Data+

78

GND

GND

4,6,9,10

NC

No Connection

2.3 Mechanical drawing

Hardware Detail

Hardware Detail NOTE: Please note that the inner diameter of one of the hex screws of
Hardware Detail NOTE: Please note that the inner diameter of one of the hex screws of
Hardware Detail NOTE: Please note that the inner diameter of one of the hex screws of

NOTE: Please note that the inner diameter of one of the hex screws of LCD is 2.5mm while it is 3mm for the board beneath the LCD when you choose Allan key.

for the board beneath the LCD when you choose Allan key. DE-LD011 & DE-LD012 & DE-LD013_Ver1.0_Page
1602 LCD DISPLAY BOARD WITH UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter3.Tips

1602 LCD DISPLAY BOARD WITH UART BASED USB (EDITION III&III) USER’S GUIDE

UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter3.Tips for usage 1. This product only
UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter3.Tips for usage 1. This product only

Chapter3.Tips for usage

I , II&III) USER’S GUIDE Chapter3.Tips for usage 1. This product only supports the communication of

1. This product only supports the communication of D+ and D-, a set of data cable in 9-pin USB.

Besides, users need to avoid using mini USB and 9-pin power cable simultaneously for the communication with computer.

2. If the contrast ratio, backlight brightness and displaying contents vary after running LCD Smartie

application, it proves that LCD display has successfully received the info from LCD Smartie.

3. The backlight brightness can be adjusted only when the backlight is turned on. Otherwise, the

backlight brightness cannot be adjusted once the backlight is turned off. LCD display will turn the backlight off upon receiving the command of “Turn backlight off” even when the communication is in progress. Therefore, the backlight brightness cannot be adjusted by the slider bar and users need to click “Backlight off” first and click “Backlight On” again. Please refer to item 4 in Quick Start for details.

4. Katakana will be displayed if the characters sent by your computer exceed the range of common

ASCII code.

5. Please refer to http://lcdsmartie.sourceforge.net/ for more details about LCD Smartie.

6. Do not use LCD Smartie and Sure-LCD simultaneously.

7. Tips will not be displayed once the power is off. If you send newly-created tips to MCU, previous tips

will be replaced.

8. You may refer to help of application for use of Sure-LCD.

1602 LCD DISPLAY BOARD WITH UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter4.

1602 LCD DISPLAY BOARD WITH UART BASED USB (EDITION III&III) USER’S GUIDE

UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter4. Appendix Appendix1 Schematics U1 U3 1
UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter4. Appendix Appendix1 Schematics U1 U3 1

Chapter4. Appendix

I , II&III) USER’S GUIDE Chapter4. Appendix Appendix1 Schematics U1 U3 1 14 NC NC4 +5V

Appendix1 Schematics

U1 U3 1 14 NC NC4 +5V +5V +5V SCL 2 13 SDA SCL SDA
U1
U3
1
14
NC
NC4
+5V
+5V
+5V
SCL
2
13
SDA
SCL
SDA
CYT6167-3.3V
3
12
Fout
/INTB
U4
U2
LM75
D1
BAT54/SOT
4
11
NC1
GND
SDA
1
8 7
+5V
3
2
1
3
5
10
SDA
+VS
IN
OUT
TEST /INTA
R1
SCL
2
6
9
SCL
A0
VDD
NC3
20
3
6
87
VDD
O.S.
A1
NC2FOE
103
19
2
RS
4
5
C1
C2
Vss
RA0/AN0
GND
A2
R2
472
8
3
RW
Vss
RA1/AN1
MCLR
4
Vin1
SMD
RX-8025
RA2/AN2
5
Vin2
105
105
RA3/AN3/VREF
6
SCL
IIC Software Simulation
RA4/TOCKI
C3
7
SDA
RA5/AN4/SS
104
21
DB0
RB0/INT
22
DB1
Charge Li-battery
RB1
23
DB2
RB2
MCLR
DB3
+5V
+5V
+5V
1
24
R3
MCLR
RB3
9
25
DB4
270R
OSC1/CLKIN
RB4
10
26
DB5
OSC2/CLKOUT
RB5
Y1
TBD
27
RB6/ICSPCLK
R4
472
DB6
RB6
1
2
28
RB7/ICSPDAT
R5
472
DB7
R6
R7
RB7
11
E
10K
10K
U5
24C04
RC0/T1OSO/T1CKI
12
PWM1
8
1
BAT1
RC1/T1OSI
VCC
PRE
C4
C5
13
PWM2
7
2
RC2/CCP1
MODE/WC
E1
14
SDA
5
3
Li-ion/3V
22pF
22pF
RC3/SCK/SCL
SDA
E2
15
SCL
6
4
RC4/SDI/SDA
SCL
VSS
16
9
RC5/SDO
17
722TX
GND
2
1
RC6/TX
18
722RX
8
RC7/RX
GND
EEPROM
7
2
1
GND
PIC16F722-I/SP
6
GND
+5V
+5V
+5V
+5V
+5V
+5V
U6
2
1
SP232ECN
R8
C6
104
Brightness Module
R9
R10
C7
104
1
R11
Sensor
C1+
J1
CON4
1K
2
+5V
V+
1K
1K
3
C1-
J2
1
C8
104
NTC-SMD
Vcc
+5V
2
TxD/CMOS
C9
104
4
1
TxD/CMOS
C2+
3
RxD/CMOS
6
Vin2
2
Vin1
RxD/CMOS
V-
4
TxD/USB/CMOSout
5
3
GND
C2-
TxD/232out
TTL/CMOS Interface
1
Q1
13
12
b
R1in
R1out
9014
RxD/232
7
10
RxD/232in
T2out
T2in
TxD/232
R12
681
1
Q2
R13
R14
b
J3
CON4
TXD/USB
R15
681
1
Q3
9014
TxD/232
8
9
TxD/232out
Thermistor
b
R2in
R2out
9014
14
11
103
103
T1out
T1in
1
Vcc
+5V
2
TxD/232
TxD/CMOS
TxD/232
3
RxD/232
2 1
RxD/232
4
GND
TTL Acceptable
& CMOS Level
RS232 Interface
Convert 232 level to TTL level
1
G
2
1
2 1
J4
CON16
+5V
+5V
+5V
1
GND
2
+5V
+5V
PWM2
R16
102
Vo
3
Vo
RS
4
RS
TxD/USB/CMOSout
R17
0R
722RX
RW
5
RW
E
6
R18
R19
R20
E
DB0
7
DB0
TxD/232out
R21
0R
C10
DB1
8
220ohm
330ohm
220ohm
DB1
DB2
9
DB2
104
DB3
10
DB3
DB4
11
Tansmit
Reception
Power
32
DB4
DB5
ec
12
Q4
Indicator(G)
Indicator(Y)
Indicatorr(G)
DB5
DB6
13
DB6
722TX
R22
0R
RxD/CMOS
DB7
14
FDN302P
DB7
32
15
+5V
DS
A
+5V
+5V
+5V
+5V
+5V
16
J5
CON2
J6
CON2
J7
CON2
K
R23
0R
RxD/232in
1
1
1
2
2
2
R24
392
RXD/USB
PWM1
R25
R26
16*2LCD Interface
C11
C12
C13
C14
C15
104
104
104
104
104
UART Level Selected by Resistor
471
471
32
ec
722TX
R27
U7
CP2102
7
4.7k
REGIN
9
RST
6
+3.3V
VDD
11
SUSPEND
C16
C17
3
12
722RX
GND
SUSPEND
+5V
105
105
J8
J9
ICD Connector
VIN
1
2
VIN
VCC
VCC
D-
3
4
MCLR
1
DATA-
DATA-
1
2
D+
5
6
2
RI
DATA+
DATA+
2
1
7
8
3
DCD
GND
GND
3
+5V
28
9
10
RB7/ICSPDAT
4
DTR
NC
NC
4
27
RB6/ICSPCLK
5
DSR
5
J10USB
CON10
6
6
1
VIN
F1
FUSE
8
26
TXD/USB
VBUS
VBUS
TXD
2
D-
5
25
RXD/USB
D-
D-
RXD
3
D+
4
24
D+
D+
RTS
4
23
NC
CTS
5
U8
PRTR5V0U2X
GND
32
TEST
ec
34
I/O2VCC
D2
1
2
GND
I/O1
TBD
1
GND
2
1
2
1
2
1
15
16
GND
VCC
2
1
2
1
2
1
21
B+B-
1 2 1 2 1 15 16 GND VCC 2 1 2 1 2 1 21

Appendix

Appendix Appendix2 PCB Layout © 2004-2009 Sure Electronics Inc. DE-LD011 & DE-LD012 & DE-LD013_Ver1.0_Page 15
Appendix Appendix2 PCB Layout © 2004-2009 Sure Electronics Inc. DE-LD011 & DE-LD012 & DE-LD013_Ver1.0_Page 15

Appendix2 PCB Layout

Appendix Appendix2 PCB Layout © 2004-2009 Sure Electronics Inc. DE-LD011 & DE-LD012 & DE-LD013_Ver1.0_Page 15
Appendix Appendix2 PCB Layout © 2004-2009 Sure Electronics Inc. DE-LD011 & DE-LD012 & DE-LD013_Ver1.0_Page 15

Appendix

Appendix Appendix3 Command Set No Command to MCU Command MCU to PC   Trial Version Applicable
Appendix Appendix3 Command Set No Command to MCU Command MCU to PC   Trial Version Applicable

Appendix3 Command Set

No

Command to MCU

Command

MCU to PC

 

Trial Version

Applicable in

Description

Edition I

Edition

Edition

LCD

 

II

III

Smartie

Sure-LCD

 

Started with 0xFE,0x47 ,0x01,

Display 16 characters that followed in row 1 of LCD

           

1

0x01 and followed by 16 characters

Y

Y

Y

Y

Y

 

started with

Display 16 letters that followed in row 2 of LCD

           

2

0xFE,0x47,0x01,0x02 and followed by 16 characters

Y

Y

Y

Y

Y

 

started with 0xFE,0x50 and

Adjust LCD contrast ranging from

           

3

followed by a hex ranging from

Y

Y

Y

Y

Y

0x01~0xFE

0x01~0xFE

 

started with 0xFE,0x98 and

Adjust backlight brightness ranging from 0x01~0xFE

           

4

followed by a hex ranging from

Y

Y

Y

Y

Y

0x01~0xFE

5

0xFE,0x46

Turn backlight off

 

Y

Y

Y

Y

Y

6

0xFE,0x42,0x00

Turn backlight on (with the latest configuration)

 

Y

Y

Y

Y

Y

 

Started with 0xFE,0x4E, i and

Customize character pattern of

0~7CGRAM

           

7

followed by 8 hex numbers (range of i is 0~7)

Y

Y

Y

Y

N

8

0xFE,0x63

Request MCU to send LCD contrast reading

CR001~CR254 represents contrast values at different levels

N

Y

Y

N

Y

   

Request MCU to send LCD backlight reading

BKLT001~BKLT254

         

9

0xFE,0x62

represents backlight brightness at different level

N

Y

Y

N

Y

10

0xFE,0x76

Request MCU to send version number

wwhhpeeltrrr wwhh:Indicates the size of LCD screen, e.g.: 1602,

N

Y

Y

N

Y

2004

 

P: indicates whether RX8025

Appendix

Appendix       exists or not, 1 indicates yes,           0
Appendix       exists or not, 1 indicates yes,           0
     

exists or not, 1 indicates yes,

         

0

indicates no and USB is

adopted. 24C04 is only available in higher version. e: indicates the size of EEPROM, 2 n Kbit such as 2

indicates 2 2 Kbit, i.e. 4Kbit. l: indicates whether a photosensitive resistor exists or not, 0 indicates no, 1 indicates yes. t: indicates whether a thermal resistor (or LM75) exists or not. 0 indicates no,

indicates thermal resistor exists, 2 indicates LM75 exists. rrr: defaulted as 000, reserved

1

11

0xFE,0x77

Request MCU to send temperature

Fabc°d F: it will be blank if the temperature is above freezing and will be “-” if the temperature is below zero. Abc: temperature reading. If the absolute value of the temperature is less than 99, “a” will be null, if less than 10, “b” will be null. “°” is degree. D is C or F, indicates centigrade and Fahrenheit

N

Y

Y

N

Y

 

Started with 0xFE,0x57 and

 

Refer to 11 for the way of display, the contents will be aligned left when display, while the remaining is space

         

12

followed by i (the range of i is

display temperature in row i of LCD

N

Y

Y

N

Y

0x01~0x02)

13

0xFE,0x53,0x75,

establish

 

N

Y

Y

N

Y

0x72,0x65

communication

  N Y Y N Y 0x72,0x65 communication © 2004-2009 Sure Electronics Inc. DE-LD011 & DE-LD012

© 2004-2009 Sure Electronics Inc.

DE-LD011 & DE-LD012 & DE-LD013_Ver1.0_page 17

Appendix

Appendix   Started with 0xFE,0x48,0x01, i Save tips and simulate contents displayed in row i, the
Appendix   Started with 0xFE,0x48,0x01, i Save tips and simulate contents displayed in row i, the
 

Started with 0xFE,0x48,0x01, i

Save tips and simulate contents displayed in row i, the minimum of i is 0x02 in 16*2 LCD.

         

14

and followed by 16 or 20 characters (range of I is 0x01~0x0a in hex)

N

N

Y

N

Y

 

Started with 0xFE,0x57 and

Set temperature type:

         

15

followed by i (i is either 0x46 or

F: Fahrenheit C:

N

Y

Y

N

Y

0x43)

centigrade

16

0xFE,0x64

Turn LCD display ON or OFF

N

Y

Y

N

Y

17

0xFE,0x66

Close application and this command can also be used to start tips

N

N

Y

N

Y

can also be used to start tips N N Y N Y DE-LD011 & DE-LD012 &
1602 LCD DISPLAY BOARD WITH UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter5.Contact

1602 LCD DISPLAY BOARD WITH UART BASED USB (EDITION III&III) USER’S GUIDE

UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter5.Contact Us Sure Electronics Co., Ltd. 5F,
UART BASED USB (EDITION I , II&III) USER’S GUIDE Chapter5.Contact Us Sure Electronics Co., Ltd. 5F,

Chapter5.Contact Us

I , II&III) USER’S GUIDE Chapter5.Contact Us Sure Electronics Co., Ltd. 5F, Zone A, Qinhuai Technology

Sure Electronics Co., Ltd. 5F, Zone A, Qinhuai Technology Innovation Center 105-2 DaMing Rd (ZIP:210022) Nanjing P.R.China Tel: +86-25-66606340 (English service, from GMT1-10AM) +86-13601408832 (For technical questions & Reseller qualifications) Fax: +86-25- 66606340 Website: www.sure-electronics.com www.sure-electronics.net

Website: www.sure-electronics.com www.sure-electronics.net © 2004-2009 Sure Electronics Inc. DE-LD011 &