User Tools

Site Tools


Sidebar

RAK Links

iot-product:rak477

RAK477

RAK477


Introduction

RAK477 module is a Wi-Fi module that fully compliant with IEEE 802.11b/g/n wireless standards, It combines an ARM-CM3 MCU, WLAN MAC, a 1T1R capable WLAN baseband, and RF in the module. It have onboard antenna, and external antenna interface, RF output PIN also exist in the board. RAK477 internally integrated TCP / IP protocol stack, supporting numerous protocols such as ARP, IP, ICMP, TCP, UDP, DHCP CLIENT, DHCP SERVER, DNS and other etc. It supports AP mode, STA mode, AP+STA mode. It support rich AT command for all kinds of application, Users can easily and quickly use it to wifi networking and data transmission. It also support transparent transmission, easy to use by simply using the PC, APPs tool to work individually or in bulk for parameters configuration, and then module connects the serial ports and network for normal usage. The baud rate of module serial port is up to 921600bps, which can fully meet the low-rate applications.

In network part, RAK477 supports storing network parameters in the module, and reduce time connect to network. The module supports wireless network parameters configuration, supports wireless firmware upgrade. It also supports EasyConfig.

It also provides a bunch of configurable GPIOs which are configured as SPI ,UART, I2C, for different applications and control usage. RAK477 integrates internal 512K SRAM and 1MB flash for complete WIFI protocol functions.   


Features

Application

  • Support at commands and transparent transmission mode
  • Support for multiple baud rate
  • Support wireless configuration and OTA upgrade firmware
  • Support the UART interface, OTW(over the wire) upgrade function
  • Support for fast networking, easyconfig function
  • Support AP, STA, AP+STA Mode
  • Support proactively identifying devices in LAN

Standards Supported

  • 802.11b/g/n compatible WLAN
  • 802.11e QoS Enhancement (WMM)
  • 802.11i (WPA, WPA2). Open, shared key,and pair-wise key authentication services
  • Light Weight TCP/IP protocol

WLAN MAC Features

  • CMOS MAC, Baseband PHY, and RF in a single chip for 802.11b/g/n compatible WLAN
  • Complete 802.11n solution for 2.4GHz band
  • 72.2Mbps receive PHY rate and 72.2Mbps transmit PHY rate using 20MHz bandwidth
  • 150Mbps receive PHY rate and 150Mbps transmit PHY rate using 40MHz bandwidth
  • Backward compatible with 802.11b/g devices while operating in 802.11n mode
  • Compatible with 802.11n specification
  • Frame aggregation for increased MAC efficiency (A-MSDU, A-MPDU)
  • Low latency immediate High-Throughput Block Acknowledgement (HT-BA)
  • Long NAV for media reservation with CF-End for NAV release
  • PHY-level spoofing to enhance legacy compatibility
  • Power saving mechanism

WLAN PHY Feature

  • 802.11n OFDM
  • One Transmit and one Receive path (1T1R)
  • 20MHz and 40MHz bandwidth transmission
  • Short Guard Interval (400ns)
  • DSSS with DBPSK and DQPSK, CCK modulation with long and short preamble
  • OFDM with BPSK, QPSK, 16QAM, and 640QAM modulation. Convolutional Coding Rate: 1/2, 2/3,3/4, and 5/6
  • Maximum data rate 54Mbps in 802.11g and 150Mbps in 802.11n
  • Fast receiver Automatic Gain Control (AGC)

Peripheral Interfaces

  • Maximum 1 SPI supported with baud rate up to 10.4MHz
  • Support 4 External Timer Trigger Event (ETE function) with configurable period in low power mode
  • Maximum 17 GPIO pins
  • 2 high speed UART interface with baud rate up to 4MHz

Network configuration method

The transparent transmission module aims at data communication in the end, WIFI communication is carried out under the preconditions of parameter configuration, the important thing is the network configuration (network name, PIN and IP address) and which kind of communication protocol socket set (TCP, UDP and SSL security) to use. The module defines the following two concepts for the parameters.

At first, the module defines two parts, namely, Factory Defaults parameters and user parameters.

Factory Defaults parameters: the module maintains the parameters of the initial status when it is not regularly used (generally acts as AP access point), at this time, the module has independent network name, fixed IP address, etc. The Factory Defaults mode ensures the recovery of the module, so as to avoid the problems caused by users’ configuration mistakes. (Factory Defaults parameters can be modified by customers)

User parameters: when the module was regularly configured, the module will enable a new configuration to be user parameters as will be automatically loaded when the module resets, the user parameters are the configuration of actual application of customers. (can write once)

In order to transfer from the Factory Defaults mode to the user mode easily, the transparent transmission module provides four kinds of flexible configuration methods to connect to the user’s router:

  • AP configuration
  • EasyConfig instant configuration

The module supports the coexistence of AP and STA mode, i.e. users can not only connect the module to the router (Internet), but also access and look up the module and the like in the local net via the existing AP network, so as to be greatly convenient for users and enhance the user's experiences.

==A variety of specific configuration methods, please refer to the use of guidance==


