Skip to content

What This Section Covers

Developer Contributions collects development articles for the Ai-WB2 series from the Ai-Thinker community (contributed by community developers, curated and published by Ai-Thinker). Articles keep their original content — only structure is normalized and images are localized — organized into 6 categories:

CategoryDescription
Quick StartUnboxing, example demos, getting started
Environment SetupWindows / WSL / Linux / Mac development environments
Build & FlashFirmware compilation and flashing, auto-download, common errors
PeripheralsGPIO, ADC, UART, I2C, SPI, sensors, displays and other peripheral drivers
NetworkingWiFi connection and provisioning, MQTT, HTTP, cloud platform access
SystemMemory analysis, file systems, local SDK docs and other system topics

Article Index

Quick Start

ArticleContributor
WB2 Example Code Tutorial---Peripheral UARTckdsx.cn
WB2 Example Code Tutorial---Peripheral GPIOckdsx.cn
WB2 Example Code Tutorial---ADCckdsx.cn
Ai-WB2 Module MQTT over TLS Connection to Server Usage Example爱笑
Ai-WB2-32S AT+SOCKET Series Commands黎明将至!
Ai-WB2-32S http_server and http_client Demo Communication Setup黎明将至!
Ai-WB2-32S Basic AT Command Series (1)黎明将至!
[Ai-WB2 Getting Started] Ai-WB2 Overview爱笑
[Ai-WB2 Getting Started] GPIO Usage爱笑
[Ai-WB2 Getting Started] UART Data Transmission and Reception爱笑
[Ai-WB2 Getting Started] DMA Data Transfer爱笑
[Ai-WB2 Getting Started] Timer Usage爱笑
[Ai-WB2 Getting Started] Watchdog Usage爱笑
[Ai-WB2 Getting Started] PWM爱笑
[Ai-WB2 Intermediate] RTC Real-Time Clock爱笑
[Peripheral Porting] Ai-WB2 + MPU6050bzhou830
[Ai-WB2] Porting the OLED Library, Powerful Features沈夜
Let's Monitor the Ai-WB2 Device Temperature TogetherWildboarG
A Small Tool for Quickly Generating Ai-WB2 ProjectsWildboarG
Push Messages to Personal Notifications with AI-WB2WildboarG
AI-WB2 + RD04 Sentry CheckWildboarG
[AI-WB2 Application] Dynamic Password LockWildboarG
High-Performance WiFi + BLE Dual-Mode Ai-WB2-32S-Kit Unboxing and LED Blink大锤子
Fastest Deployment Challenge - Ai-WB2沈夜
[wb2] HTTP GET ApplicationWildboarG
[AI-WB2-32S-Kit Review] 02 Startup FlowOldNewman
[WB2] Devices Discoverable at a GlanceWildboarG
[WB2] Auto-Discovering Devices on the LANWildboarG

Environment Setup

ArticleContributor
Ai-WB2-32S AT+SOCKET TCP Server Setup (Communication Between Two Modules)黎明将至!
Flashing Ai-WB2-32S on Linux Ubuntu黎明将至!
[Ai-WB2] Windows Development Environment Setup (Bouffalo SDK)沈夜
[Ai-WB2] WSL Development Environment Setup — As Easy as Piebzhou830
[Ai-WB2] Arch Development Environment SetupWildboarG
Ai-WB2 Environment Setup: Pitfalls and Lessons Learnedputin
[Ai-WB2-32S Dev Board Review] Introduction, Environment Setup, Firmware Flashing无垠的广袤
Ai-WB2 VS Code Development Environment Deployment沈夜
Ai-WB2 (Bl602) One-Click Environment Deployment Package沈夜
[Ai-WB2 Review] Three Ways to Set Up the VS Code Environmentsujingliang
[AI-WB2-32S-Kit Review] 01 Setting Up the Development EnvironmentOldNewman

Build & Flash

ArticleContributor
Ai-WB2-32S Firmware Flashing and RGB LED Lighting (AT+SYSIOMAP)黎明将至!
[Ai-WB2] Flashing and LED Blinking沈夜
[Ai-WB2] Cloud CompilationWildboarG
Bouffalo Lab Smart IoT Tool (Flash Programming)沈夜
Simple Analysis of Ai-WB2 Flash Programming沈夜
A Solution to the WB2-12F Automatic Download Issueiiv
Ai-Thinker-WB2 Project Update and ws2812 Build Guide沈夜

Peripherals

