Connect to Wifi

we will give a brief introduction on how to establish WiFi connection with these three types of encryption on Ameba.

Similar projects worth following
There three common encryption type in WiFi connection. The first one is “OPEN”, which means there is no password needed to connect to this network. The second type of encryption is WPA, which requires the correct password to access. The third type is WEP, which requires a hexadecimal password and a keyindex.

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) lowpower 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

    First, make sure the correct Ameba development board is selected in “Tools” -> “Board”.

    • Open (WiFi connection without password)

    Open the “ConnectNoEncryption” example in “File” -> “Examples” -> “AmebaWiFi” -> “ConnectWithWiFi” -> “ConnectNoEncryption”

  • 2
    Final Result

    Next, upload the sample code, and press the reset button on Ameba. Then you will see a message “You’re connected to the networkSSID: XXXXX”, and the information of this WiFi connection is printed in the serial monitor every 10 seconds.

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