Table of Contents

Packet Sniffer

Introduction

This project delivers a network monitoring appliance that passively observes and visualizes Wi-Fi traffic in real time. By combining a Raspberry Pi configured as both a hotspot and uplink bridge to the LAN's router, with an ESP32-driven TFT display, the system can:

This standalone solution is ideal for home network troubleshooting.

General Description

The overall architecture comprises two collaborating units:

* Raspberry Pi Zero 2 W

* ESP32 + TFT LCD

Hardware Design

Eagle Schematic

BOM

Component Qty Cost(€) Datasheet
Raspberry Pi Zero 2 W 1 15 link
ESP32 Dev Board 1 7 link
1.44″ ST7735S TFT LCD 1 8 link
RGB LED 1 0.40 link
Push-button 1 0.30 N/A
TL-WN722N Wi-Fi Adapter 1 10 link

Software Design

GitHub Repository

https://github.com/robert-ercean/Network_Monitor

Development Environments

Dependencies & Libraries

* ESP32 Side

* Raspberry Pi Side

Core Data Structures & Algorithms

* Circular buffer (size 128 i.e. max width of the LCD)

* Graph autoscaling

* Bare-metal PWM feedback

* Debounced button input

Software Workflow

1. Boot & Initialization

2. Data Acquisition (Pi Script)

3. ESP32 Main Loop

4. Mode Switching

Pics