Wi-Fi for IoT devices
What Wi-Fi generation, band, target wake time and WPA3 support mean for a battery or mains IoT device, which common chips support what, and how to get credentials onto a device without a screen.
Overview
Wi-Fi is the easiest way to put a device on a network that already exists: no gateway to buy, IP all the way, and enough bandwidth for firmware updates and cameras. Its costs are power, a join process that can take a while, and a home or office network the device does not control. This hub is for makers connecting a first board and for product teams choosing a Wi-Fi chip. It covers generations and bands from the device’s side, target wake time for battery devices, provisioning without a screen and WPA3.
For the radio physics (802.11 PHY generations, OFDMA resource units and the MAC), read the Wireless Field Guide’s Wi-Fi hub. This page stays with what those features mean for a device.
Key ideas
Generations name a feature set, not a band
Wi-Fi 4 is 802.11n, Wi-Fi 6 is 802.11ax, and Wi-Fi 6E is the label for Wi-Fi 6 devices that also use the 6 GHz band (the Wi-Fi Alliance counts 6 GHz chipsets as Wi-Fi 6E or tri-band Wi-Fi 7). The Wi-Fi Alliance lists target wake time (TWT) and OFDMA among Wi-Fi 6’s key features and says TWT improves network efficiency and device battery life. A Wi-Fi 6 chip is not automatically dual-band. The ESP32-C6 is Wi-Fi 6 at 2.4 GHz only, while the ESP32-C5 and Nordic’s nRF7002 cover 2.4 and 5 GHz. None of the four chips compared below supports 6 GHz.
2.4 versus 5 GHz is first a compatibility question
A 2.4 GHz-only device cannot join a network that offers only 5 GHz. If a router broadcasts one network name on both bands and steers clients between them, a device that can use only one band may be steered to the wrong one or fail to join. On a dual-band chip you gain the choice. The ESP32-C5 datasheet lists 2412 to 2484 MHz and 5180 to 5885 MHz, and its 802.11ax mode runs at 20 MHz channel width only. That suits sensors, which send little data, but it means the 5 GHz advantage is mostly about where you can connect, not about speed. Which band reaches further through your walls depends on the building, so measure in place. Our throughput and range method describes how.
Target wake time helps only when both sides agree
TWT lets a station and an access point agree a schedule for when the station will be awake, so it can sleep in between without being dropped. The ESP32-C5 and ESP32-C6 datasheets list TWT support (the C5 as a “TWT requester”), and Nordic lists TWT for the nRF7002. Because TWT is a negotiation, it saves power only on an access point that supports Wi-Fi 6 TWT and accepts the request. A Wi-Fi 4 radio such as the Pico 2 W’s CYW43439 does not have it. Test with the access points your users actually own, and keep a fallback (ordinary power save or deep sleep between connections) for when TWT is refused.
Provisioning: getting credentials onto a device without a screen
A device without a keyboard needs another way to learn the network name and passphrase. The Wi-Fi Alliance’s standard method is Wi-Fi Easy Connect, which onboards headless devices by scanning a QR code or tapping an NFC tag and authenticates with public key cryptography. ESP-IDF v6.1.1 supports it on the ESP32-C5 as an enrollee, with QR code bootstrapping only. Chip vendors also offer their own provisioning methods, and Matter defines its own commissioning (/topics/matter-and-smart-home/). Whatever the method, keep credentials out of source code: /learn/beginner/06-wifi-and-your-first-request/ shows the pattern.
WPA3 is required for certification, and support differs by mode
The Wi-Fi Alliance says WPA3 is mandatory for Wi-Fi CERTIFIED devices. WPA3-Personal replaces the WPA2 pre-shared key handshake with SAE (Simultaneous Authentication of Equals), which ESP-IDF’s documentation describes as resistant to offline dictionary attacks. Protected management frames (PMF) are mandatory under WPA3. Support can be narrower than the headline. The ESP32-C5 datasheet’s MAC feature list names WPA3-PSK. ESP-IDF v6.1.1 says the ESP32-C5 supports WPA2-Enterprise and WPA3-Enterprise, but only in station mode. If your customers run enterprise networks, test the exact SDK version against the exact authentication method.
Chips compared
| Chip | Generation | Bands | TWT | WPA3 as documented | Source |
|---|---|---|---|---|---|
| ESP32-C5 | Wi-Fi 6 | 2.4 and 5 GHz, 20 MHz in 802.11ax | Requester | WPA3-PSK in datasheet, WPA3-Enterprise in station mode per ESP-IDF v6.1.1 | Datasheet v1.5, ESP-IDF Wi-Fi Security |
| ESP32-C6 | Wi-Fi 6 | 2.4 GHz only | Supported | WPA3-PSK and WPA3-Enterprise in datasheet | Datasheet v1.6 |
| nRF7002 (companion IC) | Wi-Fi 6 | 2.4 and 5 GHz | Supported | WPA3 Personal and Enterprise | Nordic nRF7002 |
| CYW43439 on Pico 2 W | Wi-Fi 4 (802.11n) | 2.4 GHz only | Not part of Wi-Fi 4 | Not checked for this page | Pico 2 W datasheet |
Where to start
/learn/beginner/06-wifi-and-your-first-request/ joins Wi-Fi on the ESP32-C5 on both bands, adds reconnect logic and keeps credentials in a gitignored file. /learn/beginner/07-mqtt-basics/ sends the first messages. /learn/beginner/08-power-and-sleep/ shows what joining costs a battery device.
Tools and platforms
| Job | Option | Why | Source |
|---|---|---|---|
| Choose the band in firmware | ESP32-C5-DevKitC-1 | 2.4 and 5 GHz Wi-Fi 6 | ESP32-C5 datasheet v1.5 |
| 2.4 GHz Wi-Fi 6 with TWT | ESP32-C6-DevKitC-1 | TWT for battery devices | ESP32-C6 datasheet v1.6 |
| Add Wi-Fi to a non-Wi-Fi host MCU | Nordic nRF7002 | Companion IC, works with Nordic and other hosts | Nordic nRF7002 |
| Simple 2.4 GHz board with RP2350 | Raspberry Pi Pico 2 W | CYW43439, Wi-Fi 4 and Bluetooth 5.2 | Pico 2 W datasheet |
| Standard headless provisioning | Wi-Fi Easy Connect (DPP) | QR or NFC, public key authentication | Wi-Fi Alliance, ESP-IDF DPP |
| Configure WPA3 on ESP32-C5 | ESP-IDF v6.1.1 Wi-Fi security settings | SAE, PMF, transition-disable option | ESP-IDF Wi-Fi Security |
For makers
Check which band your router offers before you buy a 2.4 GHz-only board, and give the device its own 2.4 GHz network name if band steering gets in the way. Put credentials in a gitignored file. Write reconnect logic before anything else, then reboot the router to test it.
For product teams
Test join time, TWT acceptance and WPA3 modes against a list of real consumer and enterprise access points, with the exact SDK version you ship. Decide the provisioning method early, because it shapes the app, the packaging (QR label) and the support flow. Budget for Wi-Fi Alliance certification if you want the logo, and for radio approval in every market (/topics/certification-and-regulation/).
Common mistakes
- Assuming “Wi-Fi 6” means dual-band. The ESP32-C6 is 2.4 GHz only.
- Counting on TWT without checking that the access point supports and accepts it.
- Shipping a device that can only join one band onto a network that steers clients between bands under one name.
- Hard-coding the passphrase in firmware.
- Taking WPA3 support from the datasheet alone. Enterprise modes and SoftAP behaviour depend on the SDK version.
- Disabling PMF to get a device to connect, which rules out WPA3.
Going deeper
- Wi-Fi CERTIFIED 6 and Wi-Fi Security, the Wi-Fi Alliance’s own pages.
- Wi-Fi Easy Connect.
- ESP-IDF Wi-Fi Security for ESP32-C5, v6.1.1.
- ESP32-C5 Series Datasheet v1.5, the Wi-Fi feature list.