Skip to content

Embedded product-boundary experiment

Vectis AI

A vehicle-data source prototype

A vehicle-data prototype spanning API, user surfaces, embedded source, and a Rust signal-normalisation core. The implemented record supports trace and fixture work; vehicle, hardware, and fleet validation remain outside it.

Business ↔ technology bridge · Embedded product-boundary experiment

Turn raw vehicle signals into a bounded, testable product system.

Explores the boundary from vehicle acquisition and canonical signals to operator-facing product decisions.

This is a portfolio and source interpretation—not a customer, deployment, certification, or outcome claim.

  1. 01

    Business pressure

    Vehicle telemetry is only useful when acquisition, signal semantics, connectivity, diagnostics, user experience, and operational responsibility form one product boundary.

  2. 02

    Product decision

    Separate embedded acquisition, canonical signal mapping, application APIs, and user surfaces before adding assistant or predictive behaviour.

  3. 03

    Technical record

    Embedded source, API and user surfaces, a Rust normalisation core, and a trace-replay fixture for DBC, CAN, and canonical mapping.

  4. 04

    Evidence return

    Signal quality, offline behaviour, update safety, hardware limits, and user validation return to feature scope, architecture, support, and release criteria.

Source evidence

What the source actually establishes

A vehicle-data prototype spanning API, user surfaces, embedded source, and a Rust signal-normalisation core. The implemented record supports trace and fixture work; vehicle, hardware, and fleet validation remain outside it.

Maturity
Source prototype with software and firmware boundaries
Evidence review
Source snapshot through

Architecture and product decisions

  • Separate device acquisition, canonical signal mapping, APIs, and operator-facing product surfaces.
  • Normalise DBC/CAN inputs into a canonical signal layer before product logic consumes them.
  • Treat offline behaviour, update safety, and hardware abstraction as explicit architecture boundaries.

Inspectable evidence

  • Backend unit and integration tests for the application and telemetry boundaries.
  • Embedded source with C-level tests for selected firmware logic.
  • A Rust trace-replay integration fixture for DBC parsing, CAN decoding, and signal mapping.

Claim boundary

  • Future architecture specifications are not presented as already implemented source.
  • No hardware-in-the-loop, vehicle-in-the-loop, OEM, safety-certification, or field-fleet record is asserted.
  • Predictive-maintenance and assistant outputs require separate data-quality and operational validation.

Repository evidence is not client, deployment, certification, or outcome evidence.

Architecture

From OBD-II port to plain-language insights

Three source boundaries: embedded acquisition, canonical signal mapping and APIs, and user-facing telemetry and assistant surfaces.

Source map only: a layer can represent implemented code, an adapter boundary, or documented design. It does not assert a configured production service.

  1. 01

    Layer 1 — ESP32 OBD-II Acquisition Source

    Embedded source represents OBD-II/CAN acquisition, selected signals, motion inputs, buffering, and update boundaries. No production hardware or vehicle validation is asserted.

  2. 02

    Layer 2 — Mobile + Web + API

    Mobile, web, streaming, and ingest surfaces are represented in source. Their end-to-end latency, reliability, and field usability require validation with target hardware and networks.

  3. 03

    Layer 3 — AI Insight Engine

    The source represents a Mistral-grounded assistant for plain-language explanation of raw CAN data: trip summaries, driving-behaviour scoring, and predictive-maintenance and anomaly hypotheses. Its outputs require separate data-quality and operational validation.

The Problem

The Problem

Why vehicle data is untapped

  1. Raw Data, No Insight

    Modern vehicles generate rich OBD-II data, but drivers and fleet managers have no accessible tool to interpret it.

  2. Fragmented Tools

    Separate apps for diagnostics, trip tracking, fuel economy, and safety scoring. No unified intelligence layer.

  3. Reactive Maintenance

    Breakdowns happen before problems are detected. No predictive alerts, no health scoring, no trend analysis.

  4. No AI Integration

    Can't ask your car questions. No natural-language interface to understand driving patterns or vehicle health.

Features

Key Features

Source surfaces from raw OBD-II data to user-facing telemetry

