NL6621 Wifi Module

From ElectroDragon Wiki
Revision as of 14:08, 1 February 2020 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Module Usage

AT Commands

  • The firmware flashed with wifi-UART firmware
Commands Description MODE
AT AT test commands BASIC
AT+HELP Help BASIC
AT+VER AT commands version check BASIC
AT+SVER SDK version BASIC
AT+SAVE save configuration BASIC
AT+FACTORY restore factory settings BASIC
AT+RST reset module BASIC
AT+BAUDRATE CHECK/SET BAUD RATE UART
AT+UARTFT CHECK/SET UART AUTO FRAME INTERVAL TIME UART
AT+UARTFL CHECK/SET UART AUTO FRAME'S FRAME LENGTH UART
AT+MSLP CHECK POWER SLEEP MODE POWER
AT+LSLPT SET SHALLOW SLEEP'S WAKEUP TIME AND SHALLOW SLEEP MODE POWER
AT+IPCONFIG CHECK CURRENT IP ADDRESS NETWORK MANAGEMENT
AT+PING PING SPECIFIC IP ADDRESS NETWORK MANAGEMENT
AT+MAC CHECK MAC ADDRESS NETWORK MANAGEMENT
AT+WQSOPT CHECK/SET WIFI PARAMETERS NETWORK MANAGEMENT
AT+WPHYMODE CHECK/SET PHYSICS LAYER WORK MODE NETWORK MANAGEMENT
AT+WTXRATE CHECK/SET TRANSMIT SPEED NETWORK MANAGEMENT
AT+WSCANAP SCAN NEAR BY AP INFO NETWORK MANAGEMENT
AT+WSBCN CHECK/SET BEACON SET CYCLE NETWORK MANAGEMENT
AT+WSCAP CHECK CURRENT AP/ SET AP TO CONNECT WIFI STA/AP CONFIG
AT+WSMTCONF ENTER INTO DIRECT CONFIG MODE WIFI STA/AP CONFIG
AT+WSTOP CLOSE CURRENT WIFI FUNCTION WIFI STA/AP CONFIG
AT+NQSCNN CHECK/SET TRANSPARENT TRANSMISSION PARAMETERS WIFI STA/AP CONFIG
AT+WSCAP CHECK/SET LOCAL IP WIFI STA/AP CONFIG
AT+WSCAP ENTER INTO SOFTAPCONFIG MODE WIFI STA/AP CONFIG
AT+QUIT QUIT THE AT COMMANDS MODE AT COMMANDS

Direct config (same like smartconfig)

  • Install NLConfig tool
  • At commands enter AT+WSMTCONF to enter to direct config mode
  • Input SSID and password on NLconfig tool

Pin definitions

NL6621 02.jpg
Name description
gnd gnd
3v3 3v3
gspio_so GPIO P3, also is TCP connection status LED
spim_miso GPIO P4
SCL GPIO P2, also is module status LED
SDA GPIO P2, low to set for factory settings
RXD uart interface, can also be used as gpio
TXD uart interface, can also be used as gpio

IC Information

Testing

RF specs

Throughput

mode 1M Kbit/s 5M Kbit/s 10M Kbit/s 50M Kbit/s 75M Kbit/s
NL6621 as TCP server, cell phone as client 12100 10458 7386 2427 1282
NL6621 as TCP client, cell phone as server 12640 10572 8237 1858 775
  • Best based on QFN60 dev board, bar antenna, open area, it is actual data not theoretical

Power consumption

Power consumption NL6621

mode 3v3 1.8V

  • Deep sleep 0.7mA 1.17mA
  • light sleep 1.5mA 4.1mA
  • RX 9.5mA 120mA
  • TX@gain=0, 74.5mA 97mA
  • TX@gain=5, 113mA 97mA

Power consumption NF-210D

  • Deep sleep 4.76mA 15.9mW
  • light sleep 7.86mA 26.13mW
  • RX 117.9mA 391.2mW
  • TX 122.2mA 408.6mW

Documents

  • Module schematic
NL6621 schematic.jpg

SDK

  • the following SDK are available in github
  • Standard SDK - mature solution, suitable for all kinds custom development
  • NL6621_SerialNet_SDK(Wifi-UART SDK) - AT commands version, good for local LAN product development
  • NL6621_SerialNet_WebServer_SDK - NL6621 WIFI to serial + WebServer SDK code, where WebServer used in SoftAP mode.
  • Gizwits_SDK, Gizwits_socket_SDK, Gizwits_LED_SDK
  • Other SDK: OneNet, Homekit(apple homekit), NuAgent, Yeelink, QQlink, WLANmeter