Set Up WiFi AP Mode

In AP mode, Ameba can accept at most 3 station connections.

Similar projects worth following
In this project, we will turn on the AP Mode of Ameba and connect station to Ameba.

BW16 is a dual-frequency Wi-Fi + Bluetooth SoC module developed based on RTL8720DN. It supports dual-frequency (2.4GHz or 5GHz) WLAN and low power Bluetooth 5.0; and integratesARMV8 (Cortex-M4F) high-performance MCU, ARM V8M (Cortex-M0) low-power MCU, WLAN (802.11 a / b / g / n), MAC, Bluetooth and RF baseband, and provides a set of configurable GPIO ports for the control of different peripherals.

More Resources:

If you need additional technical documents or the source code for this project. Please visit the official websites and join the Facebook group and forum.

Ameba Official Website: 

Ameba Facebook Group: 

Ameba Forum:

  • 1 × BW16

  • 1

    In this example, we turn on the AP mode of Ameba and connect station to Ameba.

    Open the WiFi AP example, “File” -> “Examples” -> “AmebaWiFi” -> “WiFiAPMode”


    In the highlighted code snippet, fill in your SSID, PASSWORD and CHANNEL.

    The code highlighted is the API we used to turn on the AP mode in security mode.

    If you want to turn on the AP mode in open mode, please modify the code to status = WiFi.apbegin(ssid, channel);

  • 2
    Final Result

    Then upload the sample code and press reset, and you can see related information shown in serial monitor.


View all instructions

Enjoy this project?



Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates