VitalWell VW801 User Manual Download Page 7

VW801, VW802, VW803, VW804 Serial-WiFi Modem User Manual

 

 

Vitalwell Electronics (Zhuhai) Pte. Ltd.      www.vital-well.com

    email: 

[email protected]

 

5

 

   

 

2. FUNCTIONAL DESCRIPTION 

Notes for symbols

AP

:  

 that is the wireless Access Point, the founder of a wireless network and the centre of the 
network nodes. The wireless router we use at home or in office may be an AP. 

STA

:   short for Station, each terminal connects to a wireless network (such as laptops, PDA and 

other networking devices) can be called with a STA device. 

2.1. Wireless Networking 

VW801 series modem can be configured as both wireless STA and AP base on network type. Logically 
there are two interfaces in VW801: STA or AP. When VW801 operates as AP, other STA equipments 
are able to connect to VW801 modem directly. Wireless networking with VW801 series modem is very 
flexible. 

In the following diagram, we

ll use VW801 as example. 

2.1.1. Basic Wireless Network Based On AP (Infrastructure) 

Infrastructure:   it

s also called basic network. It is built on AP and many STAs which join in. 

The characters of network of this type are that AP is the centre, and all communication between 

STAs is transmitted through the AP. The following figure shows this type of networking. 

 

Figure 3. VW801 Basic Wireless Network Structure 

2.1.2. Wireless Network Based On AP+STA 

VW801 series modem support AP+STA network mode, means VW801  support one AP interface and 
one STA interface at the same time, as following figure, 

Summary of Contents for VW801

Page 1: ...Characteristics Support IEEE802 11b g n Wireless Standards Built in USB Serial Bridge Chip Silabs CP2102 Support AT commands sending from serial port Support connections over AT commands Support tran...

Page 2: ...RT Frame Scheme 7 2 3 1 UART Free Frame 7 2 3 2 UART Auto Frame 7 2 4 Encryption 8 2 5 Parameters Configuration 8 2 6 SOCKET B Function 8 2 7 Multi TCP Link Connection 9 3 OPERATION GUIDELINE 10 3 1 V...

Page 3: ...ture targeting embedded wifi data control applications for the instance for example in smart home wifi lighting wifi socket smart grid handheld devices personal medical industrial control IP sensors e...

Page 4: ...range 2 412GHz 2 484GHz Transmit Power 802 11b 16 2dBm 11Mbps Wireless 802 11g 14 2dBm 54Mbps Parameters 802 11n 13 2dBm HT20 MCS7 Receiver Sensitivity 802 11b 93 dBm 11Mbps CCK 802 11g 85 dBm 54Mbps...

Page 5: ...Embedded I O T add on WIFI l Remote equipment monitoring l Asset tracking and telemetry l Security l Industrial sensors and controls l Medical devices l etc 1 2 Hardware Introduction Figure 1 VW801 VW...

Page 6: ...Zhuhai Pte Ltd www vital well com email Vitalwell vital well com 4 Table 3 VW802 232TTL Pins Definition Pin 1 2 3 4 Signal VCC RXD TXD GND Table 4 VW803 232C Pins Definition Pin 1 2 3 4 Signal VCC RXD...

Page 7: ...ically there are two interfaces in VW801 STA or AP When VW801 operates as AP other STA equipments are able to connect to VW801 modem directly Wireless networking with VW801 series modem is very flexib...

Page 8: ...interface transparent transmission mode In this mode VW801 functions as a serial WIFI bridge gives user a wireless serial port over WIFI Users just only configure the necessary parameters After power...

Page 9: ...hisintervalsomefaster 10ms through ATcommand ButuserhavetoconsiderifuserMCU applicationscansendallUARTdatacontinuously within 10ms interval time requirement or the UART data may be divide as fragment...

Page 10: ...PSK AES 2 5 Parameters Configuration VW801 modem supports AT instruction set mode parameter configuration AT instruction set configuration means user configure parameters through serial interface comm...

Page 11: ...s are allowed User can realize multi TCP link connection at each operation mode Multi TCP link connection will work as following structure Upstream All dates from different TCP connection or client wi...

Page 12: ...ort Serial Debugging Software Terminal Ethernet Debugging Software TCP to serial client software 3 1 2 Network Connection User can select two methods to connect VW801 modem base on dedicated applicati...

Page 13: ...ed WecangotoSilabswebsitewww silabs comtoget thelatestdriver Alertly acopy of thedriver is put in the following link http www vital well com webfile software CP210x_VCP_Windows zip when the driver is...

Page 14: ...ell com email Vitalwell vital well com 12 Figure 9 Terminal Serial Debug Tools PC2 wifi enabled is connected to the modem on wifi interface as shown in VW801 Figure 10 Computers Connected to Wifi Modu...

Page 15: ...PUDPDbg Creating a connection Click on the left panel input data in the send window click will send data out Figure 12 TCPUDPDbg Tools Connection As VW801 module supports transparent transmission mode...

Page 16: ...ce through the wireless connection over VW801 modem 3 2 2 Remote Management Application Figure 14 Remote Management Application Forthisremote managementapplication VW801 works asSTA modeandconnectstoI...

Page 17: ...Electronics Zhuhai Pte Ltd www vital well com email Vitalwell vital well com 15 a transparent serialportconnection One VW801operates as AP mode and theotherVW801operates as STA mode Let the STA devic...

Page 18: ...andoverserialinterface VW801UARTdefaultparameterssettingas below figure Figure 16 VW801 Default UART Port Parameters In configuration mode user can set the modem through AT instruction set 4 1 1 Switc...

