Thanks to the original writer @moononournation for great support for this article.
This instructable shows how to use Seeedstudio Wio Terminal to make a 2.4 GHz and 5 GHz dual-band WiFi analyzer.Supplies:
Seeedstudio Wio Terminal: https://www.seeedstudio.com/Wio-Terminal-p-4509.ht...Step 1: What Is Wio Terminal?
Wio Terminal is an ATSAMD51 dev device embedded Realtek RTL8720DN wireless module. Realtek RTL8720DN chip supports both Bluetooth BLE 5.0 & Wi-Fi 2.4GHz and 5 GHz, so you can use the Wio Terminal prototype many IoT projects.
Wio Terminal also equipped a 2.4” LCD Screen, onboard IMU(LIS3DHTR), Microphone, Buzzer, microSD card slot, Light sensor, and Infrared Emitter(IR 940nm).Step 2: WiFi Analyzer One Step Forward
My previous tutorials, ESP8266 WiFi Analyzer, can scan the current WiFi channels usage status. However, limited by ESP8266 or even ESP32, it only can scan 2.4 GHz frequency range.
5 GHz WiFi channels usage also very important information for setting up your WiFi router, so we need another WiFi module that can do the job. Realtek RTL8720DN support both 2.4 GHz and 5 GHz, so this tutorial will use Wio Terminal to make a new dual-band WiFi Analyzer.Step 3: WiFi Channels
The WiFi analyzer visualizes the scanned WiFi network group by WiFi channels.
Different world region supports different sub-bands. Since the 320 x 240 resolution LCD is very limited, I just selected the most common channels to show.
The upper chart shows 2.4 GHz channels 1-14.
The lower chart shows 5 GHz channels 32-68 and 5.9 GHz channels 96-165.
Ref.:Step 4: Prepare Wio Terminal Software
Please follow Seeed WiKi to setup Wio Terminal software:
Update the Wireless Core RTL8720 firmware and install all related libraries:Step 5: ProgramArduino_GFX Library
Download latest Arduino_GFX libraries: (press "Clone or Download" -> "Download ZIP")
Import libraries in Arduino IDE. (Arduino IDE "Sketch" Menu -> "Include Library" -> "Add.ZIP Library" -> select downloaded ZIP file)Compile & Upload
- Connect Wio Terminal to your computer
- Open Arduino IDE
- Open WioWiFiAnalyzer sample code ("File" -> "Example" -> "Arduino_GFX" -> "WioWiFiAnalyzer")
- Press Arduino IDE "Upload" button
Wio Terminal can do much more, you may learn more at the official page: