Do you have a question about the WIFI232-S and is the answer not in the manual?
Questions and answers
Summary of Contents for MANNL ELEKTRONIK WIFI232-S
Page 1
Low Power WiFi Module User Manual www.maennl-elektronik.de WIFI232-S/T/G2/H Low Power WiFi Module User Manual V2.1 Overview of Characteristic Support IEEE802.11b/g/n Wireless Standards Based on Self-developed High Performance MCU Ultra-Low-Power for Battery Applications with Excellent Power Save Scheme ...
TTL to RS232 adapter cable and then connect to the , we provide computer. in order to facilitate the test WIFI232-S/T/G2/H evaluation board for users to choose. 1.2 Network connection , except...
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de Join the network choose to automatically obtain IP, WIFI module supports DHCP Server feature and is enabled by default. Now, nlink led of WIFI232-T is lighting. Evaluation Board 1.3 communication test Module’s default setting: ...
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de 1.4 Application Examples 1.4.1 Wireless remote control applications Figure 3 Wireless remote control applications , WIFI232 In the wireless remote control applications module works in AP mode. WIFI232 module’s such as serial connect user’s devices Control client ( smartphones can controll the user equipment via...
Page 9
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de connected to ( WIFI232-T), 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.
2. Product Overview 2.1 General Description WIFI232-S/T/G2/H 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. WIFI232-S/T/G2/H integrate MAC, baseband processor, RF transceiver with power amplifier in hardware and all Wi-Fi protocol and configuration functionality and networking stack, in embedded firmware to make a fully self-contained 802.11b/g/n Wi-Fi solution for a...
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de 3. Hardware Introduction 3.1 Pins Definition 3.1.1. WIFI232-S Pins Definition Figure 7 WIFI232-S View Figure 8 WIFI232-S Pins Map Table 4 WIFI232-S Pins Definition Describtion Net Name Signal Comments Type Interface(Reserved) SPI Data Out...
Page 15
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de No connect if not use. Module Recovery Low effective reset input. Pull-up nReload if not use. Can be set to Smart Link Pin Wi-Fi Status nLink 0- Wi-Fi Link. 1- No WIFI Link. No connect if not use. WPS Function Pin.
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de 3.1.2. WIFI232-T Pins Definition Figure 9 WIFI232-T view Figure 10 WIFI232-T pin map Table 5 WIFI232-T Pins Definition Describtion Net Name Signal Type Comments Ground Power +3.3V Power DVDD Power 3.3V@250mA Low effective reset input. Module nReload Pull-up if not use.
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de Module reset pin, input GPIO, low effective. Module nReset need pull-up when module works. If MCU module needs to do a reset operation, pull low for at least 10ms and then pull up. nReload: Module recovery factory settings pin, input GPIO, low effective.
Page 18
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de Figure 12 WIFI232-G2 Pin map Table 6 WIFI232-G2 pin Definition Describtion Net Name Signal Type Comments 1,17,32,48 Ground Power Debug SWCLK I, PD Debug functional pin, No connect if not use. Debug I/O,PU Sleep Sleep_RQ I,PU (Reserved)...
Page 19
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de No connect No connect GPIO23, No connect if not use GPIO GPIO No connect Power soft “0” – Power Down Mode PWR_SW I,PU switch “1” – Normal mode (Function is reserved) No connect SPI Data In SPI_MISO SPI Clock SPI_CLK...
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de nLink: Wi-Fi link status indicator pin, output GPIO,low effective. We strongly suggest customer connect out this pin to LED. At “Smart Link” config mode, this LED used to indicate APP to finish setting. At normal mode, it’s Wi-Fi link status indicator nReady: Module startup success indicator pin, output GPIO, low effective.
Page 21
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de Figure 14 WIFI232-H Pin map Table 7 WIFI232-H pin Definition Describtion Net Name Signal Comments Type 1,17,32,48 Ground Power Debug SWCLK I, PD Debug functional pin, No connect if not use. Debug I/O,PU GPIO7, No connect if not use GPIO Sleep_RQ I,PU...
Page 22
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de No connect GPIO20, No connect if not PWM/GPIO PWM_4 No connect No connect No connect No connect GPIO25, No connect if not USB1.1 D+ USB_DP GPIO26, No connect if not USB1.1 D- USB_DM GPIO27, No connect if not GPIO GPIO27 No connect...
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de Module recovery factory settings pin, input GPIO, low effective. After module is powered up, short press this button (Low < 3s) to make the module go into “Smart Link” config mode, waiting for APP to set password and other information. After module is powered up, long press this button (Low >...
Sourcing 6mA voltage Output low Sinking 6mA voltage Input high voltage Input low voltage 3.3 Mechanical Size 3.3.1 WIFI232-S WIFI232-S modules physical size (Unit: mm) as follows: Figure 15 WIFI232-S Mechanical Size Page 24 of 80 Männl Elektronik GmbH info@maennl.info...
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de Figure 16 WIFI232-S PCB Symbol Size 3.3.2 WIFI232-T WIFI232-T modules physical size (Unit: mm) as follows: Figure 17 WIFI232-T Mechanical Size 3.3.3 WIFI232-G2/H WIFI232-G2/H modules physical size (Unit: mm) as follows: Page 25 of 80 Männl Elektronik GmbH...
Page 26
WIFI232-G2 SPI Interface User Manual www.maennl-elektronik.de Figure 18 WIFI232-G2/H PCB Symbol Size WIFI232-G2/H modules PCB footprint size(Unit:mm)as follows: Figure 19 WIFI232-G2/H PCB Symbol Size Product Features: Support UART/SPI two communication interface, user can freely choose according to demand. UART communication mode, please refer to "WIFI232 Low Power WiFi Module User Manual V2.1"...
Page 27
Low Power WiFi Module User Manual www.maennl-elektronik.de Function Description The WIFI232-G2 module supports SPI data communication mode, the module connect with SPI device via 5 pin, using interrupt trigger level to support different clock polarity and phase four transmission modes, up to 6MHz rate. Hardware connect In SPI communication mode, the module operates in master mode, the connection circuit as following.
Note: While reading data, module don’t set CS pin low level. 3.4 Antenna 3.4.1 WIFI232-S WIFI232-S has two versions, respectively supports internal antenna and external SMA antenna. 1) Internal antenna version WIFI232-Sa When customer select internal antenna, you shall comply with following antenna design rules and module location suggestions: ...
Low Power WiFi Module User Manual www.maennl-elektronik.de Antenna can’t be shieldedby any meal enclosure; All cover, include plastic,shall away from antenna at least 10mm We suggest WIFI232-G2 module better locate in following region at customer board, which to reduce the effect to antenna and wireless signal, and better consult technical people when you structure your module placement and PCB layout.
Low Power WiFi Module User Manual www.maennl-elektronik.de Item Parameters Frequency range 2.4~2.5GHz Impedance 50 Ohm VSWR 2 (Max) Return Loss -10dB (Max) Connector Type I-PEX connector 3.4.3 WIFI232-G2/H respectively Internal WIFI232-G2/H has two versions, supports antenna and external I-PEX antenna. 1) Internal antenna version WIFI232-G2a/Ha When customer select internal antenna, you shall comply with following antenna design rules and module location suggestions:...
3.5 Evaluation Kit We provide WIFI232-S/T/G2/H 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 the some functional tests.
Low Power WiFi Module User Manual www.maennl-elektronik.de 4. Modules function description 4.1 Work Mode WIFI232-S/T/G2/H have three work modes: throughput mode, command mode, PWM/GPIO mode.The swiching method of work mode is in 5th Chapter. Throughput mode In this mode, the module can transparent transmite data between the common serial device and network device.
Low Power WiFi Module User Manual www.maennl-elektronik.de Data Bit Parity (Check) Bit Stop Bit Hardware Flow Control 2. UART Frame Scheme 1) UART Free-Frame If user select open this function, module will check the intervals between any two bytes when receiving UART data.
PWM and GPIO function pin for GPIO and PWM based , the following table control applications is the pin mapping table.WIFI232-H don’t have this function. Table 14 WIFI232-S GPIO/PWM pin map Configure PWM/GPIO Default Type Number d Function...
PWM n SET: Save PWMn Channel set, Response PWM OK or PWM NOK 4.2 Wireless Networking module can be configured as both wireless STA and AP base on WIFI232-S/T/G2/H network type. can provide a very flexible method for users and network topology.
Low Power WiFi Module User Manual www.maennl-elektronik.de Figure 27 WIFI232-S/T/G2/H STA WI-FI Mode 4.2.2 AP WI-FI Mode can quickly In AP WI-FI Mode, the phone / PAD / computer connect to the serial device to or control the device, transfer data...
WPA2-PSK/AES 4.3 Socket Communication WIFI232-S/T/G2/H module has two TCP/UDP Socket: Socket A and Socket B. Serial data written to the module, will be sent to the Socket A and B simultaneously; TCP/UDP data that module receives through either Socket A or B,will be sent to the serial port.
Low Power WiFi Module User Manual www.maennl-elektronik.de When Socket A configured as TCP Server, it supports Multi-TCP link connection, and maximum 5 TCP clients permitted to connect to Socket A. Multi-TCP link connection will work as following structure: Upstream: All dates from different TCP connection or client will be transmitted to the serial port as a sequence.
Two methods of configuration parameters, please refer to Chapter 5 explains. 4.6 Firmware and web upgrade WIFI232-S/T/G2/H supports upgrade firmware and web over wireless. WIFI232- T/G2/H upgrade method can refer to Section 5.1.9 firmware upgrade page. Besides, you can login http://10.10.100.254/iweb.html to update firmware and web.
Page 41
Low Power WiFi Module User Manual www.maennl-elektronik.de Before any firmware upgrade, be sure to contact us, or else it may result in permanent damage to the module. Page 41 of 80 Männl Elektronik GmbH info@maennl.info...
Low Power WiFi Module User Manual www.maennl-elektronik.de 5. Module Parameter configuration WIFI232 modules support two methods of Parameter configuration: web and AT command,the following will describe the detail of two methods. 5.1 Web 5.1.1 Web Brief Description When first use WIFI232 modules, user may need some configuration. User can connect to WIFI232 module’s wireless interface with following default setting information and configure the module through laptop.
Low Power WiFi Module User Manual www.maennl-elektronik.de The main menu include nine pages: “System”, “Work Mode”, “STA Setting”, “AP Setting”, “Other Setting”, “Account”, “Upgrade SW”, “Restart”, “Restore” 5.1.3 System Page At this page, user can check current device’s important information and status such as: device ID (MID), software version, wireless work mode and related Wi-Fi parameters.
Low Power WiFi Module User Manual www.maennl-elektronik.de 5.1.5 STA Setting Page User can push “Scan” button to auto search Wi-Fi AP router nearby, and can connect with associate AP through some settings. Please note the encryption information input here must be fully same with Wi-Fi AP router’s configration, and then it can link with AP correctly.
Low Power WiFi Module User Manual www.maennl-elektronik.de Figure 37 AP Setting Page 5.1.7 Other Setting Page WIFI232-T/G2/H usually works at throughput mode. At this mode, the user device which connected with WIFI232-T/G2/H will connect and communicate with remote PC or server. At this page, user need setting serial port communication parameters and defines TCP related protocal parameters.
Low Power WiFi Module User Manual www.maennl-elektronik.de Figure 39 Account Page 5.1.9 Upgrade Software Page User can upgrade new software (firmware) version through Wi-Fi. Restart Page 5.1.10 Most of the settting and configuration can only effective after system restart. User shall restart after finish all setting.
AT commands. When WIFI232-S/T/G2/H power up, it will default works as throughput mode, then user can switch to command mode by serial port command. WIFI232-S/T/G2 UART default parameters setting as below figure: Figure 42 WIFI232-S/T/G2/H...
Low Power WiFi Module User Manual www.maennl-elektronik.de AT command debugging tools recommended SecureCRT App software tools or TCP232-test tool. Users can be obtained the tool from our Web site.The following demonstration uses SecureCRT tools. 5.2.1 Switch to Command Mode Two steps to finish switching from throughput mode to command mode: ...
Low Power WiFi Module User Manual www.maennl-elektronik.de 5.2.2 AT command Overview 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. Figure 45 ”AT+H”command AT command is based on the instruction of ASCII command style, the description of syntax format as follow.
Low Power WiFi Module User Manual www.maennl-elektronik.de TCPTOB Set/Query Sock B TCP timeout TCPLKB Query if Sock B TCP link already build-up SNDB Send data to Sock B in Command Mode RCVB Receive data from Sock B in Command Mode WiFi STA Command WSSSID Set/Query associated AP SSID parameters...
Format: AT+MID<CR> +ok=<module_id><CR>< LF ><CR>< LF > Parameters: module_id: module ID information WIFI232-S/T/G2 Notes: User can set this parameter through AT+WRMID. 6) AT+RELD Function: module restore to factory default setting. Format: Page 52 of 80 Männl Elektronik GmbH...
Low Power WiFi Module User Manual www.maennl-elektronik.de +ok<CR>< LF ><CR>< LF > Parameters: Mode: fast: free-frame trigger time between two bytes is 200ms; normal: free-frame trigger time between two bytes is 250ms; 15) AT+PING Function: Network ”Ping” command; ...
Low Power WiFi Module User Manual www.maennl-elektronik.de Parameters: Protocol: CS: SERVER CLIENT Port: protocol port ID: Decimal digit and less than 65535. IP: Server’s IP address when module set as client. If set as UDP SERVER, the module will save the IP address and port of the latest UDP packet received.
Low Power WiFi Module User Manual www.maennl-elektronik.de AT+ TCPTO=<time ><CR> +ok<CR>< LF ><CR>< LF > Parameters: Time: TCP timeout time. <= 600: 600s >=0: 0 (0 means no timeout); Default: 300s SOCKA begin to count time when TCP channel don’t receive any data, clear time counter when TCP channel receive any data.
Low Power WiFi Module User Manual www.maennl-elektronik.de 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.
Low Power WiFi Module User Manual www.maennl-elektronik.de on: TCP connected off: TCP disconnected 27) AT+SNDB Function: Send Data to SOCKB at Command Mode. Format: AT+SNDB=<data_lenth ><CR> +ok<CR>< LF ><CR>< LF > Parameters: data_lenth: Lenth of send data. Range: 0~1000 Byte; The UART port will feedback a ‘>’...
Low Power WiFi Module User Manual www.maennl-elektronik.de SHARED WPAPSK WPA2PSK Encry: Encryption algorithm NONE: When “auth=OPEN”, effective WEP-H: When “auth=OPEN” or “SHARED”, effective,HEX format WEP-A: When “auth=OPEN” or “SHARED”, effective,ASCII format TKIP: When “auth= WPAPSK” “WPA2PSK”, effective ...
Low Power WiFi Module User Manual www.maennl-elektronik.de Note: Module AP mode’s MAC address is related to STA mode’s MAC address. If user need changeto others, please contact with technical people. 41) AT+WADHCP Function: Set/Query AP DHCP server status; Format: ...
Low Power WiFi Module User Manual www.maennl-elektronik.de Set Operation: AT+MDCH=<mode><CR>< LF ><CR>< LF > Parameters: mode: Wi-Fi Auto Switch Mode. Off: Disable Wi-Fi auto switch. On: Enable Wi-Fi auto switch. When the module(STA mode) fail to connect to router, it will switch to AP mode itself in one minute.
Low Power WiFi Module User Manual www.maennl-elektronik.de Appendix B: GPIO/PWM CONTROL WITH NETWORK COMMANDS User can control module’s GPIO, PWM port by Send network command after make network connection to module with TCP or UDP protocol. If be saved,the status of GPIO won’t be changed after the module reset. The following take WIFI232- T for example.
Page 73
Low Power WiFi Module User Manual www.maennl-elektronik.de B.1.3 GPIO <channel> SET Function: Save GPIO Channel setting Parameters: channel:GPIO Channel number,such as 11/12/18 for WIFI232-T(map to Pin10/Pin9/Pin8) Return Data: GPIO OK: Command successful GPIO NOK: Command failed B.1.4 PWM <channel frequency duty>...
Page 74
Low Power WiFi Module User Manual www.maennl-elektronik.de B.1.5 PWM <channel> GET Function: Query PWM Channel output Parameters: channel:PWM Channel number,such as 11/12/18 for WIFI232-T(map to Pin10/Pin9/Pin8) Return Data: +ok=<frequency duty> Frequency: PWM Channel frequency ...
Page 75
Low Power WiFi Module User Manual www.maennl-elektronik.de B.1.6 PWM <channel> SET Function: Save PWM Channel setting Parameters: channel:PWM Channel number,such as 11/12/18 for WIFI232-T(map to Pin10/Pin9/Pin8) Return Data: PWM OK: Command successful PWM NOK: Command failed B.2 Hexadecimal Network Command Send hexadecimal data to fastly read/write module’s port status.
Page 76
Low Power WiFi Module User Manual www.maennl-elektronik.de Channel: PWM Channel number value1: High byte of PWM Channel frequency value2: Low byte of PWM Channel frequency B.2.3 Read All PWM Channel Duty Send Data:【20】 Return Data:【a0 <value1 value2 value3 value4>】 ...
Low Power WiFi Module User Manual www.maennl-elektronik.de Appendix C: HTTP PROTOCOL TRANSFER Module support simple http data transfer in command mode. If user need to implement complex HTTP data transfer, please confirm our engineer. C.1 HTTP AT command C.1.1 AT+ HTTPURL ...
Page 78
Low Power WiFi Module User Manual www.maennl-elektronik.de Query Operation: AT+HTTPCN<CR> +ok=<Connection><CR>< LF ><CR>< LF > Set Operation: AT+HTTPCN=<Connection><CR> +ok<CR>< LF ><CR>< LF > Parameters: Connection: Max length is 20 bytes. C.1.5 AT+ HTTPUA Function:Set/Query User-Agent of HTTP protocol header. ...
Page 79
Low Power WiFi Module User Manual www.maennl-elektronik.de If send AT+HTTPDT=abcd, the data packet will be sent as the following instance: POST /abcd HTTP/1.1 Connection:keep-alive User-Agent:lwip1.3.2 Content-Length:4 Host:192.168.0.127:8999 abcd The data received from HTTP server will be output to serial port and end with “+ok”.
Page 80
Low Power WiFi Module User Manual www.maennl-elektronik.de Page 80 of 80 Männl Elektronik GmbH info@maennl.info...
Need help?
Do you have a question about the WIFI232-S and is the answer not in the manual?
Questions and answers