Aided AT commands

Module’s work status gives priority to direct transparent transmission mode, but also provides an auxiliary command mode in order to manage and query the parameters for the module. Module interpret based on the MODE pin level, (high level by default) and enter into the transparent transmission mode. If the pin is low level, then open aided command mode. The aided command mode can be entered at any time. The following is the basic flow chart of the module: RAK475

Enter into aided commands

Under the transparent transmission mode, open the aided command window, use the methods similar to shaking hands.
1.The host computer (host MCU) send “+ + +”, request to enter the command mode.

2.Timing for 200ms, wait for the module to return “U”(0x55) , if the module did not return in the specified time, then the timing of 200ms will again send “+++”, and requests to enter the command mode until the module successfully return “U”(0x55) .It shows that the module is ready to enter into the command mode, waiting for final confirmation (waiting for 3 seconds).

3.Timing for 200ms, wait for the module to return “U”(0x55) , if the module did not return in the specified time, then the timing of 200ms will again send “+++”, and requests to enter the command mode until the module successfully return “U”(0x55) .It shows that the module is ready to enter into the command mode, waiting for final confirmation (waiting for 3 seconds). RAK475


Command Format

 Host to module:
     at+<command>=<para 1>,<para 2>,................<para n>\r\n
 All at commands, including parameters, are ASICII code, such as:
     at+scan=0\r\n
1.After each command is executed, the module will send a return value, as  
the following format
2.If the command is successful, the return value
     OK\r\n or OK<para 1><para 2>.......................<para n>\r\n   
Note: In addition to OK, the other parameters are in hexadecimal, for example,
     OK\r\n      HEX=4F 4B 0D 0A----------------------------No parameters
     OK@\r\n     HEX=4F 4B 64 0D 0A--------------------------parameter =0x64
3.If the command fails, the return value
     ERROR<code>
Note:
   ERROR is the ASCII code,<code>is hexadecimal, for example,
     ERROR ?\r\n    HEX=45 52 52 4F 52 FE 0D 0A----------------<code>=oxFE

AT command syntax description: AT command begins with “at +” (all lowercase) and end with “\ r \ n”, the maximum command length is 80 bytes, all other commands beginning with any other format are wrong.

Note:The AT command syntax above does not apply to receiving and sending data commands at + recv_data and at + send_data, for detailed instructions, please refer to at + recv_data, at + send_data

Error Code:

Code Description
-1 Parameter input error (parameter is not recognized / missing parameter / command too long / other illegal parameter)
-12 Unknown errors (memories, system and the like)
Other For details see specific commands

Assistant AT Command List

AT Command Description
Module Management Commands
at+ascii=<mode>\r\n Open ASCII display
at+mac\r\n Check module MAC address
at+version\r\n Check software version
at+easy_txrx\r\n Enter pass-through mode
at+restore\r\n Restore factory settings
at+reset\r\n Reset module
Parameter Configuration Commands
at+write_config=configuration parameter length,configuration parameter length\r\n Write user configuration
at+read_config\r\n Read user configuration
at+read_restoreconfig\r\n Read Factory Defaults
at+write_restoreconfig= configuration parameter length , configuration parameter\r\n Modify the Factory Defaults
at+copy_cfg Reproduce user configuration to be Factory Defaults configuration
AP SAT Operating Commands
at+con_status\r\n Query the connection status of STA
at+ap_status\r\n Query the connection status of AP
at+rssi\r\n Query the wireless signal intensity of STA
at+scan=<channel>,<ssid>\r\n Scan wireless networks
at+get_scan=<scan_num>\r\n Get indicated number of network inFormation
at+easy_config\r\n Module enters one-key configuration mode
at+ipconfig\r\n Query the current IP information of module
at+ping=<host>, <count>, <size>\r\n Ping network host command
at+tcp_status=0\r\n Query the connection status of TCP
at+net_info\r\n Query the connected network inFormation
Instruction for receiving and sending data
at+send_data=0,dest_port,dest_ip,datalen,databuffer\r\n Send data from SocketA
at+recv_data=0,dest_port,dest_ip,datalen,databuffer\r\n Receive data from SocketA
InFormation storage commands for the user networking list
at+read_userlist_num\r\n Read the inFormation number of current list
at+read_userlist=<index>\r\n Read the networking inFormation in the indicated lists
at+write_userlist=<index>,<len>,<data> Write the networking inFormation to the indicated lists
at+delete_userlist=<index>\r\n Delete the networking inFormation in the indicated lists
Firm ware upgrading command
at+upgrade\r\n Enter into the upgrading mode

== Pleace see the Instruction manual for the detailed meaning of the AT command. ==


Pin definition

