StickC M5Stack Ultra Simple WiFi Scanner

by RonFrtek in Circuits > Arduino

270 Views, 0 Favorites, 0 Comments

StickC M5Stack Ultra Simple WiFi Scanner

StickC M5Stack Ultra Simple WiFi Scanner - ESP32

In this project we will learn how to make a WiFi Scanner using a M5StickC ESP32 module to Display the WiFi networks around.

Watch the Video.

What You Will Need

FUPA768K36U3RSQ.LARGE.jpg
VisuinoAdvrtisementRaspberryPiRobot1.jpg

Start Visuino, and Select the M5 Stack Stick C Board Type

FCH7XQEK5ADILIH.LARGE.jpg
FBZIDQ4K36U3RS3.LARGE.jpg

Start Visuino as shown in the first picture Click on the "Tools" button on the Arduino component (Picture 1) in Visuino When the dialog appears, select "M5 Stack Stick C" as shown on Picture 2

In Visuino Set Components

2020-10-27_7-48-13.jpg
2020-10-27_7-50-09.jpg
2020-10-27_7-52-03.jpg
2020-10-27_7-56-19.jpg
2020-10-27_7-55-59.jpg
2020-10-27_7-58-44.jpg
  • Select "M5 Stack Stick C" and in the properties window expand "Modules" > "WiFi" > "Operations" and click on the 3 dots button.
  • In "Operations" window drag "Scan WiFi Networks" to the left side
  • In the properties window set "Show Hidden" to True, this way we will also be able to se hidden networks
  • Close the "Operations" window
  • Select "M5 Stack Stick C" and in the properties window expand "Modules" > "Display ST7735"
    Set "
  • Set "Orientation" to goRight
  • Select "Elements" and click on the 3 dots button
  • In the "Elements" window drag "Fill Screen" to the left side
  • Close the "Elements" window

In Visuino Connecting Everything

2020-10-27_8-03-00.jpg
2020-10-27_8-03-17.jpg
stickc-wifi.png

  • Connect "M5 Stack Stick C" pin Out A(M5) to "Operations[0] pin "Scan"
  • Connect "M5 Stack Stick C" pin Out A(M5) to Fill Screen1 pin "Clock"
  • Connect "M5 Stack Stick C" "Operations[0] pin "Scanning" to "LED" pin "In"
  • Connect "M5 Stack Stick C" "Operations[0] pin "SSID" to "Display ST7735" pin "In"

Generate, Compile, and Upload the Code

2020-10-27_8-12-53.jpg

In Visuino, at the bottom click on the "Build" Tab, make sure the correct port is selected, then click on the "Compile/Build and Upload" button.

Play

If you power the M5StickC module and click on the Orange button M5, the internal LED will start to flash, this indicates that the module is scanning for WiFi networks. After the scanning is finished the LED will stop flashing and you will be able to se on the display the names of the WiFi networks around.

Congratulations! You have completed your project with Visuino. Also attached is the Visuino project, that I created for this Instructable, you can download it and open it in Visuino: https://www.visuino.eu