Jinan USR IOT Technology WIFI232-A, WIFI232-B, WIFI232-C User Manual

USR-WIFI232- A/B/C User Manual http://www.usriot.c om
USR-WIFI232-
USR-WIFI232-
USR-WIFI232-
USR-WIFI232- A/B/C
Embedded
Embedded
Embedded
Embedded WiFi
WiFi
WiFi
WiFi Module
Module
Module
Module User
User
User
User Manual
Manual
Manual
Manual
Version V5.0.8
Remarks: This module is applicable to USR-WIFI232-A/B/C and its derivatives, for example USR­WIFI232-2/6 1 0 . For USR-WIFI232-G/T /S , please refer to the corresponding document.
Note: this article is based on the firmware version for V5.01.01 and above version of the module,
if the version is lower than this version, some function is not supported.
1
Jinan USR IOT Technology Limited Page
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Table
Of
Table
Table
Table Of
Contents
Of
Contents
Of Contents
Contents
1 Quick Start .................................................................................................................................................. 7
1.1 Hardware connect .......................................................................................................................... 7
1.2 Network connection ........................................................................................................................ 7
1.3 communication test ........................................................................................................................ 9
2 Product Overview ...................................................................................................................................... 9
2.1 General Description ..................................................................................................................... 10
2.2 Device Features ........................................................................................................................... 10
2.3 Device Paremeters .......................................................................................................................
2.4 Key Application .............................................................................................................................
2.5 Package Information .................................................................................................................... 12
2.5.1 Recommended Reflow Profile ........................................................................................ 12
2.5.2 Device Handling Instruction (Module IC SMT Preparation) ........................................ 12
2.5.3 Shipping Information ......................................................................................................... 13
3 Hardware Introduction ............................................................................................................................ 13
3.1 Pins Definition ............................................................................................................................... 13
3.1.1 USR-WIFI232-A/B Pins Definition .................................................................................. 13
3.1.2 USR-WIFI232-Ca/Cb Pins Definition ............................................................................. 15
3.2 Mechanical Size ........................................................................................................................... 16
3.2.1 USR-WIFI232-A/B ............................................................................................................. 16
3.2.2 USR-WIFI232-Ca/Cb ........................................................................................................ 17
3.3 Antenna .......................................................................................................................................... 18
3.3.1 On-board Chip Antenna ................................................................................................... 18
3.3.2 External Antenna ............................................................................................................... 18
3.4 Evaluation Kit ................................................................................................................................ 19
3.5 Hardware Reference Design ...................................................................................................... 21
3.5.1 Hardware Typical Application .......................................................................................... 21
3.5.2 10/100M Ethernet Interface ............................................................................................. 22
3.5.2.1 Ethernet Connection with Transformer ............................................................... 22
3.5.2.2 Ethernet Connection without Transformer ......................................................... 23
3.5.3 UART Interface .................................................................................................................. 25
3.5.4 Power Interface ................................................................................................................. 25
4 Modules Function Description ............................................................................................................... 25
4.1 User configuration process ......................................................................................................... 26
4.2 Working mode ............................................................................................................................... 26
4.2.1 Transparent Mode ............................................................................................................. 26
4.2.2 Serial command mode ..................................................................................................... 27
4.2.3 GPIO mode ........................................................................................................................ 28
4.2.4 HTTPD Client mode ......................................................................................................... 28
4.3 Wireless Networking .................................................................................................................... 29
4.3.1 STA ...................................................................................................................................... 30
4.3.2 AP ........................................................................................................................................ 30
4.3.3 AP+STA .............................................................................................................................. 31
4.4 Ethernet Interface Communication ............................................................................................ 32
11 11
Jinan USR IOT Technology Limited Page
2
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
4.4.1 USR-WIFI232-A/B/C Ethernet Interface Networking (As AP) .................................... 32
4.4.2 USR-WIFI232-A/B/C Ethernet Interface Networking (As STA, N-Ver) ...................... 33
4.4.3 USR-WIFI232-A/B/C Ethernet Interface Networking (As STA, Z-Ver) ...................... 34
4.5 WI-FI parameter setting ............................................................................................................... 34
4.5.1 Auto- Frequency Function ............................................................................................... 34
4.5.2 Security ............................................................................................................................... 34
4.5.3 Search Function for STA .................................................................................................. 35
4.5.4 Address Binding ................................................................................................................ 35
4.6 UART Frame Scheme ................................................................................................................. 35
4.6.1 UART Free-Frame ............................................................................................................ 35
4.6.2 UART Auto-Frame ............................................................................................................ 36
4.7 Network Setting ............................................................................................................................ 36
4.7.1 Socket A ............................................................................................................................. 36
4.7.2 Socket B ............................................................................................................................. 37
4.8 New function ................................................................................................................................. 37
4.8.1 TCP password authentication ......................................................................................... 37
4.8.2 Registered Package ID/MAC .......................................................................................... 37
4.8.3 Self-adaption Baudrate .................................................................................................... 38
4.8.4 WEB IO ............................................................................................................................... 38
4.8.5 Keepalive ............................................................................................................................ 38
4.8.6 Multiple
STA
parameters .................................................................................................. 38
4.8.7 Websocket ......................................................................................................................... 39
4.8.8 Fast access Wi-Fi(usr-link) .............................................................................................. 39
4.9 Palmodic Signal ............................................................................................................................ 41
4.10 Parameters Configuration ......................................................................................................... 41
4.11 Firmware Upgrade ..................................................................................................................... 42
5 Web Accessing and AT+instruction set ................................................................................................ 43
5.1 Configuration via Web Accessing .............................................................................................. 43
5.1.1 Open Web Management Interface ................................................................................. 43
5.1.2 Quick Configure ................................................................................................................ 44
5.1.3 Mode Selection Page ....................................................................................................... 44
5.1.4 AP Interface Setting Page ................................................................................................ 45
5.1.5
STA
Interface Setting Page ............................................................................................. 45
5.1.6 Application Setting Page .................................................................................................. 46
5.1.7 Ethernet Setting ................................................................................................................ 47
5.1.8 HTTPD Client Mode ......................................................................................................... 48
5.1.9 WEB IO ............................................................................................................................... 48
5.1.10 Advanced Page ............................................................................................................... 49
5.1.11 Device Management Page ............................................................................................ 49
5.2 AT+instruction Introduction ......................................................................................................... 50
5.2.1 Configuration Mode .......................................................................................................... 50
5.2.1.1 Switch to Configuration Mode .............................................................................. 51
5.2.2 AT+ Instruction Set Overview .......................................................................................... 51
5.2.2.1 Instruction Syntax Format .................................................................................... 53
Jinan USR IOT Technology Limited Page
3
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
5.2.2.2 AT+ Instruction Set ................................................................................................ 54
5.2.2.2.1 AT+E ............................................................................................................. 56
5.2.2.2.2 AT+ENTM .................................................................................................... 56
5.2.2.2.3 AT+NETP ..................................................................................................... 56
5.2.2.2.4 AT+UART ..................................................................................................... 57
5.2.2.2.5 AT+UARTF .................................................................................................. 57
5.2.2.2.6 AT+UARTFT ................................................................................................ 57
5.2.2.2.7 AT+UARTFL ................................................................................................ 58
5.2.2.2.8 AT+TMODE ................................................................................................. 58
5.2.2.2.9 AT+WMODE ................................................................................................ 58
5.2.2.2.10 AT+WSKEY ............................................................................................... 59
5.2.2.2.11 AT+WSSSID .............................................................................................. 59
5.2.2.2.12 AT+ WSLK ................................................................................................. 59
5.2.2.2.13 AT+WEBU ................................................................................................. 60
5.2.2.2.14 AT+WAP .................................................................................................... 60
5.2.2.2.15 AT+WAKEY ............................................................................................... 61
5.2.2.2.16 AT+HIDESSID ........................................................................................... 61
5.2.2.2.17 AT+MSLP ................................................................................................... 62
5.2.2.2.18 AT+WSCAN ............................................................................................... 62
5.2.2.2.19 AT+ TCPLK ................................................................................................ 62
5.2.2.2.20
AT
+ TCPDIS ............................................................................................. 62
5.2.2.2.21 AT+ WANN ................................................................................................ 63
5.2.2.2.22 AT+ LANN .................................................................................................. 63
5.2.2.2.23 AT+DHCPDEN .......................................................................................... 64
5.2.2.2.24 AT+ DHCPGW .......................................................................................... 64
5.2.2.2.25 AT+ TCPTO ............................................................................................... 64
5.2.2.2.26 AT+ MAXSK .............................................................................................. 65
5.2.2.2.27 AT+TCPB ................................................................................................... 65
5.2.2.2.28 AT+TCPPTB .............................................................................................. 65
5.2.2.2.29 AT+TCPADDB ........................................................................................... 66
5.2.2.2.30 AT+TCPTOB ............................................................................................. 66
5.2.2.2.31 AT+TCPLKB .............................................................................................. 66
5.2.2.2.32 AT+EPHY ................................................................................................... 66
5.2.2.2.33 AT+STTC ................................................................................................... 67
5.2.2.2.34 AT+DOMAIN ............................................................................................. 67
5.2.2.2.35 AT+FUDLX ................................................................................................ 67
5.2.2.2.36 AT+MMID ................................................................................................... 68
5.2.2.2.37 AT+IDFIR ................................................................................................... 68
5.2.2.2.38 AT+IDEVE ................................................................................................. 68
5.2.2.2.39 AT+AABR ................................................................................................... 69
5.2.2.2.40 AT+RELD ................................................................................................... 69
5.2.2.2.41 AT+Z ........................................................................................................... 69
5.2.2.2.42 AT+MID ...................................................................................................... 69
5.2.2.2.43 AT+VER ..................................................................................................... 69
Jinan USR IOT Technology Limited Page
4
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
5.2.2.2.44 AT+H .......................................................................................................... 69
5.2.2.2.45 AT+ HTTPURL .......................................................................................... 70
5.2.2.2.46 AT+ HTTPTP ............................................................................................. 70
5.2.2.2.47 AT+ HTTPPH ............................................................................................ 70
5.2.2.2.48 AT+ HTTPCN ............................................................................................ 70
5.2.2.2.49 AT+ HTTPUA ............................................................................................ 71
5.2.2.2.50 AT+WSSSIDA ........................................................................................... 71
5.2.2.2.51 AT+WSSSIDB ........................................................................................... 71
5.2.2.2.52 AT+WSSSIDC ........................................................................................... 72
5.2.2.2.53 AT+WSKEYA ............................................................................................. 72
5.2.2.2.54 AT+WSKEYB ............................................................................................ 72
5.2.2.2.55 AT+WSKEYC ............................................................................................ 73
5.2.2.2.56 AT+ WSQY ................................................................................................ 74
5.2.2.2.57 AT+ HTPMODE ........................................................................................ 74
5.2.2.2.58 AT+ HTPSV ............................................................................................... 74
5.2.2.2.59 AT+ HTPTP ............................................................................................... 74
5.2.2.2.60 AT+ HTPURL ............................................................................................ 75
5.2.2.2.61 AT+ HTPHEAD ......................................................................................... 75
5.2.2.2.62 AT+ REGEN .............................................................................................. 75
5.2.2.2.63 AT+ REGTCP ............................................................................................ 76
5.2.2.2.64 AT+ REGID ................................................................................................ 76
6 USR-WIFI232-A/B/C Usage Introduction ............................................................................................. 76
6.1 Module Debug .............................................................................................................................. 76
6.1.1 Software Debug Tools ...................................................................................................... 76
6.1.2 Network Connection ......................................................................................................... 77
6.1.3 Debug ................................................................................................................................. 77
6.2 Use Cases ..................................................................................................................................... 79
6.2.1 Wireless Control Application ........................................................................................... 79
6.2.2 Remote Management Application .................................................................................. 80
6.2.3 Transparent Serial Port Application ................................................................................ 80
6.2.4 Wireless Data Acquisition Card Application .................................................................. 81
Appendix A: Questions and Answers ....................................................................................................... 83
Q1: How to configure transparent serial port application (TCP protocol) with two WIFI
modules? .............................................................................................................................................. 83
Q2: Where to Set WIFI Module LAN IP and WAN IP through Web Page .............................. 84
Q3: How to configure transparent serial port application (UDP protocol) with two WIFI
modules? .............................................................................................................................................. 84
Q4: Where to set USR-WIFI232-A/B/C module network protocol (TCP/UDP)? ....................... 85
Q5: How to configure transparent serial port application: Two WIFI modules all configured as STA
and connection through AP? ..................................................................................................... 86
Q6: How to avoid IP address confliction when apply USR-WIFI232-A/B/C module? .............. 87
Q7: PC works as server, all WIFI modules works as data acquisition card and connect with
PC, how to configure this application? ............................................................................................ 87
Q8: WIFI module support UDP multicast? ...................................................................................... 88
Jinan USR IOT Technology Limited Page
5
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Q9:WIFI module operates in
STA
mode, the PC how to get the IP module? ............................ 88
Appendix b: evb reference design ............................................................................................................ 90
Appendix c: external power shutdown mode reference design ........................................................... 91
Appendix e: Contact Information .............................................................................................................. 92
Appendix f: Disclaimer ............................................................................................................................... 92
Appendix g: History .................................................................................................................................... 93
Jinan USR IOT Technology Limited Page
6
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
1
Quick
1
Quick
1
1 Quick

