Menu

ESP32-based CAN logger sustained 1027 fps for 3 hours on my Toyota Sienna with zero dropped frames
πŸ“°
0

ESP32-based CAN logger sustained 1027 fps for 3 hours on my Toyota Sienna with zero dropped frames

Reddit r/embeddedΒ·u/baconbbqburgerrΒ·about 1 month ago
#oumg5mU0
#frames#esp32#sustained#hardware#logger#article
Reading 0:00
15s threshold

Been working on a portable CAN bus logger as a side project β€”
wanted something cheap, battery-powered, with a screen, that
just works for long captures.

Hardware:
- ESP32-2432S028R (CYD board, ~$15 with TFT + touch)
- MCP2518FD CAN controller on VSPI
- SN65HVD230 transceiver
- microSD for logging

Plugged it into my 2011 Toyota Sienna's OBD port and let it
run for ~3 hours.

Result on the photo:
- 1027 fps sustained
- 10,727,750 frames captured
- 0 dropped frames
- 188 MB written to SD

The hardware is mostly off-the-shelf β€” the interesting part
was getting the firmware to handle sustained throughput without
dropping anything. Ring buffer sizing, SD write batching, task
priorities β€” that took the most iteration.

Anyone else doing portable logging on ESP32-class hardware?
Curious how others handle the SD write timing without dropping
frames at higher bus speeds.

Read More