Wifi Scanner ATOM Matrix ESP32

by RonFrtek in Circuits > Arduino

99 Views, 1 Favorites, 0 Comments

Wifi Scanner ATOM Matrix ESP32

Wifi Scanner ATOM Matrix ESP32 M5Stack

In this tutorial we are going to learn how to make a WiFi scanner that will display the number of WiFi Access points nearby.

What You Will Need

2022-07-27_11-05-19.jpg
VisuinoAdvrtisementVersion8.jpg


Start Visuino, and Select the Atom Matrix Board Type

2022-07-27_11-15-03.jpg
2022-07-27_11-14-14.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 "Atom Matrix" as shown on Picture 2

In Visuino Add Components

2022-07-27_11-18-59.jpg
2022-07-27_11-18-13.jpg
  • Add "Clock Generator" component
  • Add "Integer Multi Source" component


In Visuino Set Components

2022-07-27_11-19-44.jpg
2022-07-27_11-20-04.jpg
2022-07-27_11-20-39.jpg
2022-07-27_11-20-59.jpg
2022-07-27_11-21-37.jpg
2022-07-27_11-23-01.jpg
2022-07-27_11-23-30.jpg
  • Select "ClockGenerator1" and in the properties window set "Frequency" to 10
  • Select "IntegerMultiSource1" and in the properties window set "Output Pins" to 3
  • Select "M5 Stack ATOM Matrix" board in the properties window expand "Modules">"WiFi">"Operations" and click on the 3 dots button
  • In the "Operations" window drag "Scan WiFi Networks" to the left side and close the window
  • Select "M5 Stack ATOM Matrix" board in the properties window expand "Modules">"RGB Matrix">"Elements" and click on the 3 dots button
  • In the "Elements" window drag "Fill Screen" to the left side
  • In the "Elements" window also drag "Text Field" to the left side and in the Properties window set "Color" to $FF0080C0
  • Close the "Elements" window

In Visuino Connect Components

2022-07-27_11-19-15.jpg
2022-07-27_11-23-48.jpg
at1.png
  • Connect "ClockGenerator1" pin [Out] to "M5 Stack ATOM Matrix" > "Scan Networks" pin[Scan]
  • Connect "M5 Stack ATOM Matrix" > "Scan Networks" pin [Count] to "IntegerMultiSource1" pin[In]
  • Connect "IntegerMultiSource1" pin [0] to "M5 Stack ATOM Matrix" > "RGB Matrix" > "Fill Screen1" pin[Clock]
  • Connect "IntegerMultiSource1" pin [1] to "M5 Stack ATOM Matrix" > "RGB Matrix" > "Text Field1" pin[In]
  • Connect "IntegerMultiSource1" pin [2] to "M5 Stack ATOM Matrix" > "RGB Matrix" > "Text Field1" pin[Clock]

Generate, Compile, and Upload the Arduino Code

2022-07-27_13-33-40.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 ATOM Matrix module, The Display will show the number of WiFi Networks around.

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