Component guide · Intermediate · 3 min read
BW16 RTL8720DN Dual-Band Wi-Fi Board

5 GHz, Arduino Setup and Pins
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The BW16 is a small Ai-Thinker module built on Realtek's RTL8720DN, which offers dual-band Wi-Fi (2.4 and 5 GHz) and BLE 5 at a low price. NICEMCU dev boards add USB and headers. It programs in Arduino through Realtek's Ameba core, or runs AT firmware as a Wi-Fi co-processor. It is a good fit when you need 5 GHz Wi-Fi on a budget.
Key specs at a glance
- Chip
- Realtek RTL8720DN, Cortex-M33 200 MHz plus Cortex-M23
- Wireless
- Wi-Fi 802.11a/b/g/n 2.4 and 5 GHz, BLE 5.0
- Memory
- 512 KB SRAM, 4 MB PSRAM, 2 MB flash
- Supply
- 3.3 V
- Antenna
- PCB or IPEX
- BW20
- Ai-Thinker BW20-12F kit, another dual-band Realtek board
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1NICEMCU BW16 RTL8720DN Dual-Band WiFi & BLE 5.0 Development Board₹669
Option 2NICEMCU BW16 RTL8720DN Dual-band WiFi & BLE 5.0 Development Board w/ IPEX Antenna₹669
Option 3NICEMCU BW16 RTL8720DN WiFi Bluetooth BLE Dev Board w/ IPEX₹669
Option 4RTL8720DN NICEMCU BW16E Dual-Band WiFi BLE 5.0 Development Board₹739
Option 5AI-Thinker BW20-12F-Kit Dual-Band Wi-Fi BLE Dev Board₹939
What the BW16 RTL8720DN dual-band board is
Install the Realtek Ameba Arduino package (AmebaD) and select the BW16 board. Uploads need the board in download mode: hold the BURN (or LOG_TX low) button and press reset, then upload.
The Ameba core has its own WiFi and BLE libraries; most ESP32 Wi-Fi code ports with small changes, but ESP-specific libraries will not compile.
BW16 RTL8720DN dual-band board pinout
The pins on the BW16 RTL8720DN dual-band board and what each one does.
| Pin | Function |
|---|---|
| PA7 / PA8 | LOG UART TX / RX (USB serial) |
| PA25 / PA26 | I2C |
| PA12 to PA15 | SPI |
| PA27 | Boot strap |
| 3V3 / GND | Power |
| CHIP_EN | Reset |
- PA7 / PA8
- LOG UART TX / RX (USB serial)
- PA25 / PA26
- I2C
- PA12 to PA15
- SPI
- PA27
- Boot strap
- 3V3 / GND
- Power
- CHIP_EN
- Reset
Wiring the BW16 RTL8720DN dual-band board
Pin names vary by board silkscreen; use the Ameba BW16 pinout. Signals are 3.3 V only.
| BW16 RTL8720DN dual-band board pin | I2C sensor | Notes |
|---|---|---|
| VCC | 3V3 | 3V3 |
| GND | GND | GND |
| SDA | PA26 | - |
| SCL | PA25 | - |
- VCC
- I2C sensor:
- 3V3
- Notes:
- 3V3
- GND
- I2C sensor:
- GND
- Notes:
- GND
- SDA
- I2C sensor:
- PA26
- Notes:
- -
- SCL
- I2C sensor:
- PA25
- Notes:
- -
Example code
Board package: Realtek Ameba Boards (RTL8722DM/RTL8720DN), board BW16. Channels above 14 are 5 GHz.
#include <WiFi.h>
void setup() {
Serial.begin(115200);
int n = WiFi.scanNetworks();
for (int i = 0; i < n; i++) {
Serial.print(WiFi.SSID(i)); Serial.print(" ch ");
Serial.print(WiFi.channel(i)); Serial.print(" ");
Serial.println(WiFi.channel(i) > 14 ? "5 GHz" : "2.4 GHz");
}
}
void loop() {}Setup and tuning
add the AmebaD board manager URL from Realtek's GitHub.
hold BURN, press RST, release BURN, then upload.
NICEMCU boards use CH340 or CP2102.
fit a dual-band antenna on IPEX versions.
What you need
Shop this list10 of 10 found in our store · ₹4,526
NICEMCU BW16 RTL8720DN Dual-Band WiFi & BLE 5.0 Development Board: the part this guide coversNICEMCU BW16 RTL8720DN Dual-Band WiFi & BLE 5.0 Development Board₹669
NICEMCU BW16 RTL8720DN Dual-band WiFi & BLE 5.0 Development Board w/ IPEX Antenna: another version this guide coversNICEMCU BW16 RTL8720DN Dual-Band WiFi & BLE 5.0 Development Board₹669
NICEMCU BW16 RTL8720DN WiFi Bluetooth BLE Dev Board w/ IPEX: another version this guide coversNICEMCU BW16 RTL8720DN WiFi Bluetooth BLE Dev Board w/ IPEX₹669
RTL8720DN NICEMCU BW16E Dual-Band WiFi BLE 5.0 Development Board: another version this guide coversRTL8720DN NICEMCU BW16E Dual-Band WiFi BLE 5.0 Development Board₹739
AI-Thinker BW20-12F-Kit Dual-Band Wi-Fi BLE Dev Board: another version this guide coversAI-Thinker BW20-12F-Kit Dual-Band Wi-Fi BLE Dev Board₹939
USB Type-C cable 1 m: a data cable for programming (not charge-only)24-Core USB Type-C Cable, 1 m₹500Closest match, check the specs
USB to TTL serial converter: to talk to the module from a PCUSB to TTL Serial Converter (CH340G / CP2102 / FT232RL / PL2303)₹85Closest match, check the specs
Solderless breadboard: to build without solderingSolderless Breadboard₹68
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
0.96 inch OLED display 128x64: to show readings without a computer0.96" OLED Display 128x64₹139Closest match, check the specs
Alternatives and when to choose them
- ESP32-C5: Espressif's dual-band Wi-Fi 6 chip.
- BL602 and RTL8720 modules: the wider family.
- Ai-Thinker Ai-WB2 BL602: low-cost 2.4 GHz modules.
Common mistakes to avoid
- Uploading without entering download mode.
- Using ESP32-only libraries.
- 2.4 GHz antenna on a 5 GHz link.
- 5 V on GPIO.
Frequently asked questions
Does it support 5 GHz?
Yes, 802.11a/n on 5 GHz plus 2.4 GHz.
Is it Arduino compatible?
Yes, with Realtek's Ameba core.
Does it have Bluetooth?
BLE 5.0.
BW16 or ESP32-C5?
BW16 is older and cheaper; the C5 has Wi-Fi 6 and a larger ecosystem.
Can it be an AT modem?
Yes, with Ai-Thinker AT firmware.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
