Skip to main content

Air602 WiFi Development Board

picture

This wiki works for both Air602 WiFi Development Board and Air602 WiFi Module.

The Air602 is a 2.4G Wi-Fi module based on the embedded Wi-Fi SoC chip (W600) with a 12-pin Stamp Hole Expansion Interface. Miracly, it is even smaller than a stamp. It's only 12mm*10mm, small but complete, it offers a rich interface and complete functionality. This module support IEEE802.11b/g/n and AT command.

The Air602 WiFi Development Board is based on Air602 Wi-Fi module and integrated USB interface and Antenna. If you plug this board into your computer, it will be recognized as an Ports (COM & LPT), so that you can code it with Serial port tool. This module support IEEE802.11b/g/n and AT command.

Features

Interface

• USB interface

• UART/SPI

• Integrated GPIO device controller

Wireless

• Support IEEE802.11 b/g/e/i/d/k/r/s/w/n

• Support 2.4~2.4835 GHz

• Support Wi-Fi WMM/WMM-PS/WPA/WPA2/WPS

• Support Wi-Fi Direct

• STBC、GreenField、Short-GI

• Support multiple network protocols: TCP/UDP/ICMP/DHCP/DNS/HTTP

Others

• Supports AT+ instruction protocol based on ASCII encoding (UART interface)

• Support for user‐programmable GPIO control

Specification

CategoryItemParameter
WirelessSupport Wi‐Fi ModeIEEE802.11b/g/n
RF system impedance50Ω
Frequency Range2.4~2.4835 GHz
Receiving sensitivity20MHz MCS7@‐71dBm;
40MHz MCS7@‐68dBm;
54Mbps@‐73dBm;
11Mbps@‐86dBm;
1Mbps@‐95dBm;
Physical layer data rate802.11n MCS 0~7 150Mbps
ModulationDSSS、OFDM、DBPSK、DQPSK、CCK、QAM16/64
Output PowerIEEE802.11b, DSSS 1Mbps, POUT = +17dBm;
IEEE802.11g, OFDM 54Mbps, POUT = +10dBm;
IEEE802.11n, OFDM MCS7, POUT = +10dBm
HardwareInterface TypeUART/SPI/GPIO
Interface rate2Mbps@UART (Max)
50Mbps@SPI (Max)
Operating Voltage3.3V(Module)/5V(Development Board)
Operating humidity5%~90% (No condensation)
storage temperature‐40~+125 ℃
Operating temperature‐40~+85℃
SoftwareNetwork TypeSTA/AP/AP+STA/Wi‐Fi Direct
VerificationWEP/WPA‐PSK/WPA2‐PSK
EncryptionWEP64/WEP128/TKIP/CCMP(AES)
WPS FunctionWPS
Energy savingPS‐POLL/Standby
Network protocolTCP/UDP/ARP/ICMP/DHCP/DNS/HTTP
Interface ProtocolAT+ instruction set

Typical Applications

  • intelligent home appliances
  • smart home
  • wireless audio and video
  • smart toys
  • medical monitoring
  • industrial control
  • other Internet of Things applications

Pin Out

Getting Started

For the Air602 WiFi Development Board, you can just plug it into you computer, it will be recognized as an Ports (COM & LPT). For the Air602 WiFi Module, you need to use USB-to-Serial Tools to connect the RX/TX pins to your computer.

note

For mac, we found that some version of mac system can not recognize the on-board USB-to-Serial chip CH330N, please check here for solution Mac os driver issue

We use the serial port tool sscom to send the AT command. You can use your favorite serial port tool, in case you want to use sscom, you can download it Here.

What ever, please make sure you have checked the option AddCrLf, and set the baud rate to 115200

Tap AT+ then click SEND or press enter key to to check if the connection was successfully established.

AT+

When it returns +OK, you can use the AT command to control this module.

Create a SoftAP process

  • 1- WPRT sets the wireless network card working mode to SoftAP:
AT+WPRT=2
  • 2- APSSID Set the AP SSID for the STA, e.g.MyAP:
