Quantify My Ride
Release status: experimental [box doku]
|Description||Data dathering (not-so) black box for you car.|
Quanitfy your car. There's a lot of data being collected automatically in modern cars already, and the plan is to gather that data, and make it useful (maybe).
OBD stands for On-Board diagnostics . It should allow us to gather a lot of information via a standarized format, called OBD-2, or EOBD (the European equivalent). There are OBD-2 connectors in most modern cars, and adapters for bluetooth or USB readily available.
I have a OBD-2 bluetooth adapter, and a OBD-2 USB cable now. Both work, but I use the USB cable because it's easier to connect.
List of OBD PIDs  has all possible values we could get from the car, not all are implemented in all cars though.
With a GPS receiver, we can link the data we gather to a specific location.
Add a camera?
- Raspberry Pi
- OBD-2 adapter (bluetooth? USB?)
- Wifi -> upload data, via tethering or when at home near to a known access point
- GPS adapter
- Cheap GPS from miniPCI cards 
- blink(1) or RZLblink as status LED
- WebCam as Dashcam ?
- Powersupply ???
- Old netbook
- Car power supply
- OBD-2 USB cable
I forked pyobdlib by markembling, fixed some stuff, and then wrote a logger around it (not yet on github) that spits out a CSV file with some of the more interesting values (for my car).
- First real test when driving from Munich to Stuttgart. Gathered some data. Used Rev.1 Hardware and simple csv logger. Logger broke down during a short stop when the motor was turned of. Was an issue with pyobdlib. Should be fixable. GPS should be one of the next priorities.
- How to interface with your car’s ECU through OBD2 and Python
- OBD2-Scantool (Python project for OBD on GitHub)
- Raspberry Pi Car PC Project Part 1Part 2
- Raspberry Pi Car Computer
- Power Supply
- OpenXC - OBD2-Project by Ford  
- Automatic 
- OBD Pi
- EnviroCar (Wiki page with more info on OBD commands and calculations)