

Teensy esp32-can sniffer
CAN sniffer project for the mk7.5 VW GTI
- Size
- 68.6 × 40.6 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 31
- Nets
- 50
- Pads
- 134
- Tracks, vias
- 130, 16
- Pours
- 8
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 28 Feb 2026
- Updated
- 1 Mar 2026
Overview
Teensy esp32-can sniffer is an open-source printed circuit board by mxmrsn, from the mxmrsn/vw-can-sniffer repository on GitHub. It is a 2-layer board of 68.6 × 40.6 mm with 31 parts on 50 nets, routed with 130 tracks and 16 vias.
It is built around the TJA1051T/3/1, AP63205WU and PTS645SM43SMTR92LFS. Its parts include 8 capacitors, 7 resistors, 4 ICs, 4 diodes and 2 switches. It belongs with the ESP32, RISC-V and NXP (LPC, Kinetis, i.MX RT) boards of this library.
Main components
3TJA1051T/3/1
-- CAN Transceivers ROHSNXP SemiconductorsCAN TransceiversAP63205WU
TSOT-23-6-40℃~+85℃@(TA) 1 1.1MHz 22uA 2A 3.8V~32V 5V Buck Built-in Fixed Overcurrent Protection、Light load efficient mode、Cycle-by-cycle current limiting、Hiccup current limiting、EMI optimization (spread spectrum) Step-down type Yes TSOT-23-6 DC-DC Converters ROHSDiodes IncorporatedDC-DC ConvertersPTS645SM43SMTR92LFS
SMD-4P,6x6mm-20℃~+85℃ 1.6N 12V 4.3mm 50mA 6mm 6mm Gull Wing Round Button SPST Surface Mount,Vertical SMD-4P,6x6mm Tactile Switches ROHSC&KTactile Switches
README
README.mdVW CAN Sniffer
Hardware-agnostic CAN bus sniffer focused on MK7.5 VW GTI, starting with Teensy 4.0 and a UART stream protocol suitable for an ESP32 Wi‑Fi dashboard.
Scope
- Teensy 4.0 CAN capture
- UART framing protocol for streaming frames to a Wi‑Fi module
- Future STM32H7 custom board
Current Contents
firmware/teensy/teensy_uart_streamer.inofirmware/teensy/teensy_can_simulator.inodocs/uart_protocol.mdfirmware/esp32/esp32_uart_gateway.ino
Hardware (Initial Setup)
- Teensy 4.0
- CAN transceiver (TJA1051T/3 recommended)
- ESP32 module (UART bridge for Wi‑Fi)
Basic Wiring (Teensy ↔ ESP32)
Teensy TX→ESP32 RXTeensy RX←ESP32 TXGND↔GND- Optional:
Teensy pin 4→ESP32 EN(reset control) - Optional:
Teensy pin 5→ESP32 RST(soft reset)
CAN Transceiver (Optional Control)
- Optional:
Teensy pin 20→ TJA1051S(silent/listen‑only control)
Output Mode + LEDs
- Mode button:
pin 8(toggle UART/Wi‑Fi vs USB) - Select button:
pin 9(toggle CAN silent) - LEDs: CAN heartbeat
pin 14, Wi‑Fi activepin 15, USB activepin 16, silent indicatorpin 21
Firmware Notes
- Default UART:
Serial1@921600 - Default CAN speed:
500000 - CAN IDs encode extended frames with bit31 set
System Block Diagram
CANH/CANL
┌──────────────────────────────────────────┐
│ Bench / Vehicle │
└──────────────────────────────────────────┘
│
│
┌──────────┐ UART (3.3V)
│ TJA1051 │<-------------------------┐
└──────────┘ │
│ TXD/RXD │
│ │
┌────────────────┐ │
│ Teensy 4.0 │ │
│ CAN1 (pins 22/23) │
│ UART -> ESP32 │----------------------┘
└────────────────┘
│ Wi-Fi
│
┌──────────┐
│ ESP32 │
│ Web UI │
└──────────┘
│
│ HTTP/WSWiring Overview (ASCII)
Teensy 4.0 TJA1051T/3 CAN Bus
----------- ---------- -------
CTX1 (pin 22) ---------------------> TXD
CRX1 (pin 23) <--------------------- RXD
pin 20 ----------------------------> S (silent)
3V3 -------------------------------> VIO
5V -------------------------------> VCC
GND -------------------------------> GND ---------------------- GND
CANH ---------------------- CANH
CANL ---------------------- CANL
Teensy 4.0 ESP32 (UART) Wi-Fi
----------- ----------- -----
TX1 (pin 1) ----------------------> RX
RX1 (pin 0) <---------------------- TX
GND ------------------------------> GND ~~~
LEDs / Buttons (Teensy 4.0)
LED CAN (pin 14), LED Wi-Fi (pin 15), LED USB (pin 16), LED Silent (pin 21)
Mode button (pin 8), Select button (pin 9)Test Mode
Enable synthetic frames for bench testing:
#define TEST_MODE 1
#define TEST_RATE_HZ 50Protocol
See docs/uart_protocol.md for the UART framing spec.
USB Capture
Use tools/usb_dump.py to read the framed stream from USB and emit CSV.
Requires pyserial.
PCB Docs
See pcb-teensy-esp32/teensy-esp32-can-sniffer/docs/README.md for schematic, layout, and 3D captures.
Next Steps
- ESP32 firmware to host a WebSocket dashboard
- Basic browser UI for live frame display
- STM32H7 hardware plan
PlatformIO (ESP32)
If you prefer automation, PlatformIO can build and upload the ESP32 firmware and SPIFFS assets.
See platformio.ini and tools/upload_spiffs.sh.
Parts
31| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 330 | Resistor_SMD:R_0603_1608Metric | R3, R4, R5, R6 |
| 4 | LED | LED_SMD:LED_0603_1608Metric | D1, D2, D3, D4 |
| 4 | MountingHole | MountingHole:MountingHole_2.5mm | H1, H2, H3, H4 |
| 2 | 100n | Capacitor_SMD:C_0805_2012Metric | C1, C3 |
| 2 | 10k | Resistor_SMD:R_0603_1608Metric | R1, R2 |
| 2 | 22u | Capacitor_SMD:C_0805_2012Metric | C4, C5 |
| 2 | PTS645SM43SMTR92_LFS | digikey-footprints:Switch_Tactile_SMD_6x6mm_PTS645 | S1, S2 |
| 1 | 100p | Capacitor_SMD:C_0805_2012Metric | C7 |
| 1 | 10u | Capacitor_SMD:C_0805_2012Metric | C6 |
| 1 | 120 | Resistor_SMD:R_0603_1608Metric | R7 |
| 1 | 15p | Capacitor_SMD:C_0805_2012Metric | C8 |
| 1 | 4.7u | Inductor_SMD_Wurth:L_Wurth_WE-LQSH-4020 | L1 |
| 1 | 47u | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | AP63205WU | Package_TO_SOT_SMD:TSOT-23-6 | U3 |
| 1 | Conn_01x04 | molex-picospox-0874370231_01x04:CONN_874370231-SD_04_MOL | J1 |
| 1 | Seeed_Studio_XIAO_ESP32S3 | seeed_studio_xiao:XIAO-ESP32S3 | U2 |
| 1 | TJA1051T-3 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U4 |
| 1 | Teensy4.0 | teensy:Teensy40 | U1 |
Similar boards
- 4 layers61 × 81 mm

