A wardriver based on the ESP32-C5
Based on the ESP32-C5-DevKitC-1 v1.2, the ESP32 Dual Band Wardriver offers wardriving capabilities for 2.4GHz and 5GHz WiFi as well as BLE. Logs are formatted for WiGLE and saved to SD card.
Join #wardriving on WiGLE and KokosStripClub (invite code: _mN01r0TAS8q) on WDGWars to have a little competitive fun with the art of wardriving.
IMPORTANT: If you are using the ESP32-C5-DevKitC-1 with the JCMK C5 Wardriver host board or you are powering your DevKit via the 3V3 pin, you must remove the 3V3 jumper from the DevKit or your device will not power properly.
| ESP32-C5 | Display |
|---|---|
3V3 |
VCC |
GND |
GND |
GPIO6 |
SCK |
GPIO7 |
MOSI |
GPIO23 |
CS |
GPIO24 |
DC |
GPIO27 |
BL |
RST |
RST |
| ESP32-C5 | GPS |
|---|---|
3V3 |
VCC |
GND |
GND |
GPIO13 |
RX |
GPIO14 |
TX |
Tip: The GPS module's ceramic patch antenna should be oriented face-up toward the sky for best signal. In the JCMK host board case the antenna mounts vertically by default — relocating it to the top of the enclosure significantly improves acquisition time.
| ESP32-C5 | SD |
|---|---|
3V3 |
VCC |
GND |
GND |
GPIO6 |
SCK |
GPIO2 |
MISO |
GPIO7 |
MOSI |
GPIO10 |
CS |
| Board | ESP32-C5 | Pin |
|---|---|---|
GPIO4 |
SCL |
|
GPIO5 |
SDA |
|
3V3 |
VCC |
|
GND |
GND |
|
Battery + |
BAT |
| ESP32-C5 | LED |
|---|---|
GPIO28 |
+ |
GND |
- |
The User Buttons require pull-down resistors.
| ESP32-C5 | Button |
|---|---|
GPIO8 |
DOWN |
GPIO9 |
UP |
GPIO15 |
SELECT |
The C5 Wardriver Installer is the default and recommended method for installing firmware. It runs in a Chromium-based browser with Web Serial support, such as Google Chrome or Microsoft Edge.
Clean / first install erases the device and writes the complete compatible flash layout, including the bootloader, partition table, OTA data, and application. This is required when the existing flash layout is unknown or incompatible.
Use the C5 Wardriver Installer for normal firmware updates:
Update mode preserves settings and writes the application to app0 before updating OTA selection so the new firmware boots. If the device is factory-fresh, has an unknown partition layout, or does not boot after an update, repeat the process with Clean / first install.
SD card updates remain supported when a browser and direct USB connection are not convenient. The firmware checks the SD card root at every boot for a new .bin file and automatically installs it when found.
.bin file on the root of your SD cardWhen powered on, the C5 Wardriver attempts to connect to WiFi using saved credentials. If no credentials are saved or the network is unavailable, it starts its own access point named c5wardriver (password: c5wardriver). The AP remains active for 60 seconds if no clients connect, or until all clients disconnect.
If the device connects to a saved WiFi network, the web UI remains available indefinitely — it will stay connected until the network disappears. You can skip the admin phase entirely by holding SELECT when the boot logo appears.
On first boot, connect to the c5wardriver access point and navigate to http://192.168.4.1. From the web UI you can configure:
/debug.log on the SD cardAt every boot, if connected to a saved WiFi network, the device IP is shown on the display. Navigate to that IP from any device on the same network to access the web UI. From here you can download log files, upload to WiGLE or WDGWars, and reconfigure all settings.
A live log viewer is available at http:///log — auto-refreshes every 5 seconds and shows the last 100 log entries.
Cycle between screens using the UP and DOWN buttons.
Screen 1 — Stats (default) Large-format wardriving stats: GPS satellite count and lock status, battery percentage, scan status, current session 2.4GHz / 5GHz / BLE counts, running totals, and active geofence zone name.
Screen 2 — Detail Original stats display: firmware version, SD status, battery, scan status, log file name, per-band counts, GPS satellites, and running totals.
Screen 3 — Incognito 5-second countdown then backlight off. Press any button to exit.
| Button | Function |
|---|---|
UP |
Cycle display mode forward |
DOWN |
Cycle display mode backward |
SELECT |
Hold at boot logo to skip admin phase |
Log files can be uploaded to WiGLE and WDGWars directly from the web UI or automatically via dock mode. Select a log file from the file list and choose Upload — options are WiGLE, WDGWars, or Both.
Sidecar files (.wigle / .wdg) are created after successful uploads to prevent duplicate uploads across reboots.
Dock mode automates log uploads when the wardriver detects a configured trigger SSID.
How it works:
Two-tier operation:
Tier 1 automatically upgrades to Tier 2 if a GPS fix is acquired while docked.
Configure the trigger SSID and password in the web UI under Dock Mode. The trigger SSID is separate from the boot WiFi network.
Up to 5 geofence zones can be configured with a label, latitude/longitude, and radius (0.10 to 1.00 miles). When the wardriver enters a geofence zone, wardriving pauses and the zone name is shown on the display. Wardriving resumes automatically when the zone is exited.
Zones are configured from the web UI under Geofences.
Up to 10 SSIDs can be added to the exclusion list. Networks matching an excluded SSID are never logged regardless of location. Useful for filtering out your own networks or known networks you don't want to record.
Configure from the web UI under SSID Exclusions.
Enable SD Debug Log in the web UI Admin section to write all log entries to /debug.log on the SD card. Useful for diagnosing issues in the field without a serial connection. The debug log is available for download from the web UI file list but is excluded from upload queues.
The C5 Wardriver supports multiple ESP32 modules operating as collection nodes reporting to a single Core device. Nodes and Cores communicate over-the-air within typical WiFi range.
When configuring device mode from the web UI, the mode persists across reboots. When selecting mode from the on-device menu, it is temporary and resets on next boot.
Standalone operation. Requires SD card, GPS module, and GPS fix. Logs directly to SD and supports direct upload to WiGLE and WDGWars.
Collects wardriving data and sends it to a Core device. Does not require SD card or GPS.
Receives data from Nodes, pairs it with GPS location data, and saves consolidated log files to SD. Requires SD card and GPS. Does not collect wardriving data itself. Supports direct upload to WiGLE and WDGWars.
Node-to-Core communications can be encrypted. Enable via the web UI. When encryption is enabled, a maximum of 6 nodes can operate simultaneously due to memory constraints. Without encryption, the number of nodes is theoretically unlimited.
No open issues yet, or sync has not completed.