Quick Start

USR-WIFI232 series product is used to transm it data between RS232 and WIFI TCPIP transparently, user can update the product to WIFI control without know ing the WIFI and TCPIP detail. All the convert work is done by the module . F or users, the RS232 side is only as a serial device,the WIFI side is TCPIP Socket data. User can setup the work detail by sample settings which can setup via inside web pages or RS232 port . T he setup work only need do once, then it will save the setting forever. This chapter is a user guide for USR-WIFI232 series products. W e suggest users follow the guide to test module at first, and will have a good understanding of the modules. U sers can also choose the chapter which you are interested in to read. For specific details and instructions, please refer to the following chapters. If there are problems in using the process, you can refer to the official website of our application case:
http://www.usriot.com/Faq/cat-47.html
http://www.usriot.com/Faq/cat-47.html
http://www.usriot.com/Faq/cat-47.html
http://www.usriot.com/Faq/cat-47.html
We can also submit the issue to our customer support center:
http://h.usriot.com
http://h.usriot.com
http://h.usriot.com
http://h.usriot.com
Start
Start
Start
1.1
Hardware
1.1
Hardware
1.1
1.1 Hardware

Hardware connect

In order to test WIFI module, we need connect module RS232 to PC and also WIFI to PC. In order to test the communication between serial and WIFI network, we need to connect the serial port to PC, and also connect WIFI networks to PC. Due to the special need both WIFI and serial, we use PC which add USB WIFI network Card such as the following picture.
connect
connect
connect
hardware
Figure 1 hardware
hardware
hardware connection
connection
connection
connection diagram
diagram
diagram
diagram
About the serial connection, because the module RS232 is 3.3V TTL lev el, the computer can not connect to module directly, the user needs to have a TTL to RS232 adapter cable and then connect to the computer. in order to facilitate the test, we provide USR-WIFI232-A/B/C evaluation board for users to choose.
7
Jinan USR IOT Technology Limited Page
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
1.2
Network
1.2
Network
1.2
1.2 Network