- 2 layers64.8 × 74.5 mm

ReadingLampController
vsi5004/ReadingLampController
A repurposing of my LCC Lighting Controller hardware into a customizable, Matter enabled, RGBW reading lamp
67 parts - 2 layers130.8 × 83.8 mm

- 2 layers66.6 × 69.3 mm

GD32F427RE LTC SMPTE no PHY
vanvught/KiCad-GD32F427RE-LTC-SMPTE-no-PHY
KiCad GD32F427RE LTC-SMPTE no PHY
64 parts2MIT - 2 layers77.2 × 59.7 mm

GD32FxxxRx no PHY
vanvught/KiCad-GD32FxxxRx-no-PHY
GD32F103R GD32F107R GD32F207R GD32F303R GD32F407R development board
60 parts2MIT - 2 layers147.3 × 83.8 mm

- 4 layers50 × 75.2 mm

RpiFly v3
r3dpath/RpiFly_Hardware
While most of the functionality here has been tested to work theres certainally some marginal design decisions, just beware.
108 parts1 - 2 layers96 × 110.1 mm

GD32F470VG Pixel-16
vanvught/Kicad-GD32F470VG-Pixel-16
Kicad GD32F470VG Pixel 16-ports x 4 Universes
113 parts1MIT
Questions
How big is the Teensy esp32-can sniffer PCB?
It measures 68.6 × 40.6 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Teensy esp32-can sniffer use?
31 parts, built around the TJA1051T/3/1, AP63205WU and PTS645SM43SMTR92LFS. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Teensy esp32-can sniffer KiCad files?
From the mxmrsn/vw-can-sniffer repository on GitHub, at the commit this page was made from: the board is pcb-teensy-esp32/teensy-esp32-can-sniffer/teensy-esp32-can-sniffer.kicad_pcb and its schematic pcb-teensy-esp32/teensy-esp32-can-sniffer/teensy-esp32-can-sniffer.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Teensy esp32-can sniffer design in my own project?
Its repository states no licence, so its author keeps all rights: ask mxmrsn before reusing the design.