Skip to content

Ai-WB2 Series Module

Document revision history

VersionDate**Created/**revisedAuthorApproved
V1.1.02023.1.14Initial releaseZhuo LingminChen Shougao
V1.1.12024.12.18UpdateHan Luyao

I. Overview

The Ai-WB2 series module (hereinafter “the module”) is a Wi-Fi & BT module developed by Shenzhen Ai-Thinker Technology Co., Ltd., based on the BL602 core processor. It supports Wi-Fi 802.11b/g/n and BLE 5.0. BL602 integrates a low-power 32-bit RISC CPU, 276 KB RAM, and rich peripherals including SDIO, SPI, UART, I2C, IR remote, PWM, ADC, DAC, PIR, and GPIO. It is widely applicable to IoT, mobile devices, wearables, and smart home.

Features

  • Supports IEEE 802.11 b/g/n
  • Wi-Fi security: WPS/WEP/WPA/WPA2 Personal/WPA2 Enterprise/WPA3
  • Supports 20 MHz bandwidth, up to 72.2 Mbps
  • Bluetooth Low Energy 5.0, Bluetooth Mesh
  • Supports Station + BLE and Station + SoftAP + BLE modes
  • 32-bit RISC CPU, 276 KB RAM
  • Secure boot with ECC-256 signed images
  • Supports QSPI/SPI Flash on-the-fly AES decryption (OTFAD), AES 128 CTR
  • Supports AES 128/192/256 encryption engines
  • Supports SHA-1/224/256
  • Supports true random number generator (TRNG)
  • Public-key accelerator (PKA) for large-number ops; software APIs for sign/verify
  • Supports SDIO, SPI, UART, I2C, IR remote, PWM, ADC, DAC, PIR, GPIO, and more
  • Integrated Wi-Fi MAC/BB/RF/PA/LNA/BT
  • Multiple sleep modes; deep-sleep current 12 μA
  • Universal AT commands for quick start
  • Supports secondary development with Windows and Linux environments

Cloud information

  • Universal MCU_SDK for quick start

  • Supports AP+BLE device provisioning (Android and iOS)

  • Supports module OTA and MCU OTA

  • Supports LAN and WAN communication

  • The UART used for module–MCU communication is the module’s uart0; pins are RX and TX on the module. See Pin definitions. These pins are primarily for MCU communication.

  • Module log output uses uart1; the pin is IO3, which outputs log information.

  • You can change the module–MCU UART baud rate via AT command:

    • Format: AT+UARTCFG=9600
    • Response:
      • OK: Set successfully; takes effect after module reset
      • ERR: AT command failed; baud rate not set
  • After power-on, the module outputs device information on the TX pin, as shown below:

    • Normal boot print:

      image-20241218091535900

    • Abnormal boot — device credentials not flashed

      image-20241218091512426

  • To test module device provisioning independently over the UART protocol, complete the following protocol exchange.

    • Module post-boot initialization flow

      image-20230113135733931

    • Module–MCU communication protocol

      • Heartbeat reply

        5A A5 20 00 00 01 00 20
      • Product info reply (payload varies by product)

        5A A5 20 01 00 2E 7B 22 70 69 64 22 3A 22 50 4B 68 79 51 34 62 49 22 2C 22 76 65 72 22 3A 22 31 2E 30 2E 30 22 2C 22 66 6C 61 67 22 3A 22 5A 4D 58 58 22 7D F8

        Product info fields:

        Product KEY: PKhyQ4bI

        MCU version: 1.0.0

        Product flag: ZMXX

      • Module work mode reply

        5A A5 20 02 00 00 21
      • Module status query

        5A A5 20 03 00 00 22
  • After entering device provisioning mode, the module enables an AP hotspot and BLE advertising concurrently. Format:

    axy_ProductFlag-ProductID_p1_MAC

II. Selection, module & development board materials

Released under the MIT License. Build Time 2026-09-11 14:52:23