Network connection

The following is the USR-WIFI232-Amodule example ,Other modules are the same. Open Wi-Fi, search network, as shown in below, USR-WIFI232-A/B _3378(A/B determined according to the specific type of module, XXXX is the MAC address after the four) is the default network name (SSID) of the module.
connection
connection
connection
Figure 2 WIFI
Join the network, choose to automatically obtain and is enabled by default.
Jinan USR IOT Technology Limited Page
WIFI
Search
WIFI
Search
WIFI Search
Search
IP,
WIFI module supports DHCP Server feature
8
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
WIFI
connection
WIFI
Figure 3 WIFI
Now, n link led of USR-WIFI232-AEvaluation Board is lighting.
1.3
communication
1.3
communication
1.3
1.3 communication

communication test

Module s default setting:
SSID:
SSID:
SSID:
SSID: USR-WIFI232-A; Encryption
Encryption
Encryption
Encryption mode
UART:
UART:
UART:
UART: 57600 ,8,1,None ; Network
Network
Network
Network parameters
IP:
IP:
IP:
IP: 10.10.100.254;
We just need to follow the parameters of the corresponding set of network communication parameters, you can make serial <- - > WIFI communication, the steps are as follows:
1. Open test software USR-TCP232-Test ;
2. COM Settings area (left): C hoose COM port witch has connect the module, there is COM3, choose band rate to 57600 , this is the default band rate of WIFI module, Click Open COM port.
3. Net Settings area (right): C hoose TCP client mode, Server IP write 10.10.100.254, it is the WIFI default IP address, Server port to 8899, It is the default Port the WIFI module listen, Click Connect to link to the module. Now, you can test send data between RS232 and WIFI. COM port to WIFI: PC RS232 -> Module RS232 -> Module WIFI -> PC WIFI . WIFI to COM port: PC WIFI -> Module WIFI -> Module RS232 -> PC RS232.
mode
mode
mode :
parameters
parameters
parameters TCP ,Server,8899,10.10.100.254 ;
test
test
test
:
:
: open none ;
connection
WIFI connection
connection
serial
Figure 4 serial
Jinan USR IOT Technology Limited Page
serial
serial /
/
network
/
network
/ network
network transmission
transmission
transmission
transmission test
9
93
of
test
test
test
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
2
Product
2
Product
2
2 Product

Product Overview

2.1
General
2.1
General
2.1
2.1 General

General Description

USR-WIFI232-A/B/C module is an integration of 802.11 b/g/n wi-fi module,which provide a wireless interface to any equipment with a Serial interface for data transfer. The module used to MAC, baseband chip, RF transceiver unit, as well as the power amplifier;Embedded firmware support wi-fi protocols and configuration, as well as the network TCP/IP protocol stack. USR-WIFI232-A/B/C uses the industry's highest performance embedded industrial structure, and for the application of smart furniture, smart grid, handheld devices, personal medical, industrial control, etc. These data fields, do a professional optimization. USR-WIFI232-A/B/C as a hot spot can accommodate 32 clients simultaneously wi - fi access, but also can accommodate 32 TCP client, specific models and parameters of the series modules are as follows: USR-WIFI232-A 40mm x 25mm 2x7 2mm Connector Built-in antenna USR-WIFI232-B 40mm x 25mm 2x7 2mm Connector I-PEX connector USR-WIFI232-Ca 40mm x 25mm SMT Footprint Built-in antenna USR-WIFI232-Cb 40mm x 25mm SMT Footprint I-PEX connector
Overview
Overview
Overview
Description
Description
Description
2.2
Device
2.2
Device
2.2
2.2 Device

