Wi-Fi Signal Scanner With ESP32! (Live Network Scan)
by TeknoTrek in Circuits > Electronics
160 Views, 1 Favorites, 0 Comments
Wi-Fi Signal Scanner With ESP32! (Live Network Scan)

In this project, we will build a device using the ESP32 development board and a 2.8'' touchscreen LCD to scan and display nearby Wi-Fi networks. This device will show the signal strength (RSSI) and encryption types of the Wi-Fi networks.
Supplies
Software:
- Arduino IDE
- WiFi.h and Adafruit_ILI9341.h libraries
- Wi_Fi_Signal_Scanner_with_ESP32.ino code
Hardware:
- DOIT ESP32 DEVKIT V1
- 2.8'' ILI9341 Touchscreen LCD (SPI, 240x320)
- ESP32-WROOM-32D WiFi Bluetooth Development Module
- Breadboard
- 2 Buttons (for Scanning and Menu Navigation)
- Jumper Wires
Downloads
Make the Hardware Connections

LCD Screen Connection:
Connect the SPI pins of the LCD screen to the ESP32. For example:
- VCC → 3.3V
- GND → GND
- CS → GPIO 5
- RESET → GPIO 4
- DC/RS → GPIO 2
- MISO (SDI) → GPIO 23
- SCK → GPIO 18
- LED → 3.3V
- MOSI → GPIO 19
Button Connections:
- Connect the first button between GPIO 0 and GND.
- Connect the second button between GPIO 15 and GND.
Jumper Wires:
- Organize the connections on the breadboard and power the ESP32.
Software Setup and Coding
Arduino IDE Settings:
- Open Arduino IDE and select the ESP32 board (Tools > Board > ESP32 Dev Module).
- Install the Adafruit_ILI9341.h and WiFi.h libraries.
Uploading the Code:
- Upload the Wi_Fi_Signal_Scanner_with_ESP32.ino code to Arduino IDE.
- Make sure the LCD screen and button pins are correctly defined in the code.
Running the Code:
- Upload the code to the ESP32 and check the connection using the serial monitor.
Testing the Project



Wi-Fi Scanning:
- Press the button to start the Wi-Fi scan. The LCD screen will display nearby Wi-Fi networks and their signal strengths.
Results:
- Check the signal strength and encryption types of the displayed networks on the screen.
Demo
Check out the video demonstration of the project on our YouTube channel:
Improving the Project
Enhancements:
- Add battery support to make the project portable.
- Use a larger screen to display more information.
Sharing:
- Share your project on Instructables to inspire other users.
Conclusion
This project aims to create a device that scans nearby wireless networks using the powerful Wi-Fi and Bluetooth capabilities of the ESP32. It displays essential details such as signal strength (RSSI), encryption types, and other key information. The project provides a great opportunity for both beginners and experienced makers to explore the capabilities of the ESP32. Additionally, by working on this project, you can gain a better understanding of how wireless networks function and even develop your own wireless network analysis device.
Key Features of the Project
Ease of Use
- The project is easy to set up and use, thanks to simple hardware components and open-source software.
- The touchscreen LCD provides a user-friendly interface.
Portability
- The project can be made portable with battery support, allowing you to scan Wi-Fi networks anywhere.
Scalability
- The project can be expanded by adding a larger display or extra buttons.
- On the software side, new features such as saving scan results or sorting networks can be implemented.
Educational Value
- This project is an excellent starting point for those who want to learn how the ESP32 Wi-Fi module works.
- It is also useful for understanding wireless network security structures (WEP, WPA, WPA2).
Potential Applications
- Home Use: Measure the signal strength of Wi-Fi networks in your home and identify the best coverage areas.
- Education: Can be used to teach students about wireless network technologies.
- Professional Use: Network engineers or IT professionals can use this project as a simple Wi-Fi analysis tool.
Future Enhancements
- Data Logging:
- Save scan results to an SD card for later analysis.
- Graphical Interface:
- Display signal strength using graphical elements (bar charts or radar graphs).
- Bluetooth Scanning:
- Utilize the ESP32’s Bluetooth capability to scan for nearby Bluetooth devices.
- Battery Support:
- Add a lithium-polymer battery and charging module to make the device fully portable.
Why Should You Try This Project?
- Cost-Effective: The components used in this project are affordable and easy to find.
- Educational: Ideal for those who want hands-on experience with ESP32 and Wi-Fi technologies.
- Fun & Rewarding: Building your own device and seeing it work is a satisfying experience.
Final Words
This project offers a great opportunity to explore the capabilities of the ESP32 and better understand wireless network technologies. You can watch more electronics videos that might interest you on our YouTube channel: https://www.youtube.com/@TeknoTrek
Support us by subscribing to our channel!