Dual Band WiFi Analyzer

3,955

36

11

Introduction: Dual Band WiFi Analyzer

About: Make it yourself if you cannot buy one!

This instrctables show how to use Seeedstudio Wio Terminal to make a 2.4 GHz and 5 GHz dual band WiFi analyzer.

Supplies

Step 1: What Is Wio Terminal?

Wio Terminal is a 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 Wio Terminal prototype many IoT project.

Wio Terminal also equipped a 2.4” LCD Screen, onboard IMU(LIS3DHTR), Microphone, Buzzer, microSD card slot, Light sensor, and Infrared Emitter(IR 940nm).

Ref.: https://www.seeedstudio.com/Wio-Terminal-p-4509.h...

Step 2: WiFi Analyzer One Step Forward

My previous instructables, 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 a 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 instructables will use Wio Terminal to make a new dual band WiFi Analyzer.

Step 3: WiFi Channels

The WiFi analyzer visualize 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 most common channels to show.

Upper chart shows 2.4 GHz channels 1-14.

Lower chart shows 5 GHz channels 32-68 and 5.9 GHz channels 96-165.

Ref.:

https://en.wikipedia.org/wiki/List_of_WLAN_channel...

Step 4: Prepare Wio Terminal Software

Please follow Seeed WiKi to setup Wio Terminal software:

https://wiki.seeedstudio.com/Wio-Terminal-Getting-...

Update the Wireless Core RTL8720 firmware and install all related libraries:

https://wiki.seeedstudio.com/Wio-Terminal-Network-...

Step 5: Program

Arduino_GFX Library

Download latest Arduino_GFX libraries: (press "Clone or Download" -> "Download ZIP")

https://github.com/moononournation/Arduino_GFX

Import libraries in Arduino IDE. (Arduino IDE "Sketch" Menu -> "Include Library" -> "Add .ZIP Library" -> select downloaded ZIP file)

Compile & Upload

  1. Connect Wio Terminal to your computer
  2. Open Arduino IDE
  3. Open WioWiFiAnalyzer sample code ("File" -> "Example" -> "GFX Library for Arduino" -> "WiFiAnalyzer" -> "WioWiFiAnalyzer")
  4. Press Arduino IDE "Upload" button

Step 6: Enjoy!

Wio Terminal can do much more, you may learn more at the official page:

https://www.seeedstudio.com/Wio-Terminal-p-4509.ht...

Be the First to Share

    Recommendations

    • Make it Fly Challenge

      Make it Fly Challenge
    • DIY Summer Camp Contest

      DIY Summer Camp Contest
    • Backyard Contest

      Backyard Contest

    11 Comments

    0
    mcavalcante2
    mcavalcante2

    5 weeks ago

    Dears, some code example on how to deploy WPS with RTL8720DN?

    0
    Paul-SN
    Paul-SN

    4 months ago

    Hi,

    I have installed the latest firmware and all libraries exactly as instructed on the Wio Terminal.
    Unfortunately, the screen is blank after uploading the sketch.
    I've tried it on several Mac / PC with no success.
    What am I doing wrong?

    Best Regards,

    Paul

    0
    陳亮
    陳亮

    Reply 4 months ago

    0
    Paul-SN
    Paul-SN

    Reply 4 months ago

    Hi,

    I have now installed the libraries and firmware as indicated.
    Now the tester works. How can I rotate the display 180 degrees?

    Many thanks and Best Regards!
    Paul

    0
    陳亮
    陳亮

    Reply 4 months ago

    change rotate parameters from 3 to 1

    0
    rentwist
    rentwist

    9 months ago

    Hi,

    I have been watching for the dev-wifi update to happen (to fix seeing higher channels on 5GHz) and got notice very early today that an update had happened. I went through the process of building the analyzer again and find now that I receive NO WiFi signals at all! I did see something in the Guthub read.me that said something about Bluetooth only? I am now wondering it this update that I adopted works even less than the previous one. Any ideas?

    Thanks,

    Robert

    0
    rentwist
    rentwist

    Reply 9 months ago

    P.S. The display shows negative networks (-1 or -2). Also tried Wio_WiFi_Scan and get same negative networks output so it does not seem to be your program but rather a problem with Wio Terminal WiFi in general (now). I am not sure if I can revert to the previous version files as some that I downloaded overwrote the previous files.

    0
    rentwist
    rentwist

    Question 10 months ago on Step 2

    Hi,

    Having fun with the WIO Terminal and your WiFi Analyzer. I
    just got it working and although I know I have WiFi 5GHz in my home (and
    use it on many devices), the WiFi Analyzer does not show anything on
    the 5GHz graph. Is there something I need to do in order to enable 5
    GHz WiFi on the WIO Terminal?

    Thanks and Regards,

    Robert

    0
    陳亮
    陳亮

    Answer 10 months ago

    I have followed official page updated rtl8720 to latest firmware, don’t know is it the differents.

    0
    rentwist
    rentwist

    Reply 9 months ago

    Hi again. I have gone back and did the RTL8270 erase and flash procedure again (which took a little figuring since the example is for Linux, I am using Windows), both completed successfully. But, still no 5GHz WiFi (and as mentioned I have and use 5GHz WiFi on some devices in my home).

    After doing the RTL FW update, do you need to reboot before loading the sketch using the Arduino IDE or something like that?

    I mentioned this in my first post, is there anything that has to be done to the WIO Terminal to enable 5GHz WiFi?

    Maybe I will try the WiFi sketch in the WIO Terminal Getting Started guide to see if I can see my 5GHz WiFi signal there.

    Any advice or suggestions?

    Thanks,

    Robert