Raspberry Pi as car computer

Carputers! Fabrice Aneche is documenting his ongoing build, which equips an older (2011) car with some of the features a 2018 model might have: thus far, a reversing camera (bought off the shelf, with a modified GUI to show the date and the camera’s output built with Qt and Golang), GPS and offline route guidance.

rearcam

We’re not sure how the car got through that little door there.

It was back in 2013, when the Raspberry Pi had been on the market for about a year, that we started to see carputer projects emerge. They tended to be focussed in two directions: in-car entertainment, and on-board diagnostics (OBD). We ended up hiring the wonderful Martin O’Hanlon, who wrote up the first OBD project we came across, just this year. Being featured on this blog can change your life, I tell you.

In the last five years, the Pi’s evolved: you’re now working with a lot more processing power, there’s onboard WiFi, and far more peripherals which can be useful in a…vehicular context are available. Consequently, the flavour of the car projects we’re seeing has changed somewhat, with navigation systems and cameras much more visible. Fabrice’s is one of the best examples we’ve found.

solarised map

Night-view navigation system

GPS is all very well, but you, the human person driver, will want directions at every turn. So Fabrice wrote a user interface to serve up live maps and directions, mostly in Qt5 and QML (he’s got some interesting discussion on his website about why he stopped using X11, which turned out to be too slow for his needs). All the non-QML work is done in Go. It’s all open-source, and on GitHub, if you’d like to contribute or roll your own project. He’s also worked over the Linux GPS daemons, found them lacking, and has produced his own:

…the Linux gps daemons are using obscure and over complicated protocols so I’ve decided to write my own gps daemon in Go using a gRPC stream interface. You can find it here.

I’m also not satisfied with the map matching of OSRM for real time display, I may rewrite one using mbmatch.

street map display

We’ll be keeping an eye on this project; given how much clever has gone into it already, we’re pretty sure that Fabrice will be adding new features. Thanks Fabrice!

7 comments

Avatar

where to buy this screen?

Avatar

The problem with the raspberry pi in this case is the amount of effort to handle the startup and shutdown cleaning when the ignition goes on and off.

It would be nice if future versions had a hardware button implemented like a regular pc does via the atx connections.

Avatar

Ryan, Mausberry has a startup/shutdown hardware solution. Be prepared for a long wait before receiving the module though. Was a month before I received the switch.

Avatar

I’m sorry, but music server and navigation does not a car computer make. My cell phone does that. I am hoping somebody will start developing real functionality, such as camera selection and monitoring for multiple backup cameras, tire pressure monitoring, vehicle systems monitoring, etc. I would love to see somebody like Fabrice start looking that direction rather than reinventing the wheel.

Avatar

I couldn’t agree more – let’s add some sensors and monitor the engine – use ai to predict failures! Your phone already does music and navigation.

Avatar

One use case I’d like to work on is related to car theft or break-in, with notifications to my smartphone or home automation system!

Leave a Comment

Comments are closed