Pin Name Type Description
1,3,21,33 GND Ground All ground pins are connected to ground pad or the copper.
22 VCC3.3V Power 3.3V power supply.
2 RF_OUT O 2.4GHz RF output.
4 VDDIO Power 3.3V for Digital IO or digital blocks.
11 RESET I Module reset pin, Active low.
15 STATUS O Normal start up output pin, output low effective.
17 LINK O Work status indicator pin of module, output low effective.
23 TXD O Serial data communication interface send.
26 RXD I Serial flow control pin, ready to receive, Active low.
24 RTS O Serial flow control pin, The default output low. Active low, ready to receive data / request the other party to send data.
25 CTS I Serial flow control pin, Input pull. Active low, ready to send data/request each other to send data. High level cannot send data, low level can send data.
28 DEFAULT I Default pin, used to config module with easyconfig and restore module to factory configuration.
29 MODE I Mode pin,only work with configuration.
20 NC/VCC I Use 473/475 module,this pin can Suspended;If use the 476/477 module,this pin must connect VCC3.3V
Others NC NC Remain disconnected when no use.

Reference design

EVB Use Guidence

Because RAK477 and RAK476 in hardware is exactly the same, but the software is different, so EVB is the same. But the use of the development board is not the same. RAK476 can not use a few keys in the RAK477 can be used. Specific use of the method can refer to our user manual.


Electrical Specification

General specification

ITEMS CONTENTS
Operating Frequency 2.400-2.4835GHz
WiFi Standard 802.11b/g/n
Modulation 11b: DBPSK,DQPSK and CCK and DSSS
11g: BPSK,QPSK16QAM,64QAM and OFDM
11n: MCSO-15 OFD
Data rates 11b:1,2,5.5 and 11Mbps
11g:6,9,12,18,24,36,48 and 54 Mbps
11n:MCSO-15,up to 150Mbps
Host Interface UART
Dimension Typical (L x W):21mm x 18mm
Operation Temperature -20℃ to +85℃
Storage Temperature -55℃ to +125℃
Operation Voltage 3.3V±0.2V

802.11b Mode

ITEMS CONTENTS
Specification IEEE802.11b
Mode DSSS/CCK
Channel CH1 to CH13
Data rate 1,2,5.5,11Mbps
-
1.Power Levels (calibrated) Min. Typ. Max. Unit Note
1)16dBm Target (For each antenna Port) 15 17 19 dBm
-
2.Frequency error -25 0 +25 kHz
3. Minimum input level sensitivity Min. Typ. Max. Unit Note
1)11Mbps(FER≤8%) --- -82 --- dBm
2)Maximum input level (FER≤8%) --- -10 --- dBm

802. 11g Mode

ITEMS CONTENTS
Specification IEEE802.11g
Mode OFDM
Channel CH1 to CH13
Data rate 6,9,12,18,24,36,48,54Mbps
-
1.Power Levels (calibrated) Min. Typ. Max. Unit Note
1)16dBm Target (For each antenna Port) 12 14 16 dBm
-
2.Constellation error(EVM)@target power Min. Typ. Max. Unit Note
1)54Mbps --- -30 -28 dB
3.Frequency error -25 0 +25 kHz
-
4.Minimum input level sensitivity Min. Typ. Max. Unit Note
1)54Mbps(PER≤10%) --- -78 --- dBm
5.Maximum input level (PER≤10%) --- -10 --- dBm

802. 11n HT20 Mode

ITEMS CONTENTS
Specification IEEE802.11n HT20@2.4GHz
Mode OFDM
Channel CH1 to CH13
Data rate MCS0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15
-
1.Power Levels (calibrated) Min. Typ. Max. Unit Note
1)16dBm Target (For each antenna Port) 12 14 16 dBm
-
2.Constellation error(EVM)@target power Min. Typ. Max. Unit Note
1)MCS7 --- -30 -28 dB
3.Frequency error -25 0 +25 kHz
-
4.Minimum input level sensitivity Min. Typ. Max. Unit Note
1)MCS7(PER≤10%) --- -76 --- dBm
5.Maximum input level (PER≤10%) --- -10 --- dBm

802. 11n HT40 Mode

ITEMS CONTENTS
Specification IEEE802.11n HT40@2.4GHz
Mode OFDM
Channel CH1 to CH13
Data rate MCS0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15
-
1.Power Levels (calibrated) Min. Typ. Max. Unit Note
1)16dBm Target (For each antenna Port) 12 14 16 dBm
-
2.Constellation error(EVM)@target power Min. Typ. Max. Unit Note
1)MCS7 --- -30 -28 dB
3.Frequency error -25 0 +25 kHz
-
4.Minimum input level sensitivity Min. Typ. Max. Unit Note
1)MCS7(PER≤10%) --- -74 --- dBm
5.Maximum input level (PER≤10%) --- -10 --- dBm

Data download

Specification

Use manual

SDK

Hardware encapsulation

Update Firmware

Tool

Order information

Product Describe Antenna MOQ(PCS) Evaluation Board
RAK477AS-XXXX UART interface module,with on-board antenna On-board 400 RAK477-EVB
RAK477BS-XXXX UART interface module,with external antenna External,U.fl/i.PEX 400
RAK477CS-XXXX UART interface module,with RF output interface RF output 400

Where to Buy

If you want to buy our products, please go to our store: RAK Store


RAK 2016/11/15 17:15

iot-product/rak477.txt · Last modified: 2017/02/24 10:41 by exxdata