Wi-Fi Demo
Check your SD Card Version
The SD Card version is printed on the SD card's package.
This documentation is only valid for SD 2.2 . For demos other than SD2.2, refer to the new Getting Started page. To download and burn a new SD card image, see this page .
SD 2.2 Demos
The SD 2.2 SD card includes demos for the two supported modes: Station and SoftAP (Software enabled Access Point).
Hardware Requirements
To use this guide, the following components are needed:
-
Raspberry Pi board
-
Versions supported: Pi2 model B V1.2 or Pi3 model B.
Note: Pi models 3B+ and 4B are not supported by SD 2.2
-
Versions supported: Pi2 model B V1.2 or Pi3 model B.
- Raspberry Pi power supply
- WF200 devkit (BRD8022A)
- Silabs SD card
- Network cable
Software Requirements
Note: Please use Firefox or Chrome to download the following software because Internet Explorer is not supported.
The SD 2.2 Station and SoftAP demos are started via a ssh connection.
SSH Connection
To remotely access the Raspberry Pi from a Windows machine, some tools need to be installed:
- To enable ssh access with X11 support, download and install MobaXterm Home Edition (Installer edition) from https://mobaxterm.mobatek.net/
- To enable multicast name resolution (mDNS), download and install Apple Bonjour from https://support.apple.com/kb/DL999 (During installation, we recommend that you uncheck all options.)
With MobaXterm, create and open a ssh session to the Raspberry Pi with the following parameters:
- Host: silabs-pi-demo.local
- Username: pi
- Password: default_password
All the following commands will be entered in the newly open ssh console.
Station Demo
This demo configures the Raspberry Pi and WF200 to work as a Wi-Fi Station which can connect to an access point. To start it, run:
sudo wfx_demo_station
Note: Minimize MobaXterm window, then wait a few seconds for the Wi-Fi tool to appear.
This will launch a graphical tool named “wpa_gui” which supports the following actions:
- Scan.
- Select the desired Wi-Fi access point.
- Enter credentials if need be, and then add.
Once connected, it is possible to perform some traffic:
ping silabs.com
Note: With keyboard, mouse, and screen attached to the Raspberry Pi, it is possible to launch a browser by clicking the “Silicon Labs Website” icon on the desktop.
SoftAP Demo
This demo configures the Raspberry Pi and WF200 to work as a Wi-Fi SoftAP which can accept stations. To start it, run:
sudo wfx_demo_ap
Then it is possible to connect to the Raspberry Pi using a Wi-Fi capable device and the following credentials:
- SSID: silabs-pi-demo
- Passphrase: default_password
On the device, use a browser to open http://silabs-pi-demo.wlan/
The host supports a Web server which exposes a user-accessible Web page.