CEC Huada Electronic TLG10UA03 User manual

Characteristic
Interface
2*4 pins of Interface: HDR254M-2X4
The range of baud rate: 1200~
115200bps
RTS / CTS Hardware flow control
single 3.3V power supply
Wireless
support IEEE802.11b/g wireless
standards
support the range of frequency:
2.412~2.484 GHz
support two types of wireless
networks:
Ad hoc and Infrastructure
support multiple security authenti-
cation mechanisms:
WEP64/WEP128/
TKIP/CCMP(AES)
WEP/WPA-PSK/WPA2-PSK
support quick networking
support wireless roam
Others
support multiple network protocols:
TCP/UDP/ICMP/DHCP/DNS/HTT
P
support two types of work modes:
auto and command
Support transparent transmission
mode
support AT+ instruction set
summarize
TLG10UA03 is the new third-generation
embedded Uart-Wifi modules studied by
CEC Huada Electronic Design Co., Ltd.
Uart-Wif is an embedded module based
on the Uart serial,according with the WiFi
wireless WLAN standards, It accords with
IEEE802.11 protocol stack and TCP / IP
protocol stack ,and it enables the data
conversion between the user serial and the
wireless network module. through the
Uart-Wifi module, the traditional serial
devices can easily access to the wireless
network.
TLG10UA03 does a comprehensive
hardware and software upgrades based on
the products of the first two generations,now
it’s more functional and more Convenient to
use,its main features include,
Support transparent transmission of
serial completely,and achieve a plug
and play serial.
Support new AT+instruction set,

Which is all based on ASCII format,
it’s simple to use and pellucid.
Support more perfect TCP/IP
protocol tack, support DHCP
protocol for dynamicassignation of
IP address and DNS domain name
parsing.
Embed WEB server, and achieve
the long-range parameters configur
-ation through wireless network with
IE browser.
Support more prefect transmission
performance,the maximum sending
rate can reach to 11KB/s.
support a variety of parameters
configuration methods:
serial/WEB server/wireless conn-
ection
Application
intelligent bus network, such as
wireless credit card machine
small financial payment network,
such as wireless POS machine
industrial equipment networking,
such as wireless sensor
things

Contents
1 INTRODUCTION............................................................................................................................................ 6
2 OVERVIEW................................................................................................................... 错误!未定义书签。
2.1 TECHNICAL SPECIFICATION........................................................................................ 错误!未定义书签。
2.2 HARDWARE INTRODUCTION........................................................................................ 错误!未定义书签。
2.2.1 Mechanical Dimension ..................................................................................... 错误!未定义书签。
2.2.2 External Interface.............................................................................................. 错误!未定义书签。
2.2.3 Antenna(optional)........................................................................................ 错误!未定义书签。
2.2.4 Serial Adapter (optional)................................................................................... 错误!未定义书签。
2.2.5 Wireless adapter(optional)........................................................................... 错误!未定义书签。
2.3 MAIN FEATURES ......................................................................................................... 错误!未定义书签。
2.3.1 Wireless Network Connection .......................................................................... 错误!未定义书签。
2.3.2 Plug and Play Serial.......................................................................................... 错误!未定义书签。
2.3.3 Command Mode of Serial................................................................................. 错误!未定义书签。
2.3.4 TCP/IP Protocol stack....................................................................................... 错误!未定义书签。
2.3.5 Flexible Parameter Configuration..................................................................... 错误!未定义书签。
2.3.6 Multi-functional GPIO...................................................................................... 错误!未定义书签。
2.3.7 Firmware upgrade online.................................................................................. 错误!未定义书签。
3 QUICK START WIZARD................................................................................................................................ 8
3.1 PREPARATION............................................................................................................................................... 8
3.2 SETTING PARAMETERS.................................................................................................................................. 8
3.3 TESTING...................................................................................................................................................... 10
4 PRODUCT DESIGN GUIDE......................................................................................... 错误!未定义书签。
4.1 HARDWARE CONNECTION .......................................................................................... 错误!未定义书签。
4.2 WORK MODE............................................................................................................... 错误!未定义书签。
4.2.1 Start-up mode selection..................................................................................... 错误!未定义书签。
4.2.2 Auto-work mode............................................................................................... 错误!未定义书签。
4.2.3 Command work mode....................................................................................... 错误!未定义书签。
4.3 PARAMETER DETAILS................................................................................................. 错误!未定义书签。
4.3.1 Wireless parameters .......................................................................................... 错误!未定义书签。
4.3.2 Network Parameters.......................................................................................... 错误!未定义书签。
4.3.3 Parameters of work mode ................................................................................. 错误!未定义书签。
4.3.4 Advanced wireless parameters.......................................................................... 错误!未定义书签。
4.3.5 Port parameters ................................................................................................. 错误!未定义书签。
4.3.6 Parameters of transparent mode........................................................................ 错误!未定义书签。

