This project demonstrates how to read real-time vehicle telemetry like speed and RPM from a car’s OBD-II port using an ELM327 Bluetooth module and display it on a custom-built instrument console on Raspberry Pi.
✅ Originally built in 2019 as a hobby project
📈 Planned extension: stream data to Kafka for real-time anomaly detection using ML models
👉 Watch the demo here
(Replace # with your YouTube or Vimeo link)
obd_bt.py– Main script to interface with ELM327 over Bluetoothinstrument_console.py– Displays real-time speed/RPM on Pi screenelm_commands.txt– Reference for OBD-II commands used
- Raspberry Pi (Python 3)
- ELM327 OBD-II Bluetooth module
- Bluetooth serial communication
- Custom instrument UI using Python
- 🔜 Apache Kafka (planned)
- 🔜 Real-time anomaly detection via Spark ML (planned)
- Raspberry Pi (any model with Bluetooth)
- ELM327 Bluetooth module
- Vehicle with OBD-II port
- Power supply + screen (HDMI or TFT display)
- Raspberry Pi reads OBD data via ELM327 over Bluetooth
- Vehicle parameters (Speed, RPM) displayed as instrument console
- Kafka producer to stream telemetry
- Kafka + Spark for real-time anomaly detection
- Use ML to predict faults or abnormal vehicle behavior
- Fetch RPM and speed from OBD
- Build visual dashboard on Pi
- Stream data to Kafka
- Train anomaly detection model
- Deploy model for real-time detection
- Predictive vehicle maintenance
- Fleet management insights
- Driver behavior analytics
GitHub: spsarolkar/Tesla
