Archive:Quantify My Ride: Difference between revisions

From The Munich Maker Lab's Wiki
Jump to navigation Jump to search
m (link fuckup)
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
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).
{{project
|name        = Quantified Car
|status      = experimental
|image      =
|description = Data dathering (not-so) black box for you car.
|author      = [[User:Tiefpunkt|tiefpunkt]]
|username    =
|version    =
|update      =
|platform    =
|license    =
|download    =
}}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).


== Data Sources ==
== Data Sources ==
Line 5: Line 17:
OBD stands for On-Board diagnostics [http://en.wikipedia.org/wiki/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.
OBD stands for On-Board diagnostics [http://en.wikipedia.org/wiki/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 ordered a [http://www.ebay.de/itm/-/261257366751 OBD-2 Bluetooth Adapter] on ebay, so we'll wee how well this works.
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 [https://en.wikipedia.org/wiki/OBD-II_PIDs] has all possible values we could get from the car, not all are implemented in all cars though.


=== GPS ===
=== GPS ===
Line 14: Line 28:


== Hardware ==
== Hardware ==
=== Planning ===
* Raspberry Pi
* Raspberry Pi
* OBD-2 adapter (bluetooth? USB?)
* OBD-2 adapter (bluetooth? USB?)
* Wifi -> upload data, via tethering or when at home near to a known access point
* Wifi -> upload data, via tethering or when at home near to a known access point
* GPS adapter
* GPS adapter
** Cheap GPS from miniPCI cards [http://emerythacks.blogspot.de/2013/01/u-blox-pci-5s-cheap-gps-module-for-your.html]
* blink(1) or RZLblink as status LED
* blink(1) or RZLblink as status LED
* WebCam as Dashcam ?
* WebCam as Dashcam ?
* Powersupply ???
* Powersupply ???


=== Rev. 1 ===
* Old netbook
* Car power supply
* OBD-2 USB cable
== Software ==
I forked [https://github.com/markembling/pyobdlib 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).
== Logbook ==
;02.09.2013
:First real test when driving from Munich to Stuttgart. Gathered some data[http://data.tiefpunkt.com]. 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.
== Links ==
* [http://blog.brianhemeryck.me/how-to-interface-with-your-cars-ecu-through-obd2-and-python/ How to interface with your car’s ECU through OBD2 and Python]
* [https://github.com/AustinMurphy/OBD2-Scantool OBD2-Scantool] (Python project for OBD on GitHub)
* Raspberry Pi Car PC Project [http://wolframpc.blogspot.de/p/raspberry-pi-car-pc-project.html Part 1][http://wolframpc.blogspot.ca/p/raspberry-pi-carputer-page-2.html Part 2]
* [http://www.jackenhack.com/raspberry-pi-car-computer/ Raspberry Pi Car Computer]
* Power Supply
** [http://www.simbits.nl/portfolio/raspberry-pi-power-shield/ Raspberry PI Power Shield]
** [http://spellfoundry.com/products/sleepy-pi/ Sleepy Pi]
** MausBerry Car Power Supply [http://mausberrycircuits.com/ Website] [http://www.kickstarter.com/projects/1312527055/raspberry-pi-car-power-supply-ignition-switch Kickstarter]
* OpenXC - OBD2-Project by Ford [http://openxcplatform.com/overview/index.html] [http://boingboing.net/2013/08/13/boing-boing-ingenuity-a-look.html]
* Automatic [http://www.automatic.com/]
* [http://www.cowfishstudios.com/blog/obd-pi-raspberry-pi-displaying-car-diagnostics-obd-ii-data-on-an-aftermarket-head-unit OBD Pi]
* [https://envirocar.org/ EnviroCar] ([https://wiki.52north.org/bin/view/Projects/EnviroCar| Wiki page] with more info on OBD commands and calculations)
[[Category:Project]]
[[Category:Project]]

Revision as of 13:49, 13 August 2015

 
Quantified Car

Release status: experimental [box doku]

Description Data dathering (not-so) black box for you car.
Author(s)  tiefpunkt

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).

Data Sources

OBD

OBD stands for On-Board diagnostics [1]. 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 [2] has all possible values we could get from the car, not all are implemented in all cars though.

GPS

With a GPS receiver, we can link the data we gather to a specific location.

Camera

Add a camera?

Hardware

Planning

  • 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 [3]
  • blink(1) or RZLblink as status LED
  • WebCam as Dashcam ?
  • Powersupply ???

Rev. 1

  • Old netbook
  • Car power supply
  • OBD-2 USB cable

Software

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).

Logbook

02.09.2013
First real test when driving from Munich to Stuttgart. Gathered some data[4]. 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.

Links