// blog

# Add Voice Control to Your Car with AutoPi (KITT-Style)

Use Google Assistant + AutoPi to trigger vehicle functions via CAN/OBD-II. Hardware, setup and code overview to build a talking car experience.

          Updated 14 Aug, 2025

          [← All posts](https://www.autopi.io/blog/)

## What if you could give your car commands?

        For many car enthusiasts, the idea of interacting with a vehicle through voice commands was once the stuff of science fiction. We still remember the 1980s television series Knight Rider, where Michael Knight
        (played by David Hasselhoff) teamed up with his [intelligent](https://www.autopi.io/blog/intelligent-car-explained/), voice-activated Pontiac Trans Am, K.I.T.T., short for Knight Industries Two Thousand. Together, they fought crime and inspired a generation of engineers and dreamers.

        Today, thanks to modern voice technology and advanced automotive platforms like the [AutoPi CAN-FD Pro](https://www.autopi.io/hardware/autopi-canfd-pro/), that dream is closer to reality than ever.

        With the AutoPi platform integrated with Google Assistant, it’s now possible to issue spoken commands to your vehicle and receive audio feedback or alerts in return. From triggering functions like rolling down the windows or enabling lights, to receiving audible warnings or status updates, voice interaction can enhance both driver experience and vehicle safety.

        This isn’t just a novelty, it’s a practical upgrade. Voice commands can reduce driver distraction, automate routine actions, and provide real-time information while keeping hands on the wheel and eyes on the road.

        While we’re still a few steps away from holding full conversations with our cars, the foundational technology is here. With AutoPi, you can build a system where your car listens, responds, and takes action, just like K.I.T.T.

        Below is a demonstration showing how this can be achieved using the AutoPi IoT platform and Google Assistant as a voice interface:

## What is AutoPi CAN FD Pro?

        The AutoPi TMU is a [telematics device](https://www.autopi.io/hardware/autopi-canfd-pro/) that plugs
        into the [OBD-II](https://www.autopi.io/blog/what-is-obd-2/) of your car.

        Once connected, the TMU device will automatically start working. It has 4G/LTE connectivity, so it is
        always connected to the Internet. It also comes with a lot of other features, one is continuous [GPS tracking](https://www.autopi.io/software-platform/cloud-management/).

        It comes with an [advanced cloud
            management platform](https://www.autopi.io/software-platform/cloud-management/), set up you can log in to from any device. From here you can setup your system and
        do real-time tracking of your vehicle telematics.

    [

    ](https://www.autopi.io/hardware/autopi-canfd-pro/)

        [
            Discover Now!
        ](https://www.autopi.io/hardware/autopi-canfd-pro/)

## How to use Google Assistant and AutoPi together?

        As a new thing, Google recently released their [Google
            Assistant SDK](https://developers.google.com/assistant/sdk/), with Python-based SDK. This SDK lets you integrate the Google Assistant with the [AutoPi CAN-FD Pro,](https://www.autopi.io/software-platform/cloud-management/) and give you the
        possibility to set up a system where you are able to give commands to your car.

        When Google introduced the Google Assistant SDK with a Python version, they must have thought of an [AutoPi device](https://www.autopi.io/hardware/compare/), because
        the two thing goes together perfectly.

        AutoPi Core *(the software running on the AutoPi TMU device)* is built using Python. With the AutoPi
        dashboard, it is possible to write custom Python code modules and upload them directly to the AutoPi CAN-FD Pro device.

        It is easy to program your AutoPi directly from the [web interface](https://www.autopi.io/glossary/web-interface/) and thereby set it up to
        integrate with Google Assistant.

        The AutoPi CAN-FD Pro device comes with a built-in speaker and a connection to your car (or should we call it
        K.I.T.T.?) using the OBD-II connector. The OBD-II
        connector[ lets AutoPi communicate with the embedded computer systems in your car.](https://www.autopi.io/hardware/autopi-canfd-pro/)

        The only thing you would need is to add a microphone to AutoPi's USB port.

        The main focus would be to set up the software on the device and that's where the Google Assistant
        SDK can help us. With it, you can parse audio recordings from your device, and turn them into actions.
        In short this is how it works:

1.
            **Speak a command using the USB microphone**

            The voice command is captured via the connected USB microphone for further processing.

2.
            **Send the recorded action to Google for parsing**

            The device forwards the audio input to Google’s speech recognition service for interpretation.

3.
            **Google sends back a text parsed from the recording**

            Once processed, Google returns a structured text result representing the user's command.

4.
            **The device initiates the action, based on the result from Google**

            Using the parsed text, the system determines the appropriate response and executes the corresponding action.

        A technical overview of how the communication flows between the user, AutoPi and Google is shown here.

## The flow between the systems is:

1.
            **User speaks a command.**

            The process begins with the user issuing a voice command, activating the voice control system.

2.
            **The K.I.T.T. Python application records and sends the spoken command to Google using the Assistant SDK.**

            The voice input is captured and transmitted via the Google Assistant SDK for interpretation.

3.
            **Google Cloud Platform translates the recorded speech into a text string.**

            The audio is processed by Google’s speech recognition engine, which returns a text-based version of the command.

4.
            **The text string is returned to the K.I.T.T. Python application, using the SDK.**

            The parsed command is sent back to the local application for further handling.

5.
            **The K.I.T.T. Python application parses the text string and initiates the action found from the string, in this case the OBD subsystem.**

            The application interprets the command and determines that it should trigger a vehicle function via the OBD system.

6.
            **The OBD subsystem routine is triggered and it sends a command on the [CAN bus](https://www.autopi.io/software-platform/canbus-management/) through the [OBD port](https://www.autopi.io/blog/obd2-port-location/).**

            A CAN frame is sent via the OBD2 interface to perform a specific action, such as rolling down the window.

7.
            **The window in the car is rolled down.**

            The vehicle executes the received CAN command, resulting in the physical action taking place.

8.
            **The speaker subsystem routine is triggered. It sends the text to be spoken to Google to translate it into a sound file.**

            The system formulates a spoken response and sends the text to Google’s Text-to-Speech service for audio generation.

9.
            **Google returns the sound file.**

            The generated audio response is received from Google’s cloud service.

10.
            **Speaker subsystem plays the sound file to the user.**

            The system outputs the audio through the connected speaker, completing the interaction.

11.
            **Great Success!**

            The full command cycle is successfully executed, voice in, action completed, and feedback delivered.

This is just a short example of how the K.I.T.T. project would come alive. With Google Assistant
        in your car, besides making your car talk to you, there are endless possibilities awaiting you.

Other integration possibilities is to have your car respond to actions spoken to a smartphone,
        when you are away from the car. An example could be to remotely start your car by speech. This would be true
        Knight Rider style.

## AutoPi Featured at Google I/O 2017

        AutoPi was showcased at the Google I/O 2017 conference in San Francisco, Google’s annual developer event highlighting cutting-edge technology and real-world applications of its platforms.

        During the presentation, AutoPi was featured as a key example of how developers can integrate the Google Assistant SDK into embedded systems to enable voice-controlled interactions with physical devices, in this case, a vehicle. The demonstration highlighted how AutoPi leverages voice recognition, cloud connectivity, and vehicle diagnostics to build smart, interactive automotive solutions.

        You can watch the full video below. To see the segment featuring AutoPi, skip ahead to minute 3:35.

        Let us know what you would like to have your car do and how you think this could be possible using the
        AutoPi and Google Assistant.

## Recommended by our users

        AutoPi is widely used by developers, vehicle integrators, and advanced users who want full control over how they interact with their vehicles. Whether it's voice-activated controls, automated diagnostics, or real-time fleet telemetry, the flexibility of the AutoPi platform allows users to build solutions tailored to their specific needs.

        Some of the most common use cases include creating custom voice assistant integrations, monitoring vehicle health remotely, and triggering CAN bus actions based on spoken commands. These projects are made possible thanks to the open architecture, cloud dashboard, and full access to CAN and OBD2 interfaces.

        Have questions about what's possible or how to get started? [Contact us](https://www.autopi.io/general-inquiries/), our team is ready to help you plan, build, and deploy your custom automotive project.
        your needs.

          [
            ← Back to all posts
          ](https://www.autopi.io/blog/)

// hardware

## Choose hardware for your integration

Compare Mini, CAN-FD Pro and TMU CM4 by vehicle data access, interfaces and custom software needs.

        [Compare devices →](https://www.autopi.io/hardware/compare/)

###### Hardware

## Choose your evaluation device

Start with the hardware your project needs. Software and connectivity terms differ by device and purchase option. Prices below exclude VAT, duties, shipping and optional accessories.

            CAN-FD Pro
            In stock · ships tomorrow

### Dual CAN-FD data logger

High-throughput raw frame capture on two independent CAN-FD channels. On-device DBC decoding, ASAM MDF4 output, J1939 native support and hardware-encrypted data signing - all on a Raspberry Pi CM4.

→ 2× CAN-FD · >3,000 fps/channel · 5 Mbps

→ 4 GB LPDDR4 · 32 GB eMMC + USB expansion

→ NXP SE051 · Tailscale SSH · Docker · S3 sync

→ 12–35 V DC · J1939 · OBD-II · 4G/LTE + GPS

            From EUR 599. AutoPi software included without a subscription. Cellular SIM and data purchased separately.

          [Order CAN-FD Pro](https://shop.autopi.io/products/autopi-can-fd-pro)
          [Learn more](https://www.autopi.io/hardware/autopi-canfd-pro/)

            Mini
            In stock · ships tomorrow

### Fleet telematics & OBD-II

OBD-II and supported EV telemetry with GPS and built-in 4G/LTE. Check your exact vehicle, required signals and regional variant; installation and configuration needs vary.

→ OBD-II / K-Line · EV parameters · GPS tracking

→ 4G/LTE Cat 1 · BLE · internal antennas

→ −40°C to +85°C · CE/UKCA/E-Mark/RoHS

→ 10–30 V DC · compact · fleet-ready out of box

            EUR 129 + EUR 6/month for SIM and Cloud, with a 12-month minimum. First-year minimum: EUR 201. Includes 100 MB/month.

          [Order Mini](https://shop.autopi.io/products/autopi-mini)
          [Learn more](https://www.autopi.io/hardware/autopi-mini/)

            TMU CM4
            In stock · ships tomorrow

### Edge compute platform

Raspberry Pi CM4-based telematics unit for custom software stacks. Run Docker containers, Python services and CAN-FD logging on the same device - managed remotely via AutoPi Cloud.

→ BCM2711 CM4 · 1 GB LPDDR4 · 8 GB eMMC

→ 2x CAN or CAN-FD variant · Docker · Python · SocketCAN

→ NXP SE051 · Tailscale · WiFi · BT 5.0 · GPS

→ 12–35 V DC · 4G/LTE Cat 4 · IP67 option

            From EUR 235 with the SIM and Cloud subscription option: EUR 6/month, 12-month minimum. Also available without a subscription; select your interface and payment option in the shop for the price.

          [Order TMU CM4](https://shop.autopi.io/products/autopi-telematics-unit-cm4-4g-lte-edition)
          [Learn more](https://www.autopi.io/hardware/autopi-tmu-cm4/)

      [Compare all devices →](https://www.autopi.io/hardware/compare/)

// related

## More posts you'll like

      [
        View all →
      ](https://www.autopi.io/blog/)

          Raspberry Pi

          DIY

#### Build a Raspberry Pi Touchscreen Car Computer (Step-by-Step)

          Assemble a Pi-based carputer with touchscreen, power, mounting and software setup. Parts list, wiring tips and configuration for a reliable in-car sys
          ...

        [
          Learn More →
        ](https://www.autopi.io/blog/build-a-raspberry-pi-touch-screen-car-computer/)

          Guides

#### Unlock Hidden Car Features with a CAN Bus Sniffer (Guide)

          Capture and replay CAN messages to test features like remote unlock. Tools, steps, and safety notes for responsible experimentation.

        [
          Learn More →
        ](https://www.autopi.io/blog/discover-hidden-functions-in-your-car-with-can-bus/)

          Guides

#### CAN Bus Explained (2025): Frames, Arbitration & Tools

          Understand identifiers, arbitration, error handling and analyzers used in automotive systems. Practical examples and diagrams.

        [
          Learn More →
        ](https://www.autopi.io/blog/can-bus-explained/)

            // contact

## Still have questions?

Get in touch with us - we're ready to answer any and all questions.

// send a message

We aim to reply within one business day.

Or email [sales@autopi.io](mailto:sales@autopi.io).