4.3.7 System parameters ............................................................................................ 错误!未定义书签。
4.4 DEFAULT SETTING....................................................................................................... 错误!未定义书签。
4.5 TYPICAL APPLICATION EXAMPLES.............................................................................. 错误!未定义书签。
4.5.1 The networking of active serial device ............................................................. 错误!未定义书签。
4.5.2 The networking of passive serial device........................................................... 错误!未定义书签。
4.5.3 The networking with broadcast method of serial device................................... 错误!未定义书签。
4.5.4 Wireless virtual serial........................................................................................ 错误!未定义书签。
4.5.5 Multi-network connection mode....................................................................... 错误!未定义书签。
5 CONFIGURATION MANAGEMENT MANUAL........................................................................................ 12
5.1 CONFIGURATION THROUGH CONFIGURATION MANAGEMENT SOFTWARE.................................................... 12
5.1.1 Introduction....................................................................................................................................... 12
5.1.2 Module management......................................................................................................................... 12
5.1.3 Configuring parameter...................................................................................................................... 14
5.1.4 Function test...................................................................................................................................... 18
5.1.5 System information........................................................................................................................... 27
5.1.6 Firmware upgrade............................................................................................................................. 27
5.2 CONFIGURATION THROUGH WEB SERVER.................................................................................................. 28
5.2.1 Query/set configuration parameter.................................................................................................... 29
5.2.2 Firmware upgrade on line................................................................................................................. 30
5.3 CONFIGURATION THROUGH SUPER TERMINAL PROGRAM............................................................................ 30
6 AT+INSTRUCTION CONTROL PROTOCAL............................................................. 错误!未定义书签。
6.1 SYNTAX INTRODUCTION............................................................................................. 错误!未定义书签。
6.1.1 Syntax Format................................................................................................... 错误!未定义书签。
6.2 INSTRUCTION SET....................................................................................................... 错误!未定义书签。
6.2.1 Instruction List.................................................................................................. 错误!未定义书签。
6.2.2 Network Control Type ...................................................................................... 错误!未定义书签。
6.2.3 System control type........................................................................................... 错误!未定义书签。
6.2.4 Parameter Setting Type..................................................................................... 错误!未定义书签。
6.3 SAMPLE CODE............................................................................................................. 错误!未定义书签。
6.3.1 Description of sample code............................................................................... 错误!未定义书签。
6.3.2 Operation flow of WiFi module in command mode ......................................... 错误!未定义书签。
6.3.3 main data framework of sample code ............................................................... 错误!未定义书签。
6.3.4 Operation of serial data..................................................................................... 错误!未定义书签。
6.3.5 The function used to parse the return parameters of AT instruction.................. 错误!未定义书签。
6.3.6 The function of operating character string........................................................ 错误!未定义书签。
6.3.7 The parsing sample of several AT instructions sending .................................... 错误!未定义书签。