Source scope only: an entry can describe implemented code, a documented adapter, or a configured workflow. It is not a statement that a production service is active.

  1. 01

    Telemetry Streaming

    The source represents selected OBD-II PIDs and modes (current data, freeze frame, DTCs, VIN), GPS via NMEA, IMU input, and WebSocket + SSE streaming. Coverage and rates are not validated.

  2. 02

    Intelligent Trip Tracking

    The source represents automatic start/end detection, route recording, trip statistics, replay, and trip history with cost analysis. None is validated on vehicles.

  3. 03

    Driver Safety Scoring

    The source models a safety score from driving events such as hard braking, rapid acceleration, sharp cornering, and impact, with sub-scores for smoothness, speed, and eco-driving. Thresholds are not validated on vehicles.

  4. 04

    Smart Diagnostics

    The source represents DTC read/clear, freeze-frame analysis, and a vehicle health score. Predictive-maintenance outputs require separate validation.

  5. 05

    AI Assistant

    The source represents an assistant for natural-language questions about vehicle data, using a large language model with streaming SSE responses. Its outputs require separate validation.

  6. 06

    ESP32 Firmware Source

    Embedded source targets an ESP32-S3 (dual-core 240MHz) with CAN/TWAI, u-blox GPS, an MPU6050 IMU, WiFi 802.11 b/g/n, and BLE GATT. Fuel types (petrol, diesel, hybrid, PHEV, BEV, hydrogen) and OTA A/B rollback are modelled in source. No hardware or vehicle validation is asserted.

What the source models

Vehicle-signal paths represented in source

The reviewed code models selected OBD-II/CAN signals and a canonical mapping layer. Availability, rate, units, and meaning vary by vehicle and require fixture, bench, and vehicle validation.

Repository surface only: availability, completeness, performance, and operational fitness require separate validation.

PID 0D

Vehicle Speed

01

Represents vehicle-speed input for trip, threshold, and geofence logic. Rate and accuracy are not asserted across vehicles.

PID 0C

Engine RPM

02

Represents engine-speed input as an engine-load proxy, with baseline-drift hypotheses for misfire, lambda drift, and transmission wear. It is not a validated leading indicator.

PID 11

Throttle Position

03

Represents throttle-position input (%) for aggression scoring, behaviour coaching, and harsh-acceleration event logic with RPM and speed. It is not validated on vehicles.

PID 05

Coolant Temperature

04

Represents coolant-temperature input and anomaly hypotheses. It is not an early-warning guarantee or diagnostic conclusion.

PID 0F

Intake Air Temperature

05

Represents the air-density input to the ECU's fuel calculation. Diagnostic uses such as power-loss analysis or checking cold-air-intake claims require vehicle-specific validation.

PID 0B

Manifold Pressure

06

Represents manifold-pressure input as an engine-load measurement (NA + turbo). Boost-curve, load-vs-RPM, and tow-vehicle stress views are design scope, not validated analysis.

PID 2F

Fuel Level

07

Represents tank-level input (%) for refuel detection, sudden-drop theft alerts, and per-trip MPG logic against distance from speed integration. Rate and accuracy are not asserted.

PID 14

O₂ Sensor (Lambda)

08

Represents air-fuel-ratio input. Long-term drift is a hypothesis for catalytic-converter degradation, lambda-sensor ageing, or unauthorised fuel-system modification, not a diagnostic conclusion.

MODE 03

ECU Fault Codes (DTCs)

09

Represents diagnostic-code ingestion and plain-language explanation workflows. Supported modules and suggested causes require vehicle-specific and expert validation.

ONBOARD

IMU (Accel + Gyro)

10

Represents ESP32-side IMU input for harsh-braking, sharp-cornering, collision, and road-roughness event logic, independent of CAN data. Detection and use on non-OBD vehicles are not validated.

GNSS

Geofence Boundary

11

Represents GPS and cellular position inputs for user-defined zones (home, depot, customer site), entry/exit alerts, and offline buffering. Field behaviour is not validated.

OTA

Firmware Status

12

Represents firmware-version, staged-update, and rollback design surfaces. No signed production release or device-fleet update record is asserted.

Tech Stack

Built With

Named technologies identify repository dependencies or adapter surfaces; they do not assert a live integration or deployment.

Backend
Fastify, TypeScript, Prisma, PostgreSQL + TimescaleDB, Redis
AI
LLM API, streaming SSE, natural-language vehicle queries
Web Dashboard
Next.js 14, Tailwind CSS, shadcn/ui, data visualisation
Mobile App
React Native, Expo, NativeWind, BLE pairing, Detox E2E tests
Firmware
ESP32-S3, ESP-IDF 5.x, FreeRTOS, CAN/TWAI, ISO-TP, GPS NMEA, MPU6050
Infrastructure
Docker, GitHub Actions CI, Vitest, JWT auth, Swagger API docs

Source Code

Explore the Code

The Vectis AI source prototype — backend, frontend, mobile app, and firmware — is available upon request.

NDA Required

To access the source code, please sign the Non-Disclosure Agreement. This is a standard legal formality.

Related Consulting Services

Need strategic AI guidance for your fleet or IoT platform? My consulting services can help.

Partnership

Interested in Vectis AI?

If you are a fleet operator, automotive OEM or IoT partner exploring AI for vehicle data, contact me to discuss the decision.

Get in Touch
AI Insights

The AI Dispatch

From demo to dependable operation. Subscribe for new Physical AI reading.

Unsubscribe anytime. No spam, ever.

Vectis AI — Vehicle Data Source Prototype