The Ghost Frequencies
The abandoned office building should have been silent. Dead. Cut off from the world for three years since the outbreak. But Agent Rivera's modified ESP32 scanner was picking up something that made her blood run cold.
Wireless signals. Dozens of them. Broadcasting from inside.
She crouched behind a rusted car in the parking lot, watching the device's screen flicker with network names that shouldn't exist. "PandoraCell_07", "BlackBox_Mesh", "Project_Nightfall". Each signal told a story. Someone was alive in there. Someone was connected. Someone who might have answers about what really happened to Pandora's research team.
The ESP32 T-Display in her hands wasn't just a WiFi scanner anymore. It was a window into the invisible electromagnetic battlefield that surrounded every survivor in this new world. Every router, every phone, every connected device left electronic fingerprints floating through the air. And if you knew how to read those fingerprints, you could track anyone, anywhere.
Rivera adjusted the antenna angle and watched new signals bloom across the screen. The device cycled through frequencies, painting a real-time map of the digital ghosts haunting the airwaves. Some signals were strong and close. Others flickered like dying stars at the edge of detection range. But they were all there, waiting to be decoded by someone with the right tools and the courage to listen.
Today, you're building that tool. Your ESP32 T-Display will become an intelligence-gathering device that reveals the hidden wireless landscape around you. Every scan brings you one step closer to understanding who's out there, what they're doing, and whether they're friend or foe in this dangerous new world.
What You'll Learn
When you finish this lesson, you'll be able to:
- Transform your ESP32 T-Display into a wireless network detector
- Scan and display all WiFi networks within range on the built-in screen
- Understand how WiFi scanning works at the protocol level
- Read signal strength and network information from the airwaves
- Use the TFT graphics library to create real-time displays
- Build a foundation for more advanced wireless surveillance tools
Understanding WiFi Scanning
Think of WiFi signals like radio stations broadcasting in the air around you. Right now, dozens of invisible networks are transmitting their names, security settings, and signal strength through the electromagnetic spectrum. Most devices only connect to networks they know, but a scanner listens to everything.
WiFi operates on specific frequency bands, primarily 2.4GHz and 5GHz. These frequencies are divided into channels, like lanes on a highway. Networks broadcast beacon frames every 100 milliseconds, announcing their presence to any device willing to listen. These beacons contain the network name (SSID), security type, and other metadata.
The ESP32's built-in WiFi radio can tune into these beacon frames and extract the information without connecting to any network. It's passive surveillance. The device simply listens to what's already being broadcast and organizes the data for analysis.
Signal strength matters for intelligence gathering. A strong signal typically means the source is close. Weak signals might indicate distance, obstacles, or low-power devices. By monitoring signal strength over time, you can track movement, identify patterns, and even triangulate approximate locations.
The T-Display variant of the ESP32 includes a built-in color screen, perfect for creating a real-time surveillance interface. Instead of connecting the board to a computer and reading serial output, your scanner becomes a standalone device that displays results instantly.
Hardware Setup
The ESP32 T-Display is a complete unit with no external wiring required. The built-in components include:
- ESP32-WROOM-32 microcontroller with WiFi radio
- 1.14-inch ST7789 TFT color display (135x240 pixels)
- Two programmable buttons for user input
- USB-C connector for power and programming
- Built-in antenna for 2.4GHz WiFi reception
Simply connect the USB cable to power the device and upload your scanning program. The compact form factor makes it perfect for portable reconnaissance missions.
Code Walkthrough
Essential Libraries and Object Creation
#include
#include
TFT_eSPI tft = TFT_eSPI();We're combining two powerful libraries here. The WiFi library gives us access to the ESP32's radio hardware for scanning networks. TFT_eSPI handles the graphics display, providing functions to draw text, shapes, and manage the screen. Creating the tft object gives us a programming interface to control every pixel on the display.