Home > other >  WiFi microcontroller AP mode -- Ameba Arduino
WiFi microcontroller AP mode -- Ameba Arduino

Time:09-28

Most with WiFi wireless MCU due to functional limitations, not too many functions, but the realtek RTL8722 MCU with dual-band WiFi and BLE bluetooth 5.0 low power consumption, not only has a very significant function, also can provide WiFi Access Point (AP) function, allows multiple wireless connection, the following is a simple tutorial:

The Ameba as AP
Ameba can support the AP mode, other station can by Ameba with WiFi connection, Ameba up attachment three station at present, can be set up for the open mode or the security mode (connected),

material preparing
Ameba x 1

examples
In this example, we use the Ameba open AP mode, let station and Ameba in the attachment, we will show the two types of encryption, respectively (open mode & amp; Security mode), first determine the board is Ameba, "Tools" - & gt; "Board" - & gt; "Arduino Ameba", and confirm the port is correct,
Then open the WiFi AP example, "File" - & gt; "Examples" - & gt; "AmebaWiFi" - & gt; "WiFiAPMode
"


Yellow mark part of WiFi network Settings, set the SSID and PASSWORD and CHANNEL,
Part of the pink marker for the open AP mode API,
If you want to use the open mode, amend the trip to status=WiFi. Apbegin (ssid, channel);
If you want to use the security mode, that is, for the status=WiFi. Apbegin (ssid, pass, channel);
After upload code, press the Reset button, Ameba can see AP MODE after open the relevant information,



In station attachment with Ameba AP, open mode and security mode the log will be slightly different,
OPEN MODE:
Two station successively connected Ameba AP:



The SECURITY MODE:
A station connection Ameba AP:

  • Related