ArticleContributor
Test and Light Up an LED with the AI-WB2 ModuleWangChong
Ai-WB2-32S IIC Driving a Temperature and Humidity Sensor (SHT31)黎明将至!
Ai-WB2-32S SPI Writing to an SD Card黎明将至!
Ai-WB2-32S GPIO Driving an RGB LED黎明将至!
Ai-WB2-32S UART RX Timeout Interrupt (Receive Idle Interrupt)黎明将至!
[Ai-WB2 Intermediate] ADC Analog-to-Digital Conversion爱笑
[Ai-WB2] Easy Peasy: Lighting Up the WB2bzhou830
[Ai-WB2 Intermediate] DAC Digital-to-Analog Conversion爱笑
[Peripheral Porting] Ai-WB2 + BH1750 Light Intensity SensorWangChong
[Ai-WB2 Intermediate] I2C Communication Interface爱笑
[Ai-WB2 Intermediate] SPI and WS2812B Driver爱笑
[Peripheral Porting] Ai-WB2 + AHT20 Temperature and Humidity SensorWangChong
Peripheral Porting: Ai-WB2+SHT30 Temperature and Humidity SensorWangChong
Peripheral Porting: Ai-WB2+Modbus 485 RTU Remote Controlckdsx.cn
Peripheral Porting: Ai-WB2+INA266WangChong
Peripheral Porting: Ai-WB2+Dual-Axis Joystick Modulebzhou830
Peripheral Porting: Ai-WB2+FPM383C FingerprintWT_0213
WB2 Genshin Impact Startup OLED Display沈夜
[Ai-WB2] Playing a Video of a Famous Artist Playing Basketball on a 0.96-inch OLED沈夜
AI-WB2 Software-Simulated SPI to Light Up an LCD Screenputin
Ai-WB2 SPI TestingWildboarG
AI-WB2 SPIFFS File System: Data Survives Flashing and OTA小何
Ai-WB2 SPI Testing (WS2812)沈夜
AI-WB2 Adding a Button on IO08 (Long Press, Single Click, Double Click, Release) with MultiButton邦邦
Adding the LHAL Driver and DS18B20 Temperature Detection to the AI-WB2 Component邦邦
[Ai-WB2 Review] BLE+PWM RGB LED Controlsujingliang
[Ai-WB2 Review] Sampling NTC Thermistor Temperature with ADC and Reporting It over BLEsujingliang
Ai-WB2 Reading the DHT11 Temperature and Humidity SensorWildboarG
[WB2 BLE Learning-1] BLE Data Broadcasting大锤子
[WB2 BLE Learning-2] Callback Functions大锤子
[AI-WB2-32S-Kit Review] 04 Reporting Temperature and Humidity to the Alibaba Cloud IoT PlatformOldNewman
[WB2 BLE Learning-3] Implementing Connection Status Indication大锤子
Ai-WB2: Web-Based Control of WS2812 LED Strips (Pending Testing)沈夜
[Major Update] WB2 SDK WS2812 Driver Fully Upgraded!沈夜
Ai-WB2 BLE HID Three-in-One Composite Devicebzhou830

Networking

ArticleContributor
[Tutorial] Ai-WB2 Series Module / Development Board Connecting to AWS Amazon Cloud爱笑
Ai-WB2 Module HTTP Client POST Request Method爱笑
Ai-WB2-32S AT+HTTPCLIENTLINE Command Usage黎明将至!
Ai-WB2-32S AT+MQTT Command Series Usage黎明将至!
Ai-WB2-32S MQTT over TCP黎明将至!
[AI-WB2 Advanced] TCP Wireless CommunicationWildboarG
[Ai-WB2 Advanced] UDP Wireless CommunicationWildboarG
AI-WB2 OTA Upgrade Tutorial小何
AI-WB2 EasyFlash File System: Data Survives Flashing and OTA小何
AI-WB2 Provisioning [Part 1]WildboarG
AI-WB2 Provisioning [Part 2]WildboarG
AI-WB2 Provisioning [Part 3]WildboarG
[Ai-WB2 Review] Bafa Cloud MQTTsujingliang
[Ai-WB2 Review] AiXing IoT Platform Practicesujingliang

System

ArticleContributor
Technical Q&A — Ai-WB2 Module SPP Connection with Phone, AT Command Failure Issue爱笑
How to Locate and Analyze Static and Dynamic Memory Usage in Code During Ai-WB2 Series Secondary Development爱笑
API Compilation for Ai-WB2WildboarG
Adding the littlefs File System to AI-WB2邦邦
Adding the FlashDB Database to AI-WB2, an Upgraded Version of easyflash4邦邦

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