Abhinav Dhakal

change to light
← Back to Home
$ cat ~/projects/canbus-datalogger/README.md

OBD-II CAN Bus Data Logger

work in progress, assembly not done yet
CAN SPI BLE SPI ECU Toyota 2GR-FE SN65HVD230 CAN transceiver STM32F103 bare-metal C SD Card log.csv ESP32 BLE rx · drives TFT TFT · wireless RPM 2341 MPG inst 24.6 MPG trip avg 22.9 MPG all-time 21.4 AFR 14.2 MPH 62 ESP32 → SPI → TFT

bare-metal stm32 project. wanted to actually learn the peripherals so i built something real with it. plugs into my toyota's obd-ii port, reads engine data, shows live metrics on an lcd, logs to an sd card. wrote the can, spi, and i2c drivers myself off the reference manual.

firmware is working. haven't put it all together physically yet.

what's done / what's left

Tech Stack

STM32F103, C, CAN, SPI, I2C, FATFS

Hardware

STM32F103 Blue Pill, SN65HVD230 CAN transceiver, 2007 Toyota Avalon, SPI LCD, MicroSD module