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.