กลับไปหน้ารวมไฟล์
mini-wifi-scanner-using-oled-8cbce1-en.md

Cybersecurity Tools: Mini Wi-Fi Scanner

If you are setting up internet in a stadium or trying to find a dead zone in a warehouse, you need a specialized tool. The Mini Wi-Fi Scanner utilizes the ESP8266's native 2.4GHz radio antenna not to connect to the internet, but simply to listen to the chaos of the airwaves.

stock_counter_lcd_setup_1772706693516.png

The Promiscuous Scan

Normal devices ignore routers they don't know the password to. The ESP8266 scanner listens to everything using the native SDK command WiFi.scanNetworks().

  1. The code executes a scan, forcing the radio to loop through Channels 1 through 13.
  2. The scanner catches every beacon frame in the area.
  3. The function returns an integer: int n = WiFi.scanNetworks(); (e.g., n = 12 networks found).
  4. The ESP stores arrays of the data: The SSID (Name), the RSSI (Signal Strength), and the Encryption type (WPA2/WEP/Open).

Drawing the Signal Bars (OLED)

Text is not enough; the user needs visual signal strength indicators.

  • A 0.96" I2C OLED Screen is used because it has incredibly high resolution.
  • The absolute best signal (-30 dBm) draws 4 solid boxes next to the name.
  • A terrible signal (-90 dBm) draws one pixelated box.
  • The screen dynamically scrolls through the list of networks, updating the signal strengths every 3 seconds as the user walks around the building physically tracking down routers.

Portable Assembly

Because it is a diagnostic tool, it must be portable.

  • ESP8266 NodeMCU or D1 Mini.
  • 0.96" or 1.3" I2C OLED Display.
  • Small LiPo Battery & TP4056 Charger circuit.
  • A 3D printed handheld enclosure. It should look like a small Pokedex!

ข้อมูล Frontmatter ดั้งเดิม

title: "Mini WiFi Scanner using OLED"
description: "Sniff the airwaves! Turn an ESP8266 into a portable network scanner that visually maps all nearby Wi-Fi endpoints, displaying their names and signal strengths on a tiny screen."
category: "Wireless & IoT"
difficulty: "Intermediate"