APPENDIX A FREQUENT QUESTIONS AND ANSWERS............................................. 错误!未定义书签。
Q1: WHY CAN NOT THE MODULE SEARCH FOR THE SPECIFIED NETWORK? A: THE CHANNEL
LIST USER SET DOESN’T CONTAIN THE CHANNELWHICH THE SPECIFIED NETWORK WORK IN.错误!未定义书签。
Q2: WHY CAN NOT THE MODULE JOIN IN THE NETWORK?................................................... 错误!未定义书签。
Q3: WHY DOES THE MODULE NEED ABOUT 10 SECONDS TO RESPONSE THE COMMAND OR CONNECT TO
NETWORK AUTOMATICALLY,WHEN ENCRYPTION MODE IS SET TO WPA/WPA2? .............. 错误!未定义书签。
Q4: THE MODULE HAS CONNECTED TO THE NETWORK SUCCESSFULLY,WHY CAN’T IT SHOW “DESTINATION
HOST UNREACHABLE”OR “REQUEST TIMED OUT”AFTER DOING THE OPERATION PING BETWEEN THE MODULE
AND PC................................................................................................................................ 错误!未定义书签。
Q5: IN AUTO-WORK MODE,THE ICMP CONNECTION SOMETIMES CONNECTS AND SOMETIMES DISCONNECTS
AFTER THE MODULE HAS JOINED IN THE NETWORK,WHY?................................................... 错误!未定义书签。
Q6: IN AUTO-WORK MODE,WHY DOES THE MODULE NOT CONNECT TO THE NETWORK AUTOMATICALLY AFTER
RESETTING? ......................................................................................................................... 错误!未定义书签。
Q7: IN AUTO-WORK MODE,DATA SENT TO THE MODULE THROUGH SERIAL WILL DELAY SOMETIME TO SEND TO
THE NETWORK,WHY?........................................................................................................... 错误!未定义书签。
Q8: IN AUTO-WORK MODE,WHY DOES THE MODULE NOT EXIT THE TRANSMISSION STATE,AFTER INPUTING THE
ESCAPE CHARACTER? .......................................................................................................... 错误!未定义书签。
Q9:WHY CAN NOT THE CONFIGURATION PROGRAM SEARCH FOR THE TARGET MODULE?... 错误!未定义书签。
Q10:TO MODIFY THE PARAMETERS WITH CONFIGURATION PROGRAM,WHY DOES IT SHOW THE ERROR ’USED
PROHIBITIVE OPERATING SYMBOL’?..................................................................................... 错误!未定义书签。
Q11: WHY CAN NOT WEB PAGES OF THE WEB SERVER OPEN?............................................. 错误!未定义书签。
Q12:WHEN USER SETS THE SERIAL TO THE PAUD RATE IT DOES NOT SUPPORT,THE MODULE CAN’T BE
CONNECTED TO,THEN HOW TO CORRECT IT ? ...................................................................... 错误!未定义书签。
Q13:IN WIRELESS CONNECTION STATE,WHY CAN NOT THE SPECIFIED MODULE BE SEARCHED FOR?错误!未定义书签。
Q14: IN SOME ENVIRONMENT THE MODULE USED,WHY IS THE QUALITY OF WIRELESS CONNECTION ALWAYS
BAD,AND HOW TO IMPROVE THE WIRELESS TRANSMISSION? ............................................... 错误!未定义书签。
APPENDIX B REVISION HISTORY OF THE DOCUMENT.............................................. 错误!未定义书签。

1Introduction
TLG10UA03 is the new third-generation embedded Uart-Wifi modules studied by CEC
Huada Electronic Design Co., Ltd (here in after referred to as HED). Uart-Wif is an
embedded module based on the Uart serial,according with the WiFi wireless WLAN
standards, It accords with IEEE802.11 protocol stack and TCP / IP protocol stack,and it
enables the data conversion between the user serial and the wireless network module.
through the Uart-Wifi module, the traditional serial devices can easily access to the
wireless network.
TLG10UA03 does a comprehensive hardware and software upgrades based on the
products of the first two generations,now it’s more functional and more Convenient to
use,its main features include:
Interface:
2*4 pins of Interface: HDR254M-2X4
The range of baud rate: 1200~115200bps
RTS / CTS Hardware flow control
single 3.3V power supply
Wireless
support IEEE802.11b / g wireless standards
support the range of frequency: 2.412~2.484 GHz
support two types of wireless networks:
Ad hoc and Infrastructure
support multiple security authentication mechanisms:
WEP64/WEP128/ TKIP/CCMP(AES)
WEP/WPA-PSK/WPA2-PSK
support quick networking
support wireless roam
Others
support multiple network protocols
TCP/UDP/ICMP/DHCP/DNS/HTTP
support two types of work modes:
auto and command
Support the transparent transmission mode

support AT+ instruction set
support a variety of parameters configuration methods:
serial / WEB server / wireless configuration
Application
intelligent bus network, such as wireless credit card machine
small financial payment network, such as wireless POS machine
industrial equipment networking, such as wireless sensor
Things

2Quick Start Wizard
2.1 Preparation
Hardware
TLG10UA03 module
serial adapter board
serial cable
Software
UART-WIFI configuration management program
serial debugging software,such as serial debugging assistant, serial master
(,)and the like.
TCP/UDP debugging software, such as TCP/UDP test tool(
TCPUDPDbg.exe
)and so
on.
2.2 Setting parameters
1、Run the UART-WIFI configuration management program.
2、Connect TLG10UA03 module with Serial adapter board, and then turn the power on
after the serial caple has been connected, as shown below:

Figure 3-1 connection between with serial adapter board and UART-WIFI module
3、click "search modules", as shown below:
Figure 3-2 Search modules successfully

4、According to the wireless router (AP) that you connect to, you can modify the
parameters of wireless settings, including network name, encryption, keys and the IP
address of network settings.
5、Modify the working mode settings, select the "enable auto-work mode" option and set
the parameters according to what you want.
6、After modifying parameters as shown below, click "submit " and select "manually reset
later" in the pop-up dialog box.
Figure3-3 Modify parameters of UART-WIFI module
2.3 Testing
1、Run TCP / UDP debugging software, create a TCP Server whose detecting port is

