13

I recently built an OBDuino32k with my Arduino Uno. Unfortunately, I built the wrong interface, so I can't use it with my car. I built an interface for ISO instead of ELM.

I bought a Raspberry Pi the other day, and I'm thinking, since I have already constructed the OBD-II to DB9 cables, I'm wondering if there's a way I can use that to finish my project. Does anyone know of any Linux OBD software that will run on the Pi? I've started searching, but haven't come up with anything yet. Gonna keep any progress posted here. Any insight this community could lend is greatly appreciated.

  • 2
    I'm also planning to connect my Pi to the OBD-II interface in my car. For the hardware I'm using a dongle that connects via bluetooth as that seems the easiest way to do it (no soldering for a start). – Tom77 Apr 8 '13 at 14:57
  • @Tom77 - Seems interesting. Do you have a blog or website tracking your project? I'd like to see it. – Thomas Apr 8 '13 at 18:53
  • I guess now we could mention the carberry? carberry.it – Antony Gibbs May 14 '16 at 0:31
9

I've looked for the same thing for quite a while. Here is probably the most useful link I've found:

KW1281 Live Diagnosis with Raspberry Pi

The author reverse engineers a piece of software written for Windows by looking at the byte streams going between his computer and his car's computer. While the technical details are interested, he also provides snippets of source code that can be used.

His final conclusion is that the Raspberry Pi is not able to read from the OBD-II interface of a car while the engine is running. His reasoning is buggy serial drivers resulting in bad timing.

Here's another one that may provide a solution eventually, but mostly covers the hardware side for now:

Raspberry Pi Car PC Project

The author requested a free STN1110 chip and plans on making a custom board to communicate with his car. If you do a search on the Raspberry Pi boards you will find a couple other people working on the same thing. I was even able to find a person working on a marketable version of such a board:

OBD-II STN1110

The creator did not provide a website for ordering such a board that I'm aware of, but seems to offer them if you send a private message on the form.

There is also an android app called Torque that is available. I haven't managed to find source for it however.

Some more potentially useful links:

pyOBD - Open source (GPL) program written in python that interfaces with OBD-II. If that's not a perfect match for the Raspberry Pi, I don't know what is.

openOBD: OBD-II Scan Tool - An abandoned C++ based OBD-II program for both Windows and Linux based systems.

Edit 7/28/2013

There was a blog post on RaspberryPi.org today with some more good information:

Here's a link to the blog: Carputers – some ideas to get you started

A link to a forum post of a guy who put a PI in his F150: My Pi Carputer in my truck.

A link to his github source.

Another project with OBD and GPS: OBD GPS Logger

Software written for the above that simulates OBD: OBDSim

I have a feeling that if I don't start working on this soon there wont be anything left to develop.

  • Please only use links as an additional resource, not your main one. We need you to describe what those links say. – xxmbabanexx Apr 5 '13 at 2:50
  • Wow! Thanks! I'm gonna check these out! Looks like promising info to build upon. – Thomas Apr 5 '13 at 3:46
  • 1
    @xxmbabanexx Added a description of link content and a bit more info. – Sparafusile Apr 5 '13 at 12:03
  • Much better. This is an awesome answer. – xxmbabanexx Apr 5 '13 at 17:20
4

You might find this project interesting: My Raspberry Pi Project - OBD2 Data Recorder. A guy has created a ODB2 data logger for his motorbike using a Raspberry Pi.

He includes links to github where you can find the source code as well as detail about the USB -> OBD2 interface he used.

There is also a pair of guys in the process of creating an OBD2 logging app using a Raspberry Pi, check out their blog: Pimyride with David and Alan.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.