Device Features

Support
Support
Support
Support IEEE802.11b/g/n
Support
Support
Support
Support TCP/IP/UDP
Support
Support
Support
Support UART/GPIO/Ethernet
Support
Support
Support
Support Work
Support
Support
Support
Support Router/Bridge
Support
Support
Support
Support Internal/External
Support
Support
Support
Support Transparent
Support
Support
Support
Support AT+
Support
Support
Support
Support Friendly
Support
Support
Support
Support Palmodic
Support
Support
Support
Support UART
Features
Features
Features
IEEE802.11b/g/n
IEEE802.11b/g/n
IEEE802.11b/g/n Wireless
TCP/IP/UDP
TCP/IP/UDP
TCP/IP/UDP Network
UART/GPIO/Ethernet
UART/GPIO/Ethernet
UART/GPIO/Ethernet Data
Work
As
Work
Work As
Router/Bridge
Router/Bridge
Router/Bridge Mode
Internal/External
Internal/External
Internal/External Antenna
Transparent
Transparent
Transparent Transmission
AT+
AT+
AT+ Instruction
Friendly
Friendly
Friendly Web
Palmodic
Palmodic
Palmodic Signal
UART
UART
UART Auto-Frame
STA/AP
As
STA/AP
As STA/AP
STA/AP /AP+STA
Instruction
Instruction
Instruction Set
Web
Web
Web Configuration
Auto-Frame
Auto-Frame
Auto-Frame Function
Wireless
Wireless
Wireless Standards
Network
Network
Network Protocols
Mode
Mode
Mode Networking
Transmission
Transmission
Transmission Mode
Configuration
Configuration
Configuration Page
Signal
Signal
Signal
Protocols
Protocols
Protocols
Data
Data
Data Interface
/AP+STA
/AP+STA
/AP+STA Mode
Networking
Networking
Networking
Antenna
Antenna
Antenna Option
Set
for
Set
for
Set for
for Configuration
Function
Function
Function
Standards
Standards
Standards
Interface
Interface
Interface
Mode
Mode
Mode
Option
Option
Option
Mode
Mode
Mode
Configuration
Configuration
Configuration
Page
Page
Page
Single
Single
Single
Single +3.3V
Small
Small
Small
Small Size:
Jinan USR IOT Technology Limited Page
+3.3V
+3.3V
+3.3V Power
Size:
Size:
Size: 25
Power
Power
Power Supply
25
x
25
x
25 x
x 40mm
40mm
40mm
40mm
Supply
Supply
Supply
10
93
of
tec@usr.cn
FCC/CE
FCC/CE
FCC/CE
FCC/CE Certificated
2.3
Device
2.3
Device
2.3
2.3 Device

Device Paremeters

Certificated
Certificated
Certificated
Paremeters
Paremeters
Paremeters
Class
Class
Class
Class Item
Wireless
Wireless
Wireless
Wireless Parameters
Parameters
Parameters
Parameters
Hardware
Hardware
Hardware
Hardware Parameters
Parameters
Parameters
Parameters
Software
Software
Software
Software Parameters
Parameters
Parameters
Parameters
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Table 1 USR-WIFI232-A/B/C Module Technical Specifications
Item
Item
Item Parameters
Certification FCC / CE Wireless standard 802.11 b/g/n
Frequency range 2.412GHz-2.484GHz
Transmit Power
Receiver Sensitivity
Antenna Option
Data Interface
Operating Voltage 3.3V (+/-5%) Operating Current 170mA~300mA Operating
Temperature Storage Temperature Dimensions and Size 25 × 40 × 8mm Network Type Station /AP mode /STA+AP Security Mechanisms WEP/WAP-PSK/WAP2-PSK Encryption WEP64/WEP128/TKIP/AES Work Mode Transparent Mode/Serial command AT command AT+instruction set
Network Protocol
Max. TCP Connection 32 User Configuration
Parameters
Parameters
Parameters
802.11b: +20 dBm (Max.)
802.11g: +18 dBm (Max.)
802.11n: +15 dBm (Max.) Configurable
802.11b: -89 dBm
802.11g: -81dBm
802.11n: -71dBm External : I-PEX Connector Internal :On-board chip antenna UART: 300 bps - 4608 00bps GPIOs Ethernet: 100Mpbs
- 40 - 85
-4 0 - 125
TCP/UDP/ARP/ICMP/DHCP/DNS/HT TP
Web Server AT command config.
2.4
Key
2.4
2.4
2.4 Key
Remote equipment monitoring
Industrial sensors and controls
Asset tracking and telemetry
Home automation
Medical devices
Jinan USR IOT Technology Limited Page
Application
Key
Application

Key Application

Application
11
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
2.5
Package
2.5
Package
2.5
2.5 Package

Package Information

Information
Information
Information
2.5.1 Recommended Reflow Profile
Reflow
Figure 5 Reflow
Table 2 Reflow Soldering Parameter
NO.
NO.
NO.
NO. Item
1 Reflow Time Time of above 220
2 Peak-Temp 260 max
Note:
Note:
Note:
Note:
1. Recommend to supply N2 for reflow oven.
2. N2 atmosphere during reflow (O2<300ppm).
Item
Item
Item Temperature
Reflow
Reflow Soldering
Temperature
Temperature
Temperature (Degree)
Soldering
Soldering
Soldering Profile
Profile
Profile
Profile
(Degree)
(Degree)
(Degree)
Time(Sec)
Time(Sec)
Time(Sec)
Time(Sec)
35~55 sec
2.5.2 Device Handling Instruction (Module IC SMT Preparation)
Shelf life in sealed bag: 12 months, at <30 and <60% relative humidity (RH)
After bag is opened, devices that will be re-baked required after last baked with window time
168 hours. R ecommend to oven bake with N2 supplied.
  Baked required with 24 hours at 125 ± 5 before rework process for two modules, one is