Page 19: ...nput No Enter key required the UART port will display feedback information a and not display input information as above UART display 3 Any other input or wrong step to UART port will cause the module...

Page 20: ...ameters input NULL Query the current command parameters setting para n Parameters input for setting if required CR LF Carriage Return Key it s ASCII value is 0x0A or 0x0D hex format Notes When input A...

Page 21: ...TF Open Close UART auto frame function 26 UARTFT Set Query UART auto frame trigger time 26 UARTFL Set Query UART auto frame trigger length 27 UARTTE Set Query UART free frame trigger time between two...

Page 22: ...P 34 LANN Set Query AP s network parameters 34 WAP Set Query AP Wi Fi parameters 35 WAKEY Set Query AP security parameters 35 WAMAC Set Query AP MAC address 36 WADHCP Set Query AP DHCP Server status 3...

Page 23: ...nsparent transmission to configuration mode show back status is open input AT E to close show back function input AT E again to open show back function 4 2 2 2 AT WMODE n Function Set Query Wi Fi work...

Page 24: ...CR LF CR LF n Parameters u tmode data transfer mode include throughput throughput mode cmd command mode pwm PWM GPIO mode 4 2 2 5 AT MID n Function Query module ID information n Format u Query Operati...

Page 25: ...restore to factory default setting n Format u Set Operation AT RELD CR ok rebooting CR LF CR LF When operate this command module will restore to factory default setting and reboot 4 2 2 9 AT Z n Funct...

Page 26: ...00 921600 u data_bits 8 u stop_bits 1 2 u parity NONE EVEN ODD u Flowctrl CTSRTS NFC No hardware flow control FC hardware flow control 4 2 2 12 AT UARTF n Function Open Close UART auto frame function...

Page 27: ...u Set Operation AT UARTFL len CR ok CR LF CR LF n Parameters u len Range 8 1000 Unit Byte Auto frame trigger length 4 2 2 15 AT UARTTE n Function Set Query UART free frame trigger time between two by...

Page 28: ...l be sent to the saved IP address and port If the module hasn t saved any IP address and port when power up The data will be sent to the IP address and port which is set by this command If set as UDP...

Page 29: ...eceive any data clecherar time counter when TCP channel receive any data If the time counter reaches the TCPTO the tcp channel will be break If the module work in TCP Client it will connect the TCP se...

Page 30: ...set as UDP SERVER the module will save the IP address and port of the latest UDP packet received The data will be sent to the saved IP address and port If the module hasn t saved any IP address and po...

Page 31: ...00 600s 0 0 means no timeout Default 300s The module willnot connect SOCKBafterTCP timeout The module willmake connection afteranother TCPDISB command 4 2 2 24 AT TCPLKB n Function Query SOCKB connect...

Page 32: ...Operation AT WSKEY auth encry key CR ok CR LF CR LF n Parameters u auth Authentication mode OPEN SHARED WPAPSK WPA2PSK u encry Encryption algorithm NONE When auth OPEN effective WEP When auth OPEN or...

Page 33: ...address parameters Setting is valid after reset n Format u Query Operation AT WSMAC CR ok mac_address CR LF CR LF Set Operation AT WSMAC code mac_address CR ok CR LF CR LF n Parameters u code security...

Page 34: ...nction Scan AP n Format AT WSCAN CR ok ap_site CR LF CR LF n Parameters u ap_site AP searched 4 2 2 32 AT WSDNS n Function Set Query STA static DNS server address n Format u Query Operation AT WSDNS C...

Page 35: ...rameters Setting is valid after reset n Format u Query Operation AT WAP CR ok wifi_mode ssid channel CR LF CR LF u Set Operation AT WAP wifi_mode ssid channel CR ok CR LF CR LF n Parameters u wifi_mod...

Page 36: ...bit 4 2 2 36 AT WAMAC n Function Query AP MAC address parameters n Format u Query Operation AT WAMAC CR ok mac_address CR LF CR LF n Parameters u mac_address AP s MAC address Note Module AP mode s MAC...

Page 37: ...P 4 2 2 39 AT WALKIND n Function Enable Disable indication of module AP connection status n Format u Query Operation AT WALKIND CR ok status CR LF CR LF u Set Operation AT WALKIND status CR ok CR LF C...

Page 38: ...r one minute auto Enable Wi Fi auto detect function The modem will reset itself when encounter any abnormal The default time interval is 10 minutes default mode 3 120 unit minute Set the time interval...

Page 39: ...Number n Format u Query Operation AT HTTPURL CR ok IP Port CR LF CR LF u Set Operation AT HTTPURL IP Port CR ok CR LF CR LF n Parameters u IP IP address u Port Port number A 1 2 AT HTTPTP n Function...

Page 40: ...uery Connection of HTTP protocol header n Format u Query Operation AT HTTPCN CR ok Connection CR LF CR LF u Set Operation AT HTTPCN Connection CR ok CR LF CR LF n Parameters u Connection Max length is...

Page 41: ...der path AT HTTPCN keep alive Set HTTP Connection area AT HTTPUA lwip1 3 2 Set HTTP User Agent area If send AT HTTPDT the data packet will be sent as the following instance including the two new line...

Page 42: ...801 VW802 VW803 VW804 Serial WiFi Modem User Manual Vitalwell Electronics Zhuhai Pte Ltd www vital well com email Vitalwell vital well com 40 APPENDIX B Document History Rev 1 0 20140707 initial relea...

Reviews: