User Tools

Site Tools


RAK Links





RAK415 module is an ultra-low power WIFI module that fully supports IEEE 802.11b/g/n wireless standards, with a small package and easy-to-use features. The RAK415 is a complete serial pass-through module integrated with TCP / IP protocol stack and drivers, easy to use by simply using the PC, WEB Browser, APPs tool to work individually or in bulk for parameters configuration, and then module connects the serial ports and network for normal usage.

The RAK415 module is characterized by stable performance, low power consumption and flexibility to meet the various needs of customers. It can also provide test reports, allowing customers to get started quickly, shorten the development cycle.

The RAK415 module also provides various types of customized services, such as user webpages, production and configuration tools, mobile phone APPs, etc


Application Area

  • Portable products
  • Home appliances and electrical appliances
  • Industrial sensors
  • Sales terminals
  • Buildings automation
  • Logistics and freight management
  • Home security and automation
  • Medical applications, such as patient monitoring, medical diagnostics
  • Metering (stop timing, measuring instruments, meters, etc.)

Device Features

  • Support IEEE 802.11b/g/n wireless standards
  • Support UART communication with data flow control, with the maximum baud rate of 921600bps
  • Integrated TCP / IP protocol stack
  • Support Station, Ad-hoc and AP modes
  • Support OPEN, WEP, WPA-PSK, WPA2-PSK and WPS encryption
  • Support TCP, UDP protocols, with maximum 8 UDP/TCP connections
  • Support webpage-based parameter configuration
  • Support AT commands and transparent transmission mode
  • Support WPS and EasyConfig one-key to network connection
  • Support parameter storage, customer orders loading after boot
  • Support parameters store in Deep Sleep State, with connection time as fastest as 300ms
  • Support wireless upgrade firmware
  • On-board ceramic antenna or U.FL antenna connector
  • Operating voltage: 3.3V
  • 4 kinds power working modes, with minimum power consumption of 1~2uA
  • FCC, RoHS and CE compliant

Functional Description

HW Interface

  • Baud rate: 9600~921600bps
  • Interface actual throughput up to 600kbps
  • Support hardware flow control, ensuring reliability of data transmission
  • 485 function settings

Wireless Driver

  • Compliant with IEEE 802.11b/g/n standards
  • Support AP、STA 、AD-HOC Mode
  • Support WEP, WPA/WPA2-PSK encryption
  • Fast networking, allowing module to be added to network within 1 sec after power up
  • Support WPS and EasyConfig one-key to network connection
  • Support network and socket automatic reconnection
  • Support proactively identifying devices in LAN
  • Support wireless configuration and firmware upgrade


  • DHCP Client and Server features
  • DNS Client and Server functions
  • TCP Client, TCP Server, UDP Client, UDP Server and Multicast functions
  • Support HTTP protocol
  • Dual socket transparent transmission of data (via uuid distinction)

Power Consumption

The module supports four power consumption modes:

  • Full speed working mode, with approx 80mA average power consumption, peak current less than 310mA
  • Automatic power-saving mode, with approx 10mA average power consumption, peak current <310mA, DTIM = 100ms
  • The stay connected mode,with approx ~ 3mA average power consumption, peak current <310mA, DTIM = 100ms ( largest support to the 115200bps)
  • External cable, ultra-low-power consumption mode: 1~2 uA.

System Diagram

Variety of Configurations

For pass-through module, it’s aim for data communications. The precondition of WIFI communication is parameter configurations, among which the more important ones are network configuration (network name, password, IP address) and communication protocol socket settings (TCP, UDP). For parameters, the module defines the following two concepts.

First, the module defines two parts, factory parameters and user parameters.

Factory parameters: when the module is not in proper use, it maintains the parameters of the initial state (usually as access point), and it has an independent network name, a fixed IP address, etc. Factory mode ensures recoverability, to avoid user misconfiguration problems. (Factory parameters can be modified by the customer)

User parameters: When the module is in proper use and configured before, it will enable the new configuration as user parameters and these user parameters can be automatically loaded when module is reset, user parameters are the configuration for clients practical application scenarios. (Can be written at one time)

In order to facilitate entering from factory mode to user mode, pass-through mode provides four flexible ways to modify the configuration:
For Ad-hoc network customers(need to build their own networks)
1.parameter modification via the browser to access module built-in WEB server.
2.parameter modification via wireless discovery and configuration software provided.For the end customer scenarios by means of a router, it also provides a way for one-key networking.
3.Quick Connect with router using WPS function.
4.Connection with router using EasyConfig function.

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

Assistant AT Command

The main working state of the module is pass-through mode, as well as assistant command mode, allowing parameters management and query. The module chooses mode according to the MODE pin level, which is high(default), it enters into the pass-through mode. If low, then turns into the assistant command mode. The module can enter into assistant command mode at all times.

Open Assistant AT Command

Open Assistant Command Mode
  Open the assistant command interface in pass-through mode, similar to handshake way.
  1.PC (master MCU) sends"+++", the request goes to the command mode。
  2.Set timer 200ms, and wait for module returning"U" (0x55). If the module is not 
returned within the specified time, the timer of 200ms is sent again
  Send "+++" for request to enter the command mode, till the module successful is 
returned with"U" (0x55). This indicates that the module is ready to enter the command
mode, waiting for the final confirmation (wait for 3S).
  3.PC (master MCU) receives a "U" (0x55), and sends within 3S the module the final 
confirmation, with"U" (0x55). Module receives this confirmation and return "OK" 
entering the command mode. If module did not receive the confirmation within 3S,
module will exit standby mode, waiting for re-request command, then repeat steps 1~3.

Assistant AT 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:
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 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)
-10 Module is busy (wait until module processing is completed)
-11 System error (restart module)
-12 Fatal Error (contact factory)
Other See specific command

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+m_status\r\n Query module's status
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_setting\r\n Read user advanced configuration
at+read_restoreconfig\r\n Read factory configuration
at+read_restoresetting\r\n Read factory advanced configuration
at+write_restoreconfig= configuration parameter length , configuration parameter\r\n Modify factory configuration
at+copy_cfg Copy user profile configuration to factory
AP SAT Operating Commands
at+con_status\r\n Query AP connection status
at+rssi\r\n Query STA wireless signal strength
at+scan=<channel>,<ssid>\r\n Scan wireless networks
at+get_scan=<scan_num>\r\n Obtain specified number of network information
at+easy_config\r\n Module enters one-key configuration mode
at+wps\r\n WPS functionis enabled, joined specified router
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 TCP connection status
at+apconfig=<contry code>\r\n AP Advanced Settings
Send and Receive Data Commands
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

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

Pin Definition

Pin Serial No. Name Type Description
1,2,5,12,13,25,36 GND Ground All ground pins are connected to ground pad or the copper.
35 VCC3.3V Power 3.3V power supply.
8 MODE/WPS I WPS function pin (default).
Module reuse mode selection (by configuration switching).
“0” - open assistant command mode
“1” - only data pass-through mode
Remain disconnected when no use
17 SLEEP I Power Management Module.
Pull down and hold2S, release - enter ultra-low-power mode
Pull down, then release - normal power mode (full, save)
Wake up falling edge, remain disconnected when no use
18 LINK O Module networking indicator
“0” - STA connected in AP mode, Connected to router in STA mode.
“1” - disconnected
Remain disconnected when no use.
19 RESET I Module reset pin, low effective.
24 CONFIG/Default I Module configuration pin to achieve EasyConfig and DefaultConfig function
EasyConfig press (<3S) to enter into one-key configuration network DefaultConfig Press (> = 3S) to restore factory settings
26 STATUS O Normal start up output pin, output low effective
31 TXD O Serial data communication interface send.
32 RXD I Serial flow control pin, ready to receive, low effective.
33 RTS O Serial flow control pin, The default outputlow. Active low, ready to receive data /request the other party to send data.
34 CTS I Serial flow control pin, Input pull. Activelow, ready to send data/request each otherto send data. High level cannot send data,low level can send data.
Others NC NC Remain disconnected when no use.

Reference Design

EVB Use Guident

Function Name Description
External Interface Mini USB/DC5V Power Supply DC 5V input
RS232 The main communication interface, standard serial port, female port
RS485 Assistant communication interface, 485 industrial
Button Reset Module reset button
WPS/MODE WPS function,one-key configuration to network (with a router WPS)
Config/Default 1.Press and hold 3 sec and longer, module will restore to factory parameters
2.Press and hold shorter than 3 sec,one-key configuration to network (with phone)
Sleep Into ultra-low power mode button.
Press and hold longer than 5 sec and release, into the ultra-low power.
Press, and then release to wake up module.
Pin out P1 Function Pin
P2 UART Pin (RS232 interface)
Power consumption Pin J1 Power Consumption Interface
LED Indicator POWER Power Indicator
STATUS Status indicators:
Module started properly —— on (output low)
Module failed to start —— off
Module firmware is in upgrade —— quick flashing
Module is ready to enter factory mode —— quick flashing
Module Upgrade Error —— slow flashing
LINK module is connected to router in STA mode,
module builds STA connection in AP mode ——on(output low) Conversely off
EasyConfig, WPS in one-key configuration —— quick flashing
More LINK lights indicate status refer to RAK415 specification
SLEEP ultra-low power mode Indicator.

Electrical Specification

General specification

Parameters Symbols Value Unit
External supply voltage VCC3V3 -0.3~4.0 V
Maximum RF Input (Reference: 50Ω) RFin +10 dBm
When voltage is 3.3V, IO Max voltage 3V3VinIOMax VCC+0.3 V
When voltage is 3.3V, IO Min voltage 3V3VinIOMin -0.3 V
Storage ambient temperature Tstore -65~+135
Ambient temperature Tambient -40~+85
External voltage Vcc 3.14~3.46 V
ESD resistance ESDHBM 2000 V

RF Transmit Specifications

Symbol Parameter Conditions Typical Value Unit
Ftx Frequency range --- 2.4 GHz
Pout Output power --- --- ---
802.11b 1Mbps 17 dBm
802.11g 6Mbps 17 dBm
802.11n,HT20 MCS0 17 dBm
802.11g,EVM 54Mbps 14 dBm
802.11n,HT20EVM MCS7 10 dBm

RF Receiver Specifications

Parameter conditions Test conditions Typical Value Unit
Receiver sensitivity 11b,1Mbps -- -97 dBm
11b,2Mbps -- -92 dBm
11b,2Mbps -- -90 dBm
11b,5.5Mbps -- -88 dBm
11b,9Mbps -- -91 dBm
11b,18Mbps -- -87 dBm
11b,36Mbps -- -81 dBm
11b,54Mbps -- -75 dBm
11n,MCS1,13Mbps -- -89 dBm
11n,MCS1,26Mbps -- -82 dBm
11n,MCS1,52Mbps -- -75 dBm
11n,MCS1,65Mbps -- -72 dBm
Maximum input signal CH7 11g,54Mbps 10 dBm
Adjacent channel suppression 6Mbps -- 37 dBc
54Mbps -- 21 dBc
MCS0 -- 38 dBc
MCS7 -- 20 dBc

Data download


Use manual


Hardware encapsulation

Update Firmware


Order information

Product Describe Single Tray Packing Minimum Package Evaluation Board
RAK415AS-XXXX UART interface module,with on-board antenna 32pcs/tray 320pcs RAK415-EVB
RAK415BS-XXXX UART interface module,with external antenna 32pcs/tray 320pcs

Where to Buy

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

RAK 2016/11/19 17:15

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