new module and two is board with module.
Recommend to store at 10% RH with vacuum packing.
If SMT process needs twice reflow:
(1)
Top
side SMT and reflow à (2) Bottom side SMT and reflow Case 1: Wifi module mounted on top side. Need to bake when bottom side process over 168 hours window time, no need to bake within 168 hours. Case 2: Wifi module mounted on bottom side, follow normal bake rule before process. Note: Window time means from last bake end to next reflow start that has 168 hours space.
Jinan USR IOT Technology Limited Page
12
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
2.5.3 Shipping Information
Shipping
Figure 6 Shipping
TRAY
TRAY
TRAY
TRAY Size: 420*245*34 mm
Note:
Note:
Note:
Note:
1 tray = 5*20 pcs = 100 pcs 1 box = 2 trays = 2*100 pcs = 200pcs 1 carton = 4 boxes = 4*200 pcs = 800pcs
3
Hardware
3
Hardware
3
3 Hardware

Hardware Introduction

3.1
Pins
3.1
Pins
3.1
3.1 Pins

Pins Definition

Definition
Definition
Definition
Introduction
Introduction
Introduction
Shipping

Shipping Information

3.1.1 USR-WIFI232- A/B Pins Definition
Information
Information
Information
Figure 7 USR-WIFI232-
Jinan USR IOT Technology Limited Page
USR-WIFI232-
USR-WIFI232-
USR-WIFI232- A/B
13
93
of
A/B
A/B
A/B
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
PHY_TX
PHY_RX
nReady/GPIO
UART_RTS/GPIO
UART_TXD/GPIO
Figure 8 USR-WIFI232-
+
+
9
RESET
5
3
GND
USR-WIFI232-
USR-WIFI232-
USR-WIFI232- A/B
PHY_TX
PHY_RX
nReload/GPIO
nLink/GPIO
UART_CTS/GPIO
UART_RXD/GPIO
A/B
A/B
A/B Pins
3 . 3 V
Pins
Pins
Pins Map
-
-
Map
Map
Map
10
8
6
4
Table 3 USR-WIFI232- A/B Pins Definition
Pin
Pin
Pin
Pin Description
1
1
1
1 Ground --GND GND Power G round 2
2
2
2 VCC 3.3V@350mA 3.3V Power 3.3V @ 350mA power input 3
3
3
3 UART Data Transmit UART_TXD O If not use UART function ,
4
4
4
4 UART Data Receive UART_RXD I
5
5
5
5 UART sends request
Description
Description
Description Name
Name
Name
Name Directi
GP IO GPIO3 I/O
GP IO GPIO4 I/O
UART_RTS O
Directi
Directi
Directi o n
n
n
n
o
Note
o
Note
o
Note
Note
this 4 pins can be configured as GPIO pins, and can change GPIO pin status through AT command
of data transmission GP IO GPIO5 I/O
6
6
6
6 UART receives data
UART_CTS I transmission permission GP IO GPIO6 I/O
7
7
7
7 Module reset signal RESET I “ Low ( 0 ) ” effective reset
input. The reset duration should be kept more than 300ms
8
8
8
8 WiFi status Indication nLink O “ 0 ” - WIFI connection
GPIO GPIO8 I/O
available “ 1 ” - No WIFI connection Can be configured as GPIO.
9
9
9
9 Indicate the module
status of power on process GPIO GPIO9 I/O
nReady O “ 0 ” or “ Palmodic Signal ” -
Finish module boot up process;
“ 1 ” - Module boot up not
finish.
Can be configured as GPIO.
10
10
10
10 Restore configuration nReload I Module will Restore factory
GPIO GPIO10 I/O
default configuration after set this pin “ 0 ” more than 1s, then set “ 1 ” .
11
11
11
11 Ethernet Input+ PHY_RX+ I +1.8V Ethernet Data 12
12
12
12 Ethernet Input- PHY_RX- I
Interface
Jinan USR IOT Technology Limited Page
14
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
13
13
13
13 Ethernet Output+ PHY_TX+ O 14
14
14
14 Ethernet Output- PHY_TX- O
3.1.2 USR-WIFI232- Ca/Cb Pins Definition
Support transformer and direct connection (AC couple) mode.
USR-WIFI232-
Figure 9 USR-WIFI232-
Figure 10 USR-WIFI232-
USR-WIFI232-
USR-WIFI232- Ca/Cb
USR-WIFI232-
USR-WIFI232-
USR-WIFI232- Ca/Cb
Ca/Cb
Ca/Cb
Ca/Cb
Ca/Cb
Ca/Cb
Ca/Cb Pins
Pins
Pins
Pins Map
Map
Map
Map
Table 4 USR-WIFI232- Ca/Cb Pins Definition
Pin Description Name DirectionNote
3,18,19,
GND GND Power Ground 20,24,26 1, 2 VCC 3.3V Power 3.3V @ 350mA power
input
4 UART Data Transmit UART_TXD O If not use UART
GPIO GPIO 3 I/O
Jinan USR IOT Technology Limited Page
15
93
of
function , this 4 pins
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
5 UART Data Receive UART_RXD I
GPIO GPIO 4 I/O 6 UART sends request of
data transmission
GPIO GPIO 5 I/O 7 UART receives data
transmission permission
GPIO GPIO6 I/O 8 Ethernet output+ PHY_TX+ O +1.8V Ethernet Data 9 Ethernet output- PHY_TX- O 10 Ethernet In put+ PHY_RX+ I 11 14 WiFi status Indication nlink O “ 0 ” - WIFI connection
15 Module reset signal nRST I
16 Indicate the module
17 Restore configuration nReload I Module will Restore
21 UART1 Data Receive NC NC 22 UART1 Data Transmit NC NC 23 Output 1.8V 1.8V O 1.8V@300mA, to the
25 2.4GHz Antenna ANT O 50ohm impedance
12,13 Retain NC NC
Ethernet In put- PHY_RX- I
status of power on
process
UART_RTS O
UART_CTS I
nReady O
can be configured as GPIO pins, and can change GPIO pin status through command
Interface(Module with external 1.8V reference voltage)
available, “ 1 ” - No WIFI connection .
“ Low ( 0 ) ” effective reset input. The reset duration should be kept more than 300ms
“ 0 - Finish module boot up process; “ 1 - Module boot up not finish.
factory default configuration after set this pin “ 0 more than 1s, then set “ 1 ” .
Eth application
control line
AT
3.2
Mechanical
3.2
Mechanical
3.2
3.2 Mechanical

Mechanical Size

