Advertisement

Quick Links

WIFI-LPT100-B
Revision History
Rev.
V1.0
User Manual
Issue Date
2017.12.07
Revised Content
Preliminary

Advertisement

Table of Contents
loading

Summary of Contents for Waveshare WIFI-LPT100-B

  • Page 1 WIFI-LPT100-B User Manual Revision History Rev. Issue Date Revised Content Preliminary V1.0 2017.12.07...
  • Page 2: Overview

    WIFI-LPT100-B User Manual Overview WIFI-LP Serial module ultra-low consumption embedded WIFI module, support IEEE 802.11 b/g/n. User can connect their devices to wireless network of WIFI module and transmit • Support IEEE802.11b/g/n Wireless Standards • Based on Self-developed High Performance MCU •...
  • Page 3: Table Of Contents

    WIFI-LPT100-B User Manual CONTENTS Overview ........................... 2 1 Quick Start ..........................5 1.1 Hardware Connection ....................5 1.2 Network Connection ....................6 1.3 Communication Test ....................6 1.4 Application Examples ....................7 1.4.1 Wireless remote-control applications............. 7 1.4.2 Remote Connectivity Applications ..............8 1.4.3 Transparent Transmission ................
  • Page 4 WIFI-LPT100-B User Manual 4.3.2 RFC2217 Protocol Description ............... 20 4.4 Quick Networking Protocol (usrlink) ................ 21 4.5 Mechanisms of Heartbeat Packet ................23 4.6 Wireless Networking ....................24 4.6.1 Working as STA ....................24 4.6.2 Working as AP ....................25 4.6.3 Encryption ......................
  • Page 5: Quick Start

    RS232 port. The setup work only need do once, then it will save the setting forever. This chapter is a user guide for WIFI-LPT100-B series products. We suggest users follow the guide to test module at first, and will have a good understanding of the modules.
  • Page 6: Network Connection

    The following is the WIFI-LPT100-B module example, except SSID, other modules are the same to WIFI-LPT100. Open Wi-Fi, search network, as shown in below, WIFI-LPT100-B is the default network name (SSID) of the module. Figure 2 WIFI Search Join the network, choose to automatically obtain IP. WIFI module supports DHCP Server feature and it is enabled by default.
  • Page 7: Application Examples

    Figure 4 Serial/Network Parameter settings and transmission test 1.4 Application Examples Figure 5 Wireless Remote Control Applications 4.1 Wireless remote-control applications In the wireless remote control applications, WIFI-LPT100-B module works in AP mode. WIFI-LPT100-B module’s serial is connected to user’s devices. Then user 7 / 60...
  • Page 8: Remote Connectivity Applications

    Right of the WIFI-LPT100/WIFI-LPB100 module is set to STA mode, SSID is set to the AP's SSID which will be connected to (e.g. WIFI-LPT100-B), the IP address is DHCP by default, network protocol is set to TCP / Client mode, protocol port 8899, Target IP address is set to the left of the module, i.e.
  • Page 9: Product Overview

    Figure 7 Transparent Serial 2 Product Overview 2.1 General Description WIFI-LPT100-B is a fully self-contained small form-factor, single stream, 802.11b/g/n Wi-Fi module, which provide a wireless interface to any equipment with a Serial interface for data transfer. WIFI-LPT100-B integrate MAC, baseband processor, RF transceiver with...
  • Page 10: Device Parameters

    WIFI-LPT100-B User Manual • FCC/CE Certificated 2.3 Device Parameters Table 1 WIFI-LPT100-B Module Technical Specifications Class Item Parameters Certification FCC/CE Wireless standard 802.11 b/g/n Frequency range 2.412GHz-2.484GHz 802.11b: +18 +/-1dBm (@11Mbps,CCK 802.11g: +17 +/-1dBm Transmit Power (@54Mbps) 802.11n: +15 +/- 1dBm(@HT20,MCS7)
  • Page 11: Module Feature Comparison

    WIFI-LPT100-B User Manual 2.4 Module Feature Comparison Listed below are the basic functions of WIFI low-power series: Table 2 WIFI Modules Feature Comparison LPT100 LPB100 Feature LPT100-B √ √ √ √ √ √ √ √ WIFI √ √ √ √...
  • Page 12: Package Information

    WIFI-LPT100-B User Manual 2.6 Package Information Recommended Reflow Profile Figure 8 Reflow Soldering Profile Note: 1. Recommend to supply N2 for reflow oven. 2. N2 atmosphere during reflow (O2<300ppm) 2.7 Device Handle Instruction ➢ Shelf life in sealed bag: 12 months, at <30℃ and <60% relative humidity (RH) ➢...
  • Page 13: Shipping Information

    1 box = 2 trays = 2*100 pcs = 200pcs 1 carton = 4 boxes = 4*200 pcs = 800pcs 3. Hardware Introduction 3.1 Pins Definition The pins definition of WIFI-LPT100-B: Figure 11 WIFI-LPT100-B View Figure 10 WIFI-LPT100-B PIN Map 13 / 60...
  • Page 14: Mechanical Size

    WIFI-LPT100-B User Manual Table 3 WIFI-LPT100-B pin definition Net Name Signal Type Description Ground 3.3V Pull-down for 1~3s to start simplelink setting. RELOAD Pull-down more than 3s to restore to factory setting RESET Reset (Low to reset) UART_RX Receive Pin of UART...
  • Page 15: Antenna

    WIFI-LPT100-B User Manual 3.3 Antenna WIFI-LPT100-B support I-PEX connector external antenna, modules must be connected to the 2.4G antenna according to IEEE 802.11b/g/n standards. The antenna parameters required as follows: Figure 13 WIFI-LPT100-B I-PEX Connector Table 4 WIFI-LPT100-B External Antenna Parameters...
  • Page 16: Evaluation Kit

    WIFI-LPT100-B User Manual 3.4 Evaluation Kit WS provides WIFI-LPT100-B evaluation kit to promote user to comprehend the product and develop the detailed application. The evaluation kit shown as below, user can connect to module with the RS-232, UART, and Wireless port to configure the parameters, manage the module or do some functional tests.
  • Page 17: Transparent Transmission Mode

    WIFI-LPT100-B User Manual User can use AT+TMODE command to switch between Transparent Mode and HTTPD Client Mode. 4.1.1 Transparent Transmission Mode Transparent Mode Description The benefit of this mode is that it achieves a plug and play serial data port, and reduces user complexity furthest.
  • Page 18: Command Mode

    WIFI-LPT100-B User Manual the two Socket automatically; As well as the data receive through Socket will be send to UART port and transmit The working type of Socket A: TCP Server, TCP Client, UDP Server and UDP Client. The setting method please refer to the AT Instruction, use command AT_NETP The working type of Socket B: TCP Client, UDP Server, UDP Client.
  • Page 19: Httpd Client Mode

    WIFI-LPT100-B User Manual 4.1.3 HTTPD Client Mode In this mode, user serial device can set request to HTTP server by using this module, then module will receive data from HTTP server and analyze it. The result will be transmitted to user device after analysis.
  • Page 20: Rfc2217 Auto-Baud

    WIFI-LPT100-B User Manual bps=20ms when baud rate >= 20000; bps=265-baud rate*0x01223, bps round. The flow of packing is as below: Figure 15 UART Frame mechanism Note: n: interval of packing, unit is ms If T1>n, T2<n. T3<n, T4<n, T5<n, T6>n, then Byte1-Byte5 will be handle as one frame.
  • Page 21: Quick Networking Protocol (Usrlink)

    WIFI-LPT100-B User Manual Example 1: (115200, N, 8, 55 AA 55 01 C2 00 Example 2: 55 AA 55 00 25 80 (9600, N, 8, 1) Table 8 UART Parameters Definition Value Description 5 bits 6 bits Data bit selection...
  • Page 22 WIFI-LPT100-B User Manual 2) Respond Table 10 Response of Query Command Name Bytes Description Head Fixed value: 0xFF length from Length (not Length include) to Check word (not included) type of command, 0x81: Command byte response of query number of AP...
  • Page 23: Mechanisms Of Heartbeat Packet

    WIFI-LPT100-B User Manual Head Fixed: 0xFF Sum of bytes from Length (not included) Length to Check word (not included) Command 0x02 word Reserved 0x00 SSID SSID of router Delimiter 0x0D, 0x0A Password Password of router the sum of the bytes from Head (not...
  • Page 24: Wireless Networking

    HEARTTM transmitting 4.6 Wireless Networking WIFI-LPT100-B can be configured to three modes: STA, AP, AP+STA, provide flexible networking way and network topology method. AP (Wireless Access Point): It is the center point of network. Generally wireless router we use is a kind of AP, end devices can interconnect through AP.
  • Page 25: Working As Ap

    WIFI-LPT100-B User Manual Figure 16 WIFI-LPT100-B STA Networking Structure 4.6.2 Working as AP If the module work as AP, module can quickly connect to phone/PAD/PC and transmit data without any setting. One AP support to connect at most three STA devices.
  • Page 26: Encryption

    ➢ WPA2-PSK/AES 4.7 Socket Communication WIFI-LPT100-B module has two TCP Socket: Socket A and Socket B. Serial data written to the module, will be sent to the Socket A and B simultaneously; TCP data that module receives through either Socket A or B, will be sent to the serial port.
  • Page 27: Socket A

    WIFI-LPT100-B User Manual 4.7.1 Socket A Socket A has four work mode: TCP Server, TCP Client, UDP Client, UDP Server. The setting method, please refer to the AT+NETP command instruction. When Socket A configured as TCP Server, it supports Multi-TCP link connection, and maximum 5 TCP clients permitted to connect to Socket A.
  • Page 28: Firmware And Web Upgrade

    AT command, the following will describe the detail of two methods. 5.1 WEB 5.1.1 Web Brief Description When first use WIFI-LPT100-B modules, user may need some configuration. User can connect to WIFI-LPT100-B module’s wireless interface with following default setting information and configure the module through laptop.
  • Page 29: System Page

    WIFI-LPT100-B User Manual “OK” button. The WIFI-LPT100/WIFI-LPB100 web management page support English and Chinese language. User can select language environment at the top right corner and click “Apply” button. The main menu includes nine pages: “System”, “Work Mode”, “STA Setting”, “AP Setting”, “Other Setting”, “Account”, “Upgrade SW”, “Restart”, “Restore”...
  • Page 30: Work Mode Page

    WIFI-LPT100-B User Manual 5.1.4 Work Mode Page WIFI-LPT100-B module can work at AP mode to simplify user’s configuration, can also works at STA to connect remote server through AP router. Also, it can configure at AP+STA mode which provide very flexible application for customers Figure 23 Work Mode Page 5.1.5 STA Setting Page...
  • Page 31: Ap Setting Page

    Figure 26 AP Setting Page 5.1.7 Other Setting Page WIFI-LPT100-B usually works at transparent mode. At this mode, the user device which connected with WIFI-LPT100/WIFI-LPB100 will connect and communicate with remote PC or server. At this page, user need setting serial port communication parameters and defines TCP related protocol parameters.
  • Page 32: Account Management Page

    WIFI-LPT100-B User Manual Figure 27 Other Setting Page 1.8 Account Management Page This page set web server’s user name and password. Figure 28 Account Page 5.1.9 Upgrade Software Page User can upgrade new software (firmware) version through Wi-Fi. 32 / 60...
  • Page 33: At Command

    WIFI-LPT100-B User Manual Figure 29 Upgrade SW Page 5.2 AT Command AT command means the command by which user can query and set the parameters to module in command mode through the serial port. The following will explain in detail about the method of switching module work mode and the use format of AT commands.
  • Page 34: Switch To Command Mode

    WIFI-LPT100-B User Manual 5.2.1 Switch to Command Mode Two steps to finish switching from transparent mode to command mode: ➢ UART input “+++”, after module receive “+++”, and feedback “a” as confirmation. ➢ ART input “a”, after module receive “a” and feedback “+ok” to go into AT+ instruction set configuration mode.
  • Page 35: At+ Instruction Overview

    WIFI-LPT100-B User Manual Switching command mode to throughput mode need to use AT+ENTM command, input ‘AT+ENTM’ in command mode ends with the enter key, you can switch to passthrough mode. Notes: Here work mode switch is temporary, module still work in the default work mode after the restart, if need to change the module default work mode, please refer to the AT+TMODE command.
  • Page 36: At+ Instruction Introduction

    WIFI-LPT100-B User Manual [para-n]: Parameters input for setting if required; <CR>: “Enter” Key, it’s 0x0a or 0x0d in ASCII Note: If use didn’t disable the echo function (AT+E), the command user input will be sent back except the end word.
  • Page 37 WIFI-LPT100-B User Manual SOCK A Command NETP Set/Query SOCK A network protocol parameters TCPLK Query if SOCK A TCP link already build-up TCPTO Set/Query SOCK A TCP timeout TCPDIS Open/Close SOCK A TCP link SOCK B Command SOCKB Set/Query SOCK B network protocol parameters...
  • Page 38 WIFI-LPT100-B User Manual NTPEN Enable/Disable time calibration function NTPTM Query time NTPSER Set/Query NET server and time zone Other Command WRMID Set module ID ASWD Set/Query search keywords in LAN WAPM Set if MAC is following AP’s SSID MDCH Set Wi-Fi Auto Switch Function...
  • Page 39 WIFI-LPT100-B User Manual    APSTA 3) AT+ENTM ➢ Function: Set module into throughput mode; ➢ Format: AT+ENTM<CR> +ok<CR>< LF ><CR>< LF > After operate this command, module switch from command mode to throughput mode. 4) AT+TMODE ➢ Function: Set/Query module data transfer mode. Setting is valid after reset.
  • Page 40 WIFI-LPT100-B User Manual When operate this command, module will restore to factory default setting and reboot. 7) AT+Z ➢ Function: Re-start module; ➢ Format: AT+ Z<CR> 8) AT+VER ➢ Function: Query firmware version ➢ Format: AT+VER<CR> +ok=<ver><CR><LF><CR><LF> ➢ Parameter: ver: firmware version 9) AT+CFGTF ➢...
  • Page 41 WIFI-LPT100-B User Manual Parity: NONE, EVEN, ODD Flowctrl:(CTS/RTS) NFC: No hardware flow control FC: hardware flow control (WIFI-LPT100 don’t have hardware flow control). 11) AT+UARTF ➢ Function: Open/Close UART auto-frame function; ➢ Format: Query Operation: AT+ UARTF<CR> +ok=<para><CR>< LF ><CR>< LF >...
  • Page 42 WIFI-LPT100-B User Manual Query Operation: AT+NETP<CR> +ok=<protocol, CS, port, IP><CR>< LF ><CR>< LF > Set Operation: AT+NETP=<protocol, CS, port, IP><CR> +ok<CR>< LF ><CR>< LF > ➢ Parameters: Protocol: TCP, UDP, CS: SERVER, CLIENT Port: protocol port ID: Decimal digit and less than 65535.
  • Page 43 WIFI-LPT100-B User Manual ➢ Format: AT+ TCPLK<CR> +ok=<sta><CR>< LF ><CR>< LF > ➢ Parameters: sta: SOCKA connection status; on: TCP connected; off: TCP disconnected; 16) AT+TCPDIS ➢ Function: Open/Close SOCKA TCP link; ➢ Format: Query Operation: AT+TCPDIS<CR> +ok=<sta><CR>< LF ><CR>< LF >...
  • Page 44 WIFI-LPT100-B User Manual Port: Protocol Port in decimal, less than 65535; IP: Destination IP address, domain name is support; If 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 port when power up.
  • Page 45 WIFI-LPT100-B User Manual When Set Operation, “off” means close TCP link. After finish this command, module disconnect TCP link and not connect again. “On” means open TCP link. After finish this command, module re-connect TCP server right away. 20) AT+TCPLKB ➢...
  • Page 46 WIFI-LPT100-B User Manual ap's ssid:AP’s SSID (Within 32 character); 23) AT+WSKEY Function: Set/Query STA security parameters. Setting is valid after reset. ➢ Format: ➢ Query Operation: AT+WSKEY<CR> +ok=<auth,encry,key><CR>< LF ><CR>< LF > Set Operation: AT+ WSKEY=< auth,encry,key><CR> +ok<CR>< LF ><CR>< LF >...
  • Page 47 WIFI-LPT100-B User Manual ➢ Parameters:  Mode: STA’s IP network setting  Static: Static IP  DHCP: Dynamic IP  Address: STA IP address;  mask: STA subnet mask;  gateway: STA gateway address; 25) AT+WSMAC ➢ Function: Set/Query STA MAC address parameters. Setting is valid after reset.
  • Page 48 WIFI-LPT100-B User Manual AT+ WSLQ<CR> +ok=<ret><CR>< LF ><CR>< LF > ➢ Parameters:  ret  Disconnected, if no WiFi connection  ‘AP’s WiFi signal strength , if WiFi connection available; 28) WSCAN ➢ Function: Scan AP; ➢ Format: AT+ WSCAN<CR>...
  • Page 49 WIFI-LPT100-B User Manual AT+LANN<CR> +ok=<IP address, mask><CR>< LF ><CR>< LF > Set Operation: AT+ LANN=< ipaddress,mask><CR> +ok<CR>< LF ><CR>< LF > ➢ Parameters:  IP address: AP’s IP address;  Mask: AP’s net mask; 31) AT+WAP ➢ Function: Set/Query AP Wi-Fi parameters. Setting is valid after reset.
  • Page 50 WIFI-LPT100-B User Manual +ok<CR>< LF ><CR>< LF > ➢ Parameters:  Auth: include  OPEN  WPA2PSK  Encry: include  NONE: When “auth=OPEN” available;  AES: When “auth=WPA2PSK” available;  Key: security code, ASCII code, smaller than 64bit and bigger than 8 bit;...
  • Page 51 WIFI-LPT100-B User Manual ➢ Format: Query Operation AT+HTPHD<CR> <CR><LF>+OK=< head><CR><LF> Set Operation AT+ HTPHD =< head><CR> +ok<CR><LF><CR><LF> ➢ Parameters head: HTTP request head information 36) AT+HTPURL ➢ Function: Query/Set HTTPD request URL ➢ Format: Query Operation AT+HTPURL<CR> +ok=<url><CR><LF><CR><LF> Set Operation AT+ HTPURL =<url><CR>...
  • Page 52 WIFI-LPT100-B User Manual ➢ Format: Query Operation AT+HTPTO<CR> +ok=<time><CR><LF><CR><LF> Set Operation AT+HTPTO=<time><CR> +ok<CR><LF><CR><LF> ➢ Parameters: time: 1~30s (10s by default) 39) AT+PLANG ➢ Function: Set/Query webpage language option; ➢ Format: Query Operation AT+PLANG<CR> +ok=<language><CR>< LF ><CR>< LF > Set Operation: AT+PLANG =<language><CR>...
  • Page 53 WIFI-LPT100-B User Manual  Username: User Name, within 15 characters, not support empty.  Password: password, within 15 characters, support empty. 41) AT+DTDDIS ➢ Function: Query/Set D2D registration packet function ➢ Format: Query Operation AT+DTDDIS<CR> +ok=<status><CR><LF><CR><LF> Set Operation AT+DTDDIS=<status><CR> +ok<CR><LF><CR><LF>...
  • Page 54 WIFI-LPT100-B User Manual ➢ Parameters: sta: on/off 44) AT+REGUSR ➢ Function: Query/Set customized registration packet data ➢ Format: Query Operation AT+REGUSR<CR> +ok=<reg><CR><LF><CR><LF> Set Operation AT+REGUSR=<reg><CR> +ok<CR><LF><CR><LF> ➢ Parameters: reg: data of customized registration packet (length <=32 bits) 45) AT+REGENA ➢...
  • Page 55 WIFI-LPT100-B User Manual AT+DTTY<CR> +ok=<sta><CR><LF><CR><LF> Set Operation AT+DTTY=<sta><CR> +ok<CR><LF><CR><LF> ➢ Parameters: sta: FIRST/EVERY 47) AT+PING ➢ Function: Network ”Ping” command; ➢ Format: AT+PING=<IP_address><CR> +ok=<fb><CR>< LF ><CR>< LF > ➢ Parameters:  Fb: feedback result  Success  Timeout  Unknown host 48) AT+WRMID ➢...
  • Page 56 WIFI-LPT100-B User Manual 50) AT+USERVER ➢ Function: Query the user version and the generated time ➢ Format: AT+USERVER<CR> +ok=<user_version,generated_time><CR><LF><CR><LF> ➢ Parameters:  user_version: V1.1  generated_time: 2017-08-15 10:15 51) AT+PRTMAC ➢ Function: Query if report MAC ➢ Format: AT+RPTMAC<CR> +ok=<status><CR><LF><CR><LF>...
  • Page 57 WIFI-LPT100-B User Manual ➢ Function: Query Network time ➢ Format: AT+ NTPTM<CR> +ok=<time><CR>< LF ><CR>< LF > ➢ Parameters: time: if receive “Not Available” means the clock is disable or disconnect to network 55) AT+NTPSER ➢ Function: Query/Set NTP server and the time zone ➢...
  • Page 58 WIFI-LPT100-B User Manual +ok=< status><CR><LF><CR><LF> Set Operation AT+HEARTTP=<type><CR> +ok<CR><LF><CR><LF> ➢ Parameters: type: NET, COM 58) AT+HEARTDT ➢ Function: Query/Set Heartbeat Packet Data ➢ Format: Query Operation AT+HEARTDT<CR> +ok=<data><CR><LF><CR><LF> Set Operation AT+HEARTDT=<data><CR> +ok<CR><LF><CR><LF> ➢ Parameters: data: in HEX, <= 80 bytes 59) AT+HEARTTM ➢...
  • Page 59 WIFI-LPT100-B User Manual AT+MDCH<CR> +ok=<sta><CR><LF><CR><LF> Set Operation AT+MDCH=<sta><CR> +ok<CR><LF><CR><LF> ➢ Parameters:   OFF: close exception handing function  ON; Open the WIFI mode switch function, if connecting failed at STA mode, module will auto-switch to APSTA mode. If the module auto-switch to APSTA and succeed connecting to network, it will switch back to STA mode automatically.
  • Page 60: Appendix D: Disclaimer

    WIFI-LPT100-B User Manual 6 Appendix D: Disclaimer This document provides information about WIFI-LPT100/WIFI-LPB100 modules, this document does not grant any license to intellectual property rights. Except the responsibility declared in the product sale clause, WS does not assume any other responsibilities. In...

Table of Contents