User Manual & Installation Guide

📦 Installation Requirements

Software Dependencies

💡 Quick Tip: If using the pre-built executable, you don't need Python or Arduino IDE installed - just run .exe!

Python Packages (if running from source)

pip install -r requirements.txt

Key packages include:

Hardware Requirements

🚀 Quick Start Guide

1. First Launch

  1. Start the application (double-click ESP32_CAN_Sniffer_OneFile.exe or run python main.py)
  2. Ensure your ESP32 is powered and connected
  3. Select connection type (Serial or WiFi)
  4. Click "Connect" to establish communication

2. Connection Setup

Serial Connection (USB)

  1. Connect ESP32 to your computer via USB cable
  2. Click "Refresh" to scan for available ports
  3. Select your ESP32 port (e.g., "COM3" on Windows)
  4. Set baudrate (default: 115200)
  5. Click "Connect"

WiFi Connection

  1. Connect your computer to the ESP32 WiFi network
  2. Network name: Usually "ESP32_CAN_Sniffer"
  3. Enter IP address (default: 192.168.4.1)
  4. Enter port (default: 82)
  5. Click "Connect"

3. Viewing Messages

📋 Most Used Features

Message Filtering

Saving Sessions

Exporting Data

Custom Labels

🔧 Hardware Setup (ESP32 + MCP2515)

Pin Connections

ESP32 Pin MCP2515 Pin Description
3V3 VCC Power (⚠️ MUST be 3.3V, NOT 5V!)
GND GND Ground
GPIO18 SCK SPI Clock
GPIO19 SO (MISO) Master In Slave Out
GPIO23 SI (MOSI) Master Out Slave In
GPIO5 CS Chip Select
GPIO4 INT Interrupt (optional)
⚠️ Critical Warning: MCP2515 must be powered with 3.3V, NOT 5V! Using 5V will damage the module.

Flashing ESP32 Firmware

  1. Open Arduino IDE
  2. Install ESP32 board support (File → Preferences → Additional Board Manager URLs)
  3. Install "esp32" by Espressif Systems
  4. Select board: Tools → Board → ESP32 Dev Module
  5. Open the CAN sniffer sketch: arduino/can_sniffer/MCP2515/MCP2515.ino
  6. Select correct COM port
  7. Click "Upload"

⚙️ Performance Tuning

🆘 Getting Help

Back to Home