USR-WIFI232-A/B/C modules physical size (25x40mm) as follows:
Size
Size
Size

3.2.1 USR-WIFI232-A/B

USR-WIFI232- A/B module Mechanical Size:
16
Jinan USR IOT Technology Limited Page
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
USR-WIFI232-
Figure 11 USR-WIFI232-
USR-WIFI232-
USR-WIFI232- A/B

3.2.2 USR-WIFI232-Ca/Cb

USR-WIFI232-Ca/Cb module Mechanical Dimension:
A/B
Mechanical
A/B
Mechanical
A/B Mechanical
Mechanical Size
Size
Size
Size
USR-WIFI232-
Figure 12 USR-WIFI232-
Jinan USR IOT Technology Limited Page
USR-WIFI232-
USR-WIFI232- Ca/Cb
Ca/Cb
Ca/Cb
Ca/Cb Mechanical
17
Mechanical
Mechanical
Mechanical Dimension
93
of
Dimension
Dimension
Dimension
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
3.3

Antenna

3.3
Antenna
3.3
3.3 Antenna
Antenna
3.3.1 On-board Chip Antenna
USR-WIFI232-A/B/C supports a built-in antenna options, when customers choose a built-in antenna,
must comply with the following built-in antenna module placement of notes and general rules:
Be in the user's PCB board, and the red region ( 6X8 mm ) corresponding to the region cannot be
placed components and with GND;
Antenna must away from the metal, at least to the distance around the higher components above
10MM;
Antenna can no t be shielded by any meal enclosure; All cover, include plastic, shall away from
antenna at least 10MM;
USR-WIFI232-A/B/C
Figure 13 USR-WIFI232-A/B/C
USR technological suggestions USR-WIFI232-A/B/C module be placed in the following areas of user
board, in order to reduce the antenna and a wireless signal influence, at the same time, please consult
with technology and technical support staff to assist module placement and associated regions of
Layout design.
Figure 14 Suggested
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C Chip
Suggested
Suggested
Suggested Module
Chip
Antenna
Chip
Antenna
Chip Antenna
Antenna Keep
Module
Module
Module Placement
Placement
Placement
Placement Region
Keep
Out
Keep
Out
Keep Out
Out Region
Region
Region
Region
Region
Region
Region
3.3.2 External Antenna
USR-WIFI232-A/B/C modules support internal antenna and external antenna option for user dedicated application. If user select external antenna, USR-WIFI232-A/B/C modules must be connected to the 2.4G antenna according to IEEE 802.11b/g/n standards. The antenna parameters required as follows:
Jinan USR IOT Technology Limited Page
18
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Table 5 USR-WIFI232-A/B/C External Antenna Parameters
Item Parameters Frequency range 2.4~2.5GHz Impedance 50 Ohm
VSWR 2 (Max) Return Loss -10dB (Max) Connector Type I-PEX or populate directly
3.4
Evaluation
3.4
Evaluation
3.4
3.4 Evaluation

Evaluation Kit

