Do you have a question about the USR-WIFI232-B2 and is the answer not in the manual?
Questions and answers
Summary of Contents for Jinan USR IOT Technology USR-WIFI232-B2
Page 1
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. Jinan USR IOT Technology Limited Page 1 of 77 tec@usr.cn...
About the serial connection, because the module RS232 is 3.3V TTL level, 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-B2 evaluation board for users to choose.
1.2 Network connection The following is the USR-WIFI232-B2 module example,Other modules are the same.Open Wi-Fi, search network, as shown in below, USR-WIFI232-B2_3378(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.
USR-WIFI232-B2 User Manual http://www.usriot.com Figure 3 WIFI connection Now, nlink led of USR-WIFI232-B2 Evaluation Board is lighting. 1.3 communication test Module’s default setting: SSID:USR-WIFI232-B2; Encryption mode:open,none; UART:57600,8,1,None; Network parameters:TCP,Server,8899,10.10.100.254; IP:10.10.100.254; We just need to follow the parameters of the corresponding set of network communication parameters, you can make serial <-->...
These data fields, do a professional optimization. USR-WIFI232-B2 as a hot spot can accommodate 32 clients simultaneously wi-fi access, but also can accommodate 32 TCP client.
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 11 of 77 tec@usr.cn...
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-B2 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.
Page 15
2x7 2mm DIP connector, connect WIFI module Power 3.3V Power Indicator (Red) TXD Indicator RXD Indicator Ready nReady/GPIO Indicator Link nLink/GPIO Indicator Button Reset Used to reset the module. Reload Module restore to factory default configuration. Jinan USR IOT Technology Limited Page 15 of 77 tec@usr.cn...
USR-WIFI232-B2 User Manual http://www.usriot.com 3.5 Hardware Reference Design 3.5.1 Hardware Typical Application USR-WIFI232-B2 Hardware Typical Application Figure 10 Notes: 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”...
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-B2 pin type module) Ethernet Reference Design with Transformer Figure 11 3.5.2.2 Ethernet Connection without Transformer...
3.Your PHY chip on board should better to be forced into 100M work mode 3.5.3 UART Interface UART interface is the serial data transmition interface mainly used for USR-WIFI232-B2 modules. Jinan USR IOT Technology Limited Page 18 of 77...
Figure 14 Notes: TXD pin is also hardware configuration pin internal module. So this pin MUST pull-down during module power up. USR-WIFI232-B2 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.
4.2 Working mode 4.2.1 Transparent Mode USR-WIFI232-B2 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.
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: Variable length,the maximum not exceeding 1000bytes. Jinan USR IOT Technology Limited Page 21 of 77 tec@usr.cn...
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-B2 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.
USR-WIFI232-B2 module can be configured as both wireless STA and AP base on network type. Logically there are two interfaces in USR-WIFI232-B2. One is for STA, and another is for AP. When USR-WIFI232-B2 works as AP, other STA equipments are able to connect to wireless LAN via USR-WIFI232-B2 module.
Figure 16 4.3.2 AP Because USR-WIFI232-B2 can be set to AP, can also be set to STA, so the USR-WIFI232-B2 can be achieved easily wireless ad hoc network. As showing in the figure below, USR-WIFI232-B2 (1) can be treat as an AP, and USR-WIFI232- B2 (2), USR-WIFI232-B2 (3) and the laptop are STAs connected to USR-WIFI232-B2 (1).
USR-WIFI232-B2 STA Network Structure Figure 17 4.3.3 AP+STA USR-WIFI232-B2 module support AP+STA network mode, means module support one AP interface and one STA interface at the same time, as following figure, USR-WIFI232-B2 AP+STA Network Structure Figure 18 When module enables AP+STA function, Module’s STA interface can connect with router and connect to TCP server in the network.
USR-WIFI232-B2 module provides one 100M Ethernet interface. With this Ethernet interface, user can easily realize the three interface (WiFi, UART, and Ethernet) intercommunication and networking. USR-WIFI232-B2 module can configured as Bridge Mode or Router Mode base on different networking technology.
USR-WIFI232-B2 User Manual http://www.usriot.com USR-WIFI232-B2 module works as AP and also the center of this network. All devices’ IP address in this network shall use the same network segment with USR-WIFI232-B2 and they can ntercommunication with this method. 4.4.2 USR-WIFI232-B2 Ethernet Interface Networking (As STA, N-Ver)
4.5 WI-FI parameter setting 4.5.1 Auto- Frequency Function When module works as STA, USR-WIFI232-B2 will adjust its wireless channel to keep the same channel with associated AP and connect in. When module works as AP and USR-WIFI232-B2 enable Auto-frequency function, then when module boot up, it will select the best wireless channel based on surrounding environment.
UART data. If this interval time exceeds defined value (50ms default), USR-WIFI232-B2 will think it as the end of one frame and transfer this free-frame to WiFi port, or USR-WIFI232-B2 will receive UART data until 4K bytes, then transfer 4KB frame to WiFi port.
The default password is “admin”, so the first piece of data should be "0x61 0x64 0x6D 0x69 0x6E 0x0D 0x0A" (Hex). If the password is correct, the module returns Jinan USR IOT Technology Limited Page 30 of 77...
Without the need to download and install app, any platform, any equipment, as long as you can into the built-in Webpage of module through the browser built-you can control module pin of IO. Jinan USR IOT Technology Limited Page 31 of 77 tec@usr.cn...
This function for web applications, and for web users with higher response speed, if you want to customize the corresponding web page, can connect your company. Note:This function occupy the 8000 port of module. Jinan USR IOT Technology Limited Page 32 of 77 tec@usr.cn...
Note: The information of routers is ordered by signal strength. Setting command Name Num of Bytes Description head fixed value:0xFF length Sum of data bytes from length bytes to check byte Jinan USR IOT Technology Limited Page 33 of 77 tec@usr.cn...
This function is user selected factory setting and RELD instruction will not effective for this function. If user not requires this function, the default factory setting is Status One. Contact with USR Technology for more detailed support. Jinan USR IOT Technology Limited Page 34 of 77 tec@usr.cn...
4.10 Parameters Configuration USR-WIFI232-B2 module supports two methods to configuration parameters: Web Accessing and AT+instruction set. Web accessing means users can configure parameters through built-in webpage. When USR- WIFI232-B2 module connected to wireless network, parameters configuration is done on a PC connected to the same wireless network.
Web Accessing and AT command set 4.12 Configuration via Web Accessing When first use USR-WIFI232-B2 modules, user may need some configuration. User can connect to USR-WIFI232-B2 module’s wireless interface with following default setting information and configure the module through laptop.
This page use to setting the wireless networking mode (AP and STA mode). "Data transmission mode" selection module working mode are "Transparent Mode", "Serial Command mode", "HTTPD Client mode", "GPIO mode". "TCP connection password authentication" can choose whether open TCP password authentication. Jinan USR IOT Technology Limited Page 37 of 77 tec@usr.cn...
Figure 29 4.12.5 STA Interface Setting Page This page use to setting the parameters when USR-WIFI232-B2 module works as STA. Such as SSID of AP which module need to connected, and also select the networking type: DHCP or static IP address.
This page use to setting the parameters of serial port communication, such as UART setting,UART AutoFrame Setting,Ethernet function,Device ID setting and high layer network protocol setting which used support serial communication. Jinan USR IOT Technology Limited Page 39 of 77 tec@usr.cn...
Besides module working as TCP Server (IP address not required in this mode). User must set the IP address of the device which need communicate with USR-WIFI232-B2 module. Also the Port ID between two sides of the communication devices must keep the same.
GET, data can be added to the back of the path in the HTTP header.The specific way of sending data can consult section 4.2.4. HTTPD Client Mode Page Figure 33 4.12.9 WEB IO WEB IO Page Figure 34 Jinan USR IOT Technology Limited Page 41 of 77 tec@usr.cn...
4.12.11 Device Management Page This page use to manage USR-WIFI232-A/B/C module general setting, such as administrator setting, restart module button, restore factory default setting button, and update firmware through webpage. Jinan USR IOT Technology Limited Page 42 of 77 tec@usr.cn...
4.13 AT command Introduction 4.13.1 Configuration Mode When USR-WIFI232-B2 power up, it will default works as transparent transmission mode, then user can switch to configuration mode by serial port command. USR-WIFI232-B2 UART default parameters setting as below figure USR-WIFI232-B2 Default UART Port Parameters...
User can input AT+ Instruction through hyper terminal or other serial debug terminal, also can program the AT+ Instruction to script. User can also input “AT+H” to list all AT+ Instruction and description to start. Jinan USR IOT Technology Limited Page 44 of 77 tec@usr.cn...
Page 45
Click “Open Com”, send “+++a”, it will reply +ok in left side, then type in and send the command you need to send, then click “AT+RELD” to restore, then parameters saved. Jinan USR IOT Technology Limited Page 45 of 77...
AT+Instruction protocol is based on the instruction of ASCII command style, the description of syntax format as follow. Format Description < >: Means the parts must be included [ ]: Means the optional part Command Message Jinan USR IOT Technology Limited Page 46 of 77 tec@usr.cn...
Open/Close show back function ENTM Set module into transparent transmission mode NETP Set/Query network protocol parameters UART Set/Query serial port parameters UARTF Open/Close UART auto-frame function UARTFT Set/Query UART auto-frame trigger time Jinan USR IOT Technology Limited Page 47 of 77 tec@usr.cn...
Page 48
Under the new mode,Settings/query server and IP address(HTTPD HTPSV Client) Under the new mode,Settings/query request type(HTTPD Client) HTPTP Under the new mode,setting/query request path(HTTPD Client) HTPURL HTPHEAD Under the new mode,Settings/query the HTTP header(HTTPD Jinan USR IOT Technology Limited Page 48 of 77 tec@usr.cn...
Settings/query Upload Manner REGTCP Settings/query Device ID REGID Notes: USR-WIFI232-B2 module can works as AP or STA, user have to use different AT+ Instruction to set WiFi parameters when module works as AP or STA mode. 4.13.2.2.1 AT+E Function: Open/Close show back function;...
USR-WIFI232-B2 User Manual http://www.usriot.com IP: Server’s IP address when module set as client After USR-WIFI232-B2 module boots up again, the setting will be effective. 4.13.2.2.4 AT+UART Function: Set/Query serial port parameters; Format: Query Operation AT+UART<CR> +ok=<baudrate,data_bits,stop_bit,parity,flowctrl><CR>< LF ><CR>< LF >...
This Instruction only effective for USR-WIFI232-A/B/C works as STA. After USR-WIFI232-A/B/C module boots up again, the setting will be effective. But user can set this command when module configured as AP. 4.13.2.2.12 AT+ WSLK Jinan USR IOT Technology Limited Page 52 of 77 tec@usr.cn...
Note: The ID function requires that the server carries out corresponding processing.In front of the data when module connected to the server with two bytes of ID (ID the range is 0 ~ 65535, the high byte before, byte behind) plus two bytes radix-minus-one Jinan USR IOT Technology Limited Page 61 of 77 tec@usr.cn...
But user can set this command when module configured as AP. 4.13.2.2.54 AT+WSKEYB Function: Set/query the second AP‘s password of 3 sta parameters settings . Format: Jinan USR IOT Technology Limited Page 65 of 77 tec@usr.cn...
TKIP: When ”auth= WPAPSK”, effective or “WPA2PSK”, effective AES: When “auth= WPAPSK”, effective or “WPA2PSK”, effective key: password, ASCII code, shall less than 64 bit and greater than 8bit Jinan USR IOT Technology Limited Page 66 of 77 tec@usr.cn...
Note: the AT command of AT + REDEN, AT + REGTCP, AT + REGID is supported in V5.01.14 and above version. 5 USR-WIFI232-B2 Usage Introduction 5.1 Module Debug 5.1.1 Software Debug Tools In order to facilitate the use of my company, development of the serial and network debugging two-...
( internal system boot ), Ready lights, said system startup complete, can operate, entering the next step. 5.1.3 Debug As shown above, opened in PC program, set the COM export and open the serial port connection Jinan USR IOT Technology Limited Page 70 of 77 tec@usr.cn...
Page 71
IP address, server port number 8899, this module default monitor TCP port number, click the link to establish TCP connection,Then click the create connection. “TCP UDPDbg” Tools Create Connection Figure 45 Jinan USR IOT Technology Limited Page 71 of 77 tec@usr.cn...
USR-WIFI232-B2 User Manual http://www.usriot.com Because of the USR-WIFI232-B2 module default support for transparent transmission mode, so now you can debug tools two-way data, all data will be wholly intact transmission to the other side of display. The testing process can be seen in module TXD and RXD indicator lights in the data through the flashing.
Also remote TCP server can send command to control and manage the user device through the wireless network. 5.2.3 Transparent Serial Port Application For this transparent serial port application, two USR-WIFI232-B2 modules connect as below figures to build up a transparent serial port connection. Transparent Serial Port Application...
USR-WIFI232-B2 User Manual http://www.usriot.com For left side USR-WIFI232-B2 module, configured as AP mode and use default SSID and IP address, network protocol configured as TCP/Server mode, and protocol port ID: 8899. For right side USR-WIFI232-B2 module, configured as STA mode and setting the same SSID (”USR- WIFI232-A/B_xxxx”...
Page 75
USR-WIFI232-B2 User Manual http://www.usriot.com As above figure, one USR-WIFI232-B2 configured as AP mode and all others configured as STA mode. All USR-WIFI232-B2 which configured as STA and data server PC wireless connected to USR- WIFI232-B2 which configured as AP to make up a wires network.
USR-WIFI232-B2 User Manual http://www.usriot.com Appendix A: Contact Information ------------------------------------------------------------------------------------------------------------ Contact us: Company: Jinan USR IOT Technology Limited Address: 1-728, Huizhan Guoji Cheng, Gaoxin Qu, Jinan, Shandong, China Tel: 86-531-55507297, 86-531-88826739 Web: http://www.usriot.com Support : http://h.usriot.com Email: sales@usr.cn ----------------------------------------------------------------------------------------------------------- Appendix B: Disclaimer This document provides information about USR-WIFI232-A/B/C modules, this document does not grant any license to intellectual property rights.
Page 77
Increase customer support center link, remove WAPI encryption. Ed.V5.0.9 Update on 29-06-2015 V5.01.19 Modify the BUG Ed.V5.0.9 Update on 03-08-2015 Amend the company address.Modify some describe errors END OF DOCUMENT Jinan USR IOT Technology Limited Page 77 of 77 tec@usr.cn...
Page 78
FCC STATEMENT : This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) This device must accept any interference received, including interference that may cause undesired operation.
Page 79
FCC INFORMATION (additional) OEM INTEGRATION INSTRUCTIONS: This device is intended only for OEM integrators under the following conditions: The module must be installed in the host equipment such that 20 cm is maintained between the antenna and users, and the transmitter module may not be co-located with any other transmitter or antenna.
Need help?
Do you have a question about the USR-WIFI232-B2 and is the answer not in the manual?
Questions and answers