Imported from GitHub: bglen/vehicle_telemetry · commit 201730e · license MIT
Description
Vehicle Live Telemetry System using Pi-based data logging
README
Vehicle Telemetry System
Note: This is a work in progress and many features are not implemented yet.
The Vehicle Telemetry System is an offline-first, containerized CAN data logging system. The system is designed to provide live telemetry and data logging for race cars, but can easilly be adapted to any mobile vehicle or robotic platform that uses CAN networks.
Architecture Overview

Current Features
- Logs CAN and decodes to CSV file
- Ability to decode using multiple DBC files
- Access and download decoded log files on the logger's local WiFi hotspot
- Handles sudden power loss gracefully
- Supports two CAN 2.0B networks up to 1 Mbps
- Logs data from NMEA format USB GPS devices
Future Functionality
- Stores data to local influxDB database when logging offline. Syncs data to cloud database when internet access is detected.
- Bluetooth control of action cameras (GoPro, DJI Action)
Data Logger
Hardware Overview
This repo contains the hardware design for an open-source Raspberry Pi-based CAN data logger.
- Raspberry Pi 4 Model B
- 12V nominal power
- Can log two CAN networks
- GPIO for remote button for log start/stop and logging status LEDs
- Real time clock for accurate data time-stamps when not connected to internet
- Temperature, pressure, and humidity SPI sensor
- Bus voltage logging
Datalogger Software Setup
- Create a fresh install of Raspberry Pi OS on your Pi 4B
- Connect to your Pi via SSH or other methods. Ensure it has an internet connection.
- Update apt and install git and jq:
sudo apt upgrade -y && sudo apt install -y git jq - Clone the repo:
git clone https://github.com/bglen/vehicle_telemetry - Go to the setup folder:
cd vehicle_telemetry/software/datalogger/setup - Make install.sh executable:
chmod +x install.sh - Run the installer:
./install.sh - During the install, enter in your preferred access point network name and trusted network details.
- Reboot the Pi:
sudo reboot
Data Visualiation Tool
A python data visualization tool is provided and uses rerun.io to visualize .CSV log files.
License
MIT License
No comments yet. Be the first to ask about this board.