USR provides the evaluation kit to promote user to familiar the product and develop the detailed application. The evaluation kit shown as below, user can connect to USR-WIFI232-A/B/C module with the RS-232 UART port, 100M Eth port or Wireless port to configure the parameters, manage the module or do the some functional tests.
Kit
Kit
Kit
USR-WIFI232-
Figure 15 USR-WIFI232-
Table 6 USR-WIFI232- A/B Evaluation Kit Interface Description
Jinan USR IOT Technology Limited Page
USR-WIFI232-
USR-WIFI232- A/B
A/B
module
A/B
module
A/B module
module Evaluation
19
93
of
Evaluation
Evaluation
Evaluation Kit
Kit
Kit
Kit
tec@usr.cn
Function
Function
Function
Function External
External
External
External Interface
Interface
Interface
Interface
Name
Name
Name
Name Description
DC jack
DB9
RJ-45 100M Eth Interface Module 2x7 2mm DIP connector , connect WIFI module
LED
LED
LED
LED Power
(Red) TXD TXD Indicator RXD RXD Indicator Ready nReady/GPIO Indicator Link nLink/GPIO Indicator
Button
Button
Button
Button
Reset Reload Module restore to factory default configuration.
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Description
Description
Description
5V power input connector Male serial jack of 9-pin,and used to connect to
PC
3.3V Power Indicator
Used to reset the module.
USR-WIFI232-Ca/Cb
Figure 16 USR-WIFI232-Ca/Cb
USR-WIFI232-Ca/Cb
USR-WIFI232-Ca/Cb module
Table 7 USR-WIFI232-Ca/Cb module Evaluation Kit Interface Description
Jinan USR IOT Technology Limited Page
module
module
module Evaluation
20
93
of
Evaluation
Evaluation
Evaluation Kit
Kit
Kit
Kit
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Function External
Interface
LED
Button
3.5
Hardware
3.5
Hardware
3.5
3.5 Hardware
Hardware Reference
Name Description
DB9
RJ-45 100M Eth Interface Mini USB B type interface,AS 5v@1A power input port Module 2x7 2mm DIP connector Power (Red) 3.3V Power Indicator CTS (Green 1) CTS/GPIO Indicator RTS(Green 2) RTS/GPIO Indicator Reload(Green
3) Ready(Green
4) Link(Green 5) NLink/GPIO Indicator Reset Used to reset the module.
Reload Module restore to factory default configuration.
Reference
Reference
Reference Design
Male serial jack of 9-pin,and used to connect to PC
nReload/GPIO Indicator
nReady/GPIO Indicator
Design
Design
Design
3.5.1 Hardware Typical Application
USR-WIFI232-A/B/C
Figure 17 USR-WIFI232-A/B/C
Notes
Notes
Notes
Notes
nRST-
nRST-
nRST-
nRST- Module hardware reset signal. Input. Logics “ 0 ” effective.
There is 100K Ohm pull-up resister internal up to 3.3V. When module power up or some issue happened, MCU need assert nRST signal “ 0 at least 300ms, then set 1 to keep module fully reset.
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C Hardware
Hardware
Hardware
Hardware Typical
Typical
Typical
Typical Application
Application
Application
Application
Jinan USR IOT Technology Limited Page
21
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
nReady-
nReady-
nReady-
nReady-
Module boot up ready signal. Output. Logics “ 0 ” effective. There is 4.7K Ohm pull-up resister internal up to 3.3V . The module will output “ 0 “ or “ Palmodic Signal after normal boot up. This signal used to judge if module finish boot up and ready for application or working at normal mode.
nLink-
nLink-
nLink-
nLink-
Module WIFI connection indication. Output. There is 4.7K Ohm pull-up resister internal up to 3.3V . When module connect to AP (STA mode) or some WiFi
STA
connect to module (AP mode), the module will output “ 0 ” . This signal used to
judge if module already at WiFi connection status.
nReload
nReload
nReload
nReload -
Module restore to factory default configuration.Input. Logics “ 0 ” effective. User can assert nReload signal “ 0 more than 3’s through button or MCU pin, then release, module will restore to factory default configuration and re-start boot up process. User need add
4.7K~10K Ohm pull-up resister external the module.
UART_TXD/RXD- UART port data transmit and receive signal. There is 1K Ohm pull-down resister internal. User can ’ t add pull-up resister at these pins.
3.5.2 10/100M Ethernet Interface
USR-WIFI232-A/B/C modules provide one 10/100M Ethernet PHY layer interface for data transition or user configuration. This Ethernet support with transformer and without transformer (PHY-to-PHY) 2 kinds of connection.
3.5.2.1 Ethernet Connection with Transformer
User board put Ethernet transformer and RJ-45 connector. This is a general 10/100M Ethernet phy layer connection. The reference design as following:
(Above is for USR-WIFI232-A/B pin type module, Below is for SMD type USR-WIFI232-C)
Jinan USR IOT Technology Limited Page
22
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Ethernet
Figure 18 Ethernet
Ethernet
Ethernet Reference
Reference
Reference
Reference Design
Design
Design
Design with
with
Transformer
with
Transformer
with Transformer
Transformer
3.5.2.2 Ethernet Connection without Transformer
For this application, Ethernet will work as internal data transmition interface and save one transformer and RJ45 connector. Ethernet PHY-to-PHY connection will use AC coupled connection. This is a space and cost optimized solution. Hardware reference design as following: Note: VCC signal at reference design shall base on user board PHY chipset voltage level, such as 2.5V power supply for general Ethernet PHY chipset.
(Above is for USR-WIFI232-A/B pin type module, Below is for SMD type USR-WIFI232-C)
23
Jinan USR IOT Technology Limited Page
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Ethernet
Figure 19 Ethernet
Ethernet
Ethernet Reference
Reference
Reference
Reference Design
Design
Design
Design without
without
without
without Transformer
Transformer
Transformer
Transformer
This module Ethernet interface default is for the application with transformer connection. If you n eed PHY -PHY directly connection, please change the hardware as follows:
1.
Weld
0
ohm
1.
Weld
1.
1. Weld
Weld 0
2.
Remove
2.
Remove
2.
2. Remove
Remove the
0
0 ohm
resistance
ohm
resistance
ohm resistance
resistance in
the
component
the
component
the component
component in
in
red
in
in red
position
red
position
red position
position
in
yellow
in
yellow
in yellow
yellow position
position
position
position
BOT side component TOP side component
Schematic
Figure 20 Schematic
Schematic
Schematic resistance
resistance
resistance
resistance changes
changes
changes
changes
Specific PHY-PHY direct connection reference to user manual chapter 1.3.2.2 application of Ethernet w ithout transformer a nd AT+FEPTP command The command: AT+FVEW=enable<CR>
to open ethernet WAN port function
Remark:
1. Only when ethernet as WAN, this command is needed. Module default LAN port.
2. After this command, make sure module WAN IP and LAN IP in different segment. (Modify the ALN IP in AP Settings, modify the WAN IP in
AT+FEPTP=on<CR> AT+FEPHY=on<CR> AT+RELD<CR>
Quey/set default ethernet PHY-PHY on/off
Open ethernet function permanently
Command with “ F ” need to be affective after AT+RELD
STA
Settings)
After module reset, command effect, then will not impact by Reload For user’s design, pls note:
1. Cable connection should be AC coupling, your cable need be pulled up to VCC (fit with PHY c hip level)
2. Cable TX connected to RX. In PHY-PHY direct connection, PHY chip dose not support direct/ cross self-adaption
3. Your PHY chip on board should better to be forced into 100M work mode
Jinan USR IOT Technology Limited Page
24
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
3.5.3 UART Interface
UART interface is the serial data transmition interface mainly used for USR-WIFI232-A/B/C modules. User can add RS-232 chipset on user board and convert the signal to RS-232 voltage to communicate with outside equipment or sensors. USR-WIFI232-A/B/C modules UART interface include 4 general signals: TXD/RXD/RTS/CTS. The hardware reference design with RS-232 chipset as following:
Figure
Figure 21 Figure
Notes:
Notes:
Notes:
Notes: TXD pin is also hardware configuration pin internal module. So this pin MUST pull-down
during module power up. USR-WIFI232-A/B/C modules provide internal pull-down resister, user can ’ t add pull-up/pull-down resister on user board, which may cause module can ’ t work.
Figure
Figure 10
10
UART
10
UART
10 UART

UART Interface

Interface
Interface
Interface Reference
Reference
Reference
Reference Design
Design
Design
Design
3.5.4 Power Interface
USR-WIFI232-A/B/C module support single +3.3V power supply. The peak current shall about 350mA and normal WiFi working current shall about 200mA. The power save (WiFi OFF) mode will about 100mA
Decoupling at power pin suggested, At least one 100uF and one 10uF capacitor required at user board and put near module power input pin will increase the reliability and performance.
4
Modules
4
Modules
4
4 Modules
Modules F
F
unction
F
unction
F unction
unction D
D
escription
D
escription
D escription
escription
Jinan USR IOT Technology Limited Page
25
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
4.1
User
4.1
User
4.1
4.1 User
User configuration
After USR-WIFI232-A/B/C module electric starter, based on user pre-set parameters, automatically connect to wireless networks and servers, and enter the working mode is set to open in accordance with the default serial port parameters.
The parameters which need to configure include:
Wireless Network Parameters
Wireless Network Name SSID  
TCP/UDP Linking Parameters
  Link Type Server or Client  