AT+APSSID=MyAp
  • 3- APENCRY Set the wireless network card security mode to WEP64:
AT+APENCRY=1

Parameter:

open:0,WEP64:1,WEP128:2

  • 4- APKEY Set the wireless network card key to 12345
AT+APKEY=1,1,12345

Parameter 1:Key format, 0 means HEX, 1 means ASCII

Parameter 2:index: Key index number, 1 to 4 are used for WEP encryption keys, and other encryption methods are fixed to 0.

Parameter 3:wireless key, e.g.:12345

  • 5- APNIP Set the ip address and subnet mask
AT+APNIP=1,192.168.1.1,255.255.255.0,192.168.1.1,192.168.1.1

Parameter 1:address type: 0 means dynamic allocation using DHCP, 1 means static address
parameter 2:ip:192.168.1.1
parameter 3:netmask:255.255.255.0
parameter 4:gateway:192.168.1.1
parameter 5:dns:192.168.1.1

  • 6- PMTF saves the above parameters to spi flash, just start from step 7 with the next boot.
AT+PMTF
  • 7- WJOIN Create wireless network MyAp
AT+WJOIN
  • 8- SLIST Query the STA information which connected to your SoftAP.
AT+SLIST

Scan AP Process

Wireless network card scanning AP's AT command is :

AT+WSCAN

The last paremeter is the signal strength, unit db

STA joins the AP process

  • 1- WPRT Set the working mode to STA
AT+WPRT=0
  • 2- SSID Set the AP name to join. e.g. TEST_AP
AT+SSID=TEST_AP
  • 3- KEY Set the wireless key of the AP you want to join. e.g. 12345678
AT+KEY=1,0,12345678

parameter 1:0 means HEX, 1 means ASCII

parameter 2:index: The key index number, 1 to 4 is used for the WEP encryption key. The other encryption methods are fixed to 0.

parameter 3: Wireless key e.g.:12345678

  • 4- NIP Enable DHCP
AT+NIP=0
  • 5- PMTF Save the above parameters to spi flash, Just start from step 6 with the next boot
AT+PMTF
  • 6- WJOIN Join the wireless network TEST_AP
AT+WJOIN

Create an APSTA process

  • 1- WPRT Set the working mode to APSTA
AT+WPRT=3
  • 2- SSID Set the AP name to be joined, such as TEST_AP
AT+SSID=TEST_AP
  • 3- KEY Set the wireless key of the AP you want to join. e.g. 12345678
AT+KEY=1,0,12345678

parameter 1:0 means HEX, 1 means ASCII

parameter 2:index: The key index number, 1 to 4 is used for the WEP encryption key. The other encryption methods are fixed to 0.

parameter 3: Wireless key e.g.:12345678

  • 4- APSSID Set the network name of the created SOFTAP
AT+APSSID=”MYSoftAP”
  • 5- APENCRY Set the encryption type of SoftAP (such as WPA2-TKIP)
AT+APENCRY=5
  • 6- APKEY Set the password for SoftAP (e.g. ASCII code 87654321)
AT+APKEY=1,0,87654321
  • 7- APNIP Set the IP address and subnet mask
AT+APNIP=1,192.168.1.1,255.255.255.0,192.168.1.1,192.168.1.1
  • 8- PMTF Save the above parameters to spi flash, just start from step 9
AT+PMTF
  • 9- WJOIN Join the wireless network TEST_AP
AT+WJOIN

Firmware Programming

For the firmware programming please check here:

Air602 Firmware Programming Manual

FAQ

Q1.How the STA disconnects the AP

A: The wireless network card disconnects the AP's AT command:

AT+WLEAV

Q2.SoftAP disconnected

A: The AT command of SoftAP disconnected network is:

AT+WLEAV=2

Q3.How STA view current status

A: The AT command for the wireless network card to view the status of the current network card is:

AT+LKSTT

Q4. How to View current SoftAP status

A: The AT command to view the current SoftAP status is:

AT+APLKSTT

Schematic Online Viewer

Resouce

Tech Support

Please do not hesitate to submit the issue into our forum


Loading Comments...