Build Your Own Raspberry Pi Car Computer, or “Carputer”, with AutoPi
Share
What you'll need
Interests
Have you ever wanted to add an entertainment system to your car, only to find that most units are expensive, come with a lackluster feature set, and feature a terrible interface?
Well, now you can build your own Raspberry Pi-powered car computer with AutoPi! Monitor your car’s vitals, watch movies, play retro games wiith RetroPie, use open source mapping tools, browse Spotify, and more — not while driving, of course.
RetroPie: Build Your Own Raspberry Pi Retro Gaming Rig
How to install (and use) RetroPie!
What is AutoPi?
AutoPi is a complete IoT platform for your car, allowing you to quickly and easily build your own extensible car computer using a Raspberry Pi.
Thanks to a successfully funded Kickstarter campaign, AutoPi allows you to build a Raspberry Pi car computer complete with touchscreen — and add it to any vehicle using an ODB-II port.
Will this work on my car?
Nearly* any vehicle built in 1996 or later uses a standardized ODB-II port to allow communication with the car’s computer. This is the same port used to diagnose issues when your “Check Engine” light turns on. If you look beneath your dash, you’ll see this port!
* A small number of vehicles built in or after 1996, including certain electric vehicles, are exempt from the ODB-II port requirement. Thanks to howchooer sh4un for pointing this out!
Legal note: Be sure to check the laws in your state/country before building your own AutoPi. Some locales forbid “entertainment” systems from being visible to the driver.
1 – The final setup
Because the AutoPi connects to your car’s ODB-II port, it can monitor your car’s vitals and alert you to issues.
2 – Assemble the case
Rather than requiring custom hardware or a 3D-printed case, the AutoPi utilizes the SmartPi Touch case. See the following video for detailed instructions on assembling the case:
3 – Install the AutoPi adapter
The AutoPi adapter is made up of two parts: a board that connects to the Raspberry Pi 3 itself, and a dongle that connects to your car’s ODB-II data port.
4 – Install the AutoPi SD card image
The AutoPi library itself is available as a pre-made SD card image. Use a tool such as Etcher to burn the SD card image directly onto your Pi’s SD card.
5 – Mount the AutoPi
Using GoPro mounts, the AutoPi can mount anywhere. If you want to get fancy, you can integrate it directly into your dashboard. Otherwise, just mount it to your dashboard or windshield.
🛈 Obviously, mount it somewhere that won’t block your visibility. |
6 – Connect the dongle
Connect the AutoPi dongle to your car’s ODB-II port. This port can be found beneath the steering wheel, somewhere on the driver’s side.
There are several versions of the AutoPi dongle available. A few of them come with a Raspberry Pi Zero preinstalled, but there’s also a cheaper version where you “bring your own Pi”. The DIY version should be enough, especially if you want to use the larger, more powerful Raspberry Pi 3.
🛈 If your car is older than 1996, it probably has an ODB-I port, not an ODB-II port; thus, the AutoPi will not work with your car. |
7 – Create your AutoPi account
Visit AutoPi.io to create your AutoPi account. You’ll need to connect to your Raspberry Pi and run the following command to generate your unique ID:
How to Connect to a Raspberry Pi Remotely via SSH
The preferred (and most common) method of connecting to your Pi to run commands.
grains.get id
8 – Install and configure the AutoPi GUI
By default, the AutoPi has no graphical user interface. We’ll need to install one.
Install the interface
The graphical interface is technically a website that needs to run in Chromium’s Kiosk mode. You can learn how to install the interface using this guide.
Configure the interface
Once you’ve installed the interface and logged in, you’ll be able to configure it.
9 – Further customizations
You can add tons of other customizations to your Raspberry Pi car computer, including:
- A dash cam using the official Raspberry Pi camera
- Parking sensors
- Voice control, similar to building a Raspberry Pi Echo
- Auto-lock/unlock functionality
- In-car mobile hotspot
- And more! See AutoPi.io’s use cases section for more ideas.
Build Your Own Raspberry Pi Amazon Echo
Hello, Alexa Voice Service.
10 – Learn more
For more details on installing, configuring, and using the AutoPi, visit AutoPi.io. Be sure to also check MagPi Magazine’s excellent coverage of the AutoPi!