configuration
configuration
configuration process
Security Mode
Encryption Key
Protocol Type
Target Port ID Number
Target Port IP Address
process
process
process
Serial Port Parameters
Baud Rate
Data Bit
Parity (Check) Bit
Stop Bit
Hardware Flow Control
Work Mode Selection
Transparent mode/Serial command mode/GPIO mode
The following sections will introduce specific to each part in detail.
4.2
Working
4.2
Working
4.2
4.2 Working

Working mode

mode
mode
mode
4.2.1 Transparent Mode
USR-WIFI232-A/B/C modules support serial interface transparent transmission mode. The benefit of this mode is achieves a plug and play serial data port, and reduces user complexity furthest. In this mode, user should only configure the necessary parameters. After power on, module can automatically connect to the default wireless network and server.
As in this mode, the module's serial port always work in the transparent transmission mode, so users only need to think of it as a virtual serial cable, and send and receive data as using a simple serial. In other words, the serial cable of users’original serial devices is directly replaced with the module; user devices can be easy for wireless data transmission without any changes.
26
Jinan USR IOT Technology Limited Page
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
The transparent transmission mode can fully compatible with user’s original software platform and reduce the software development effort for integrate wireless data transmission.
Notes:
Notes:
Notes:
Notes: Users also open the serial port hardware flow control (CTS/RTS) function, so that we can
make the bit error rate to a minimum.If the user doesn't need hardware flow control function of the serial port, only need to the corresponding pin foot (CTS/RTS) hung up.
4.2.2 Serial command mode
In this mode, the user can send the serial data to a different server address, this pattern can be use udp or TCP client sends data to the server. Customer MCU send packets according to the following format, parsing module is finished, only the n bytes of data sent to the destination address.When data is returned, not analytical data from serial port output directly.
Table 8 Protocol table of Serial command mode
frame
header
2 2
frame
frame
frame
frame header
header
header
header
0x55 0xAA Constant
Length
Length
Length
Length
Starting from the function byte, to Sum check (does not contain the sum check) all bytes.
High byte at the front
Function
Function
Function
Function byte
byte
byte
byte
Bit0: UDP:0 ;TCP:1 Bit1: Short connection:0;Long connection:1 Bit2: IP:0;Domain name:1
Bit7: cut protocol:0;full protocol:1 Note: currently only supports cut protocol Notes: Bit1:If it is a short connection, it sends data, and then will be disconnected; if it is long
connection, it sends data, connection will remain, until the re changing the target address.
Bit2:Indicates that the target address is IP or domain name. If it is
bytes; if the domain name, the target address length for the entire domain name string length (the last byte address is ‘ \0 ’ , that is the end of the string).
Bit7:Under the cut protocol, reply frame contains only data; Under the full protocol, reply
frame has "failed to send", "waiting for", "UDP radio response equipment IP" frame data.
Backup
Backup
Backup
Backup data
data
data
data area
First byte:If it is a short connection, this position is TCP waits for the timeout time (1-255), if
the send command is completed, did not receive a response, then wait a few seconds and the corresponding, if 5, said to wait for the 5S to disconnect; if the sending command, immediately receive the returned data, then immediately disconnected; if it is long connection, this position is 0x00.
Second byte:Reserve
length functio
(n+m+5)
area
:
area
:
area :
:
Backup
n
data area
Destinati
on port
Target
address
Data Sum
byte
1 2 2 m n 1
IP,
the target address is 4
check
Jinan USR IOT Technology Limited Page
27
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Destination
Destination
Destination
Destination port
port
port
port :
:
:
:
Little endian, low byte in the former,such as port 23, here are 0x17 0x00
Target
Target
Target
Target address:
address:
address:
address:
If it is
IP,
is 4 bytes, for example, 192.168.0.7 said 0x07 0x00 0xA8 0xC0; if it is a domain
name, then the address of indefinite length,ending with the ’ \0'.
Data:
Data:
Data:
Data:
Variable length,the maximum not exceeding 1000bytes.
Sum
check:
Sum
check:
Sum
Sum check:
check:
From the function word to check byte (does not contain a check byte), add Sum check. The following is an example of a specific application:
send data:0x55 0xaa 0x00 0x0a 0x00 0x00 0x00 0x21 0x00 0x85 0x00 0xA8 0xC0 0x01 0x0f
Length:0x00 0x0a
Function byte:0x00 (UDP;Short connection;IP;cut protocol)
Destination port :0x21 0x00(33)
Target address: 0x85 0x00 0xA8 0xC0 (192.168.0.133)
Data:0x01(data length :1)
Sum check:0x0f ( 0x00+0x00+0x00+0x21+0x00+0x85+0x00+0xA8+0xC0+0x01=0x0f )
4.2.3 GPIO mode
USR-WIFI232-A/B/C module support GPIO mode:At GPIO,UART (TXD/ RXD/CTS/RTS) defined as GPIO and others (Ready/Link/) also defined as GPIO pin. When module works at GPIO mode, PC and other equipments can setup connection (TCP/UDP) through WiFi, then read/write GPIO information through command.
GPIO n IN, Set GPIOn as input, Response GPIO OK or GPIO NOK;
  GPIO n OUT 0, Set GPIOn as output and output 0 , Response GPIO OK or GPIO NOK; GPIO n OUT 1, Set GPIOn as output and output 1 , Response GPIO OK or GPIO NOK;
GPIO n SW, Set GPIOn as output and switch the output status, Response GPIO OK or
GPIO NOK;
GPIO n PWM m1 m2, Set GPIOn output a wave: m1 is high duration and m2 is low
duration (Time unit is ms and minimal is 10ms), Response GPIO OK or GPIO NOK;
GPIO n GET, Read GPIOn status, Response I0,I1,O0,O1, means input low , input
high , output low , output high Notes: n can be 3, 4, 5, 6, 8, 9 corresponding module pin. GPIO 4 can only defined as input and GPIO 3 can only defined as output. GPIO READ returns all current IO status, and GPIO n GET said method. Such as, I1I1I0I0I0I0O1, I said input, O output. 0 low, 1 express high.4 pin is negated. Read the 1 actual 0 actual 1, read the 0.
4.2.4 HTTPD Client mode
This mode is used to send data to the HTTP server. After setting the HTTP header format by webpage or UART will add the HTTP header automatically.Convenient for the user directly submit data or read data from the HTTP server.
Jinan USR IOT Technology Limited Page
28
AT
command, the data sent each time by
93
of
tec@usr.cn
Loading...
+ 65 hidden pages