User Tools

Site Tools


obd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
obd [2023/11/29 12:14] – [Connectors and Hardware] kalaschnikowobd [2026/08/07 05:50] (current) – [Misc Links] kalaschnikow
Line 1: Line 1:
 +====== OBD-II ======
 +
 +On-Board-Diagnostics (a.k.a. OBD2)
 +
 +===== Protocols =====
 +
 +ISO 15765 CAN - mandatory in US vehicle from 2008, EU - maybe from 2003\\ 
 +SAE J1850 PWM - Ford vehicles (PWM - Pulse Width Modulation)\\ 
 +SAE J1850 VPW - GM vehicles (VPW - Variable Pulse Width)\\ 
 +ISO 14230 KWP2000 - Chrysler, EU, Asian vehicles (KWP - Keyword Protocol 2000)\\ 
 +ISO 9141-2 - Chrysler, EU, Asian vehicles\\ 
 +
 +[[https://learn.sparkfun.com/tutorials/getting-started-with-obd-ii|Getting started with OBD-II]]
 +
 +
 +===== Simulators =====
 +
 +  * [[https://icculus.org/obdgpslogger/obdsim.html|OBDSim]]
 +    * https://stackoverflow.com/questions/25720469/connect-obdsim-to-torqueandroid-app-ubuntu
 +      * Can be also useful:
 +        * https://raspberrypi.stackexchange.com/questions/41776/failed-to-connect-to-sdp-server-on-ffffff000000-no-such-file-or-directory
 +    * https://stackoverflow.com/questions/25803595/obdsim-invalid-option-b
 +    * https://stackoverflow.com/users/3216511/gary-b -> developer Gary B
 +    * https://acassis.wordpress.com/2014/04/03/getting-started-to-obd-ii-using-obdsim/
 +    * https://stackoverflow.com/questions/26200772/obdsim-connection-with-android-device-over-bluetooth-on-windows-8-1
 +
 +
 +
 +  * [[https://github.com/Ircama/ELM327-emulator|ELM327-emulator]]
 +    * Pros:
 +      * a little bit newer as OBDSim
 +      * has a better README
 +    * Install it (see README.md)
 +    * The commands to start ELM327-emulator in Bluetooth mode (see also "[[https://github.com/Ircama/ELM327-emulator#usage-of-bluetooth-with-unixlinux|Usage of Bluetooth with UNIX/Linux]]"):
 +<code>
 +sudo service bluetooth restart
 +sdptool add --channel=1 SP
 +rfcomm release 0 # if needed (but usually not needed)
 +sudo mknod -m 666 /dev/rfcomm0 c 216 0
 +sudo chown $USER /dev/rfcomm0
 +
 +# after that start the ELM327-emulator
 +rfcomm watch /dev/rfcomm0 1 python3 -m elm -P /dev/rfcomm0 -l -s car
 +</code>
 +
 +
 +===== Connectors and Hardware =====
 +
 +[[https://www.techstage.de/ratgeber/obd-2-head-up-displays-furs-auto-ab-20-euro-im-vergleich/ql4gypt|Erstaunlich gut! Head-up-Display fürs Auto zum Nachrüsten ab 20 Euro im Vergleich]] - auch Bluetooth-Adapter wurden getestet.
 +
 +[[https://www.amazon.de/dp/B00GSVSN7C?linkCode=xm2&camp=2025&creative=165953&smid=A3TVDIAOCYO59D&creativeASIN=B00GSVSN7C&tag=geizhals-ts-mpde-21&ascsubtag=52cgPdeHIC4Fiz4ijYrLQ|Lescars OBD Adapter: OBD2-Profi-Adapter mit Bluetooth, für Android-Mobilgeräte]] - nur 12€ bei Amazon
 +
 +===== Misc Links =====
 +http://www.obd-2.de/obd-2-allgemeine-infos.html - eine sehr gute deutsche Seite
 +
 +[[https://github.com/eltonvs/kotlin-obd-api|OBD-II Kotlin API]] by [[https://eltonviana.com/|Elton Viana]]
 +
 +[[https://github.com/tzebrowski/ObdMetrics|OBD Metrics]] OBD Metrics stands out as a well-architected and adaptable framework for Java developers interested in vehicle diagnostics and telemetry.
 +
 +[[https://github.com/topics/obd|Github topic "OBD"]] - more than 80 libraries
 +
 +[[https://github.com/topics/obd2|Github topic "OBD2"]] - more than 150 libraries
 +
 +[[https://github.com/pires/obd-java-api|OBD-II Java API]] by Pires
 +
 +[[https://github.com/barnhill/AndroidOBD|Android OBD Library]] - relatively actual (latest release on October 2022)
 +
 +[[https://github.com/md-sohrab-alam/android-obd-reader|android-obd-reader]]
 +
 +
 +[[https://github.com/chan2565/obd_gui|OBD GUI for RaspberryPi]]
 +