60000.
2、Run serial debugging software, such as RealTerm.exe in this case. Modify parameters.
Figure3-5 modify the parameters of ComMaster
3、Repower the serial adapter plate(or press the reset button), and the TLG10UA03
module will reset and automatically connect to the network and TCP server. Then you
can begin your transmission test between ComMaster and the TCP/UDP test tools.

3Configuration management manual
3.1 Configuration through configuration management software
3.1.1 Introduction
We offer a configuration hypervisor that can manage TLG10UA03 module expediently,
for configuration querying、config、function test etc,its main function includes,
module management
managemant through serial
managemant through wireless connection
parameter configuration
modify/query module parameters
import/export parameters
modify parameters for a group of modules
resume to default setting
function test
wireless network command test
socket command test
AT+ instruction test
firmware upgrade
system information query
3.1.2 Module management
3.1.2.1 Management through serial connection
1、Connect the TLG10UA03 module to the serial adpater,then turn it power-on;
2、Open the UART-WIFI configuration hypervisor,select the port number of connection
from port list,you can select ‘auto’ unless you make sure;
3、Click ‘search module’,if the connection port is selected to ‘auto’ and the computer has
more than one serial,it maybe expend a long time for searching, The following sketch
map will show after search completed:

figure5-1 serial connection sketch map
3.1.2.2 Management through wireless connection
Note:Using this function needs to choose correct wireless adapter and install wireless
driver correctly.
1、Plug the wireless adapter in computer,it’s shown as the figure 2-5;
2、Install wireless driver,the successful result is shown as the following sketch map;
Figure5-2 Install wireless driver
3、Open the UART-WIFI configuration hypervisor,if the driver is installed successfully,
setting frame of wireless connection will be in activation status;
4、Click ‘setting’ button,input system password(only the module of which the system
password matchs with the setting can be scanned);

5、Select scan channel from channel list. It will scan all channels from 1 to 14 ,if ‘auto’ is
selected;
6、Click ‘search module’,if channel is selected to ‘auto’,it will expend a long time to
search,the completed result is shown as the following sketch map:
Figure5-3 sketch map of wireless connection
3.1.3 Configuring parameter
This section offers the function of fast querying/modifying configuration parameter of
module for user.

figure5-4 configure parameters
3.1.3.1 Refresh parameter
User can refresh the configuration parameter from wireless module and show in the
display interface through clicking the ‘refresh parameter’button.
3.1.3.2 Submit modification
User can click ‘submit modification’ button after modifying configuration parameter
(including parameter in advanced setting)in the display interface to save the parameters
into wireless module. New parameters will become effective until wireless module has
been reset,user can select to reset at once or manually reset later in pop-up dialog box
after modifying,it’s shown as the following sketch map,

figure5-5 sketch map of submitting modification
3.1.3.3 Restore to factory setting
User clicks ‘’ button to restore the configuration parameters of the wireless module into
factory status. After restoring,the factory setting becomes effect until the module has been
reset.

figure5-6 sketch map of restoring to factory setting
3.1.3.4 Import/export parameters
User can save all configuration parameters in display interface to the specified
configuration file through clicking the ‘export parameters’button, and apply all parameter
which are saved in configuration file through clicking ‘import parameter’ button. What
should be noted is that, using import parameter function only imports parameters to the
display interface,the imported parameters can be wrote in wireless module actually until
clicking the ‘submit modification’.

figure5-7 sketch map of Importing parameters
3.1.3.5 Group modification
Group modificatio will be activated when configuration hypervisor has searched for more
than one wireless module. If user selects the function,the modified parameters will be
applied to all of the wireless modules automatically through clicking ‘modify all’. This
function can predigest operation steps and enhance work efficiency when a lot of modules
need to be restored to the default configuration.
3.1.4 Function test
This section offers the function of fast testing AT+ instruction for user,the user can
jump over this section when using auto-work mode. Additionally,this function can not work
while the module is configured through wireless connection.
User can send command through shortcut button of usual instruction or inputting AT+
instruction directly,it is shown as the following sketch map,

figure5-8 function test page
3.1.4.1 Network scanning
User can click ‘scan’ button to scan network as the following sketch map. Scan result
will show in the following display frame,such as network type、encryption、network MAC、
channel、signal strongth etc.

figure5-9 network scanning
3.1.4.2 Join/Disconnect network
User can click the ‘’ button to join or disconnect the wireless network as the following
sketch map, the result will show in the following display frame.
This manual suits for next models
1
Table of contents