Welcome to the Automotive LLM System! This guide will help you get up and running quickly, whether you're looking to develop, test, or deploy the system.
Perfect for developers, testing, and exploring features without any automotive hardware.
# Clone and setup
git clone https://github.com/yourusername/automotive-llm-system.git
cd automotive-llm-system
# Create virtual environment
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Run in development mode with all mocks enabled
export AUTOMOTIVE_LLM_MOCK_MODE=true
python src/main.py --debug
# The system will start with simulated vehicle data
# Try voice commands like "Hey Car, what's my engine temperature?"For actual vehicle installation with Raspberry Pi 5 hardware.
# On Raspberry Pi 5 with Raspberry Pi OS
sudo apt update && sudo apt upgrade -y
# Install system dependencies
sudo apt install -y python3-pip python3-venv portaudio19-dev can-utils
# Enable hardware interfaces
sudo raspi-config
# Enable: SPI, I2C, Serial, SSH
# Clone and setup project
git clone https://github.com/yourusername/automotive-llm-system.git
cd automotive-llm-system
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Install Ollama for local LLM
curl -fsSL https://ollama.ai/install.sh | sh
ollama pull llama3.1:8b-instruct-q4_K_M
# Configure for your vehicle
cp config.yaml config-local.yaml
nano config-local.yaml # Edit vehicle settings
# Run system
python src/main.py --config config-local.yamlJust want to see the dashboard and analytics features?
# Quick setup
pip install -r requirements.txt
# Start with analytics dashboard enabled
export AUTOMOTIVE_LLM_MOCK_MODE=true
export AUTOMOTIVE_LLM_ENABLE_DASHBOARD=true
python src/main.py --debug
# Open browser to http://localhost:8080- Voice Processing: Complete pipeline with wake word detection, STT, TTS
- LLM Integration: Local Ollama integration with automotive prompts
- Vehicle Interface: OBD-II and CAN bus communication (with mocks)
- Safety System: Multi-layer validation and emergency protocols
- HVAC Control: Complete climate control system
- Analytics System: Performance monitoring, data logging, web dashboard
- Configuration: Comprehensive settings management
"Hey Car, set temperature to 72 degrees"
"Turn on the air conditioning"
"What's my engine temperature?"
"Show me this week's performance summary"
"Start data logging"
"Do I have any alerts?"
- Real-time system status
- Performance metrics and trends
- Active alert management
- Data logging controls
- Export functionality
# Development mode
export AUTOMOTIVE_LLM_MOCK_MODE=true
python src/main.py --debugExpected output:
🚗 Initializing Automotive LLM System...
✅ Safety Monitor initialized with 7 rules
✅ Vehicle Manager initialized
🧠 LLM Controller initialized (mock mode)
🌡️ HVAC Controller initialized
🎤 Voice Manager initialized
✅ System initialization complete
🎤 Automotive LLM System started - Listening for commands...
Wait for the "Listening for commands" message, then try:
- "Hey Car, what's my status?"
- "Set temperature to 72 degrees"
- "Turn on the air conditioning"
If dashboard is enabled:
- Open browser to http://localhost:8080
- View real-time system status
- Start/stop data logging
- View performance metrics
# View system logs
tail -f /var/log/automotive-llm/system.log
# Or check console output for debug info- Read the Developer Guide
- Explore the API Documentation
- Check out example code in the codebase
- Run tests:
pytest tests/
- Follow the Installation Guide
- Review Hardware Architecture
- Understand Safety Protocols
- Configure for your vehicle make/model
- Read the User Guide
- Learn Voice Commands
- Explore Analytics Features
# Check Python version (need 3.11+)
python --version
# Check virtual environment is activated
which python
# Install missing dependencies
pip install -r requirements.txt
# Check for permission issues
sudo chown -R $USER:$USER .# Check audio devices
arecord -l
aplay -l
# Test microphone
arecord -d 5 test.wav && aplay test.wav
# Check mock mode is enabled for development
export AUTOMOTIVE_LLM_MOCK_MODE=true# Install web dependencies
pip install fastapi uvicorn
# Check if port 8080 is available
netstat -tulpn | grep 8080
# Try different port
python src/main.py --debug --dashboard-port 8081# Check USB connection
ls /dev/ttyUSB*
# Test ELM327 adapter
screen /dev/ttyUSB0 38400
# Check vehicle is in accessory mode or running- Python: 3.11 or higher
- OS: Linux, macOS, or Windows (Linux preferred)
- RAM: 4GB minimum, 8GB recommended
- Storage: 10GB for system + models
- Raspberry Pi 5: 16GB RAM model recommended
- Display: 10.1" capacitive touch screen for Raspberry Pi
- Storage: Samsung T9 SSD (2TB) or equivalent
- Audio: 4-microphone USB array
- Vehicle: OBD-II port (1996+ vehicles in US)
- Power: 12V automotive power management system
documentation/
├── getting-started/ # This guide
├── user-guides/ # User documentation
│ ├── installation.md # Hardware setup
│ ├── user-guide.md # Voice commands & usage
│ ├── analytics-guide.md # Performance monitoring
│ └── developer-guide.md # Development & contributing
├── technical/ # Technical specifications
│ ├── hardware-architecture.md
│ ├── software-architecture.md
│ ├── vehicle-integration.md
│ ├── safety-security.md
│ └── system-controls.md
└── reference/ # API reference
└── api/
└── components.md # Complete API documentation
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: Browse the
documentation/directory - Examples: Check
docs/examples/for code samples
- Share your classic car setup and modifications
- Contribute improvements and new features
- Help other enthusiasts with their installations
- Report bugs and suggest enhancements
Choose your path:
🔧 Want to install in your vehicle? → Installation Guide
💻 Want to contribute code? → Developer Guide
🎤 Want to learn voice commands? → User Guide
📊 Want to explore analytics? → Analytics Guide
🔍 Want technical details? → Technical Documentation
Welcome to the future of classic car technology! 🚗✨