All Projects → pires → Android Obd Reader

pires / Android Obd Reader

Licence: apache-2.0
Android OBD-II Reader application that uses pure OBD-II PID's Java API.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android Obd Reader

uracer-kotd
A GLES2 top-down racer, built on top of libgdx and Box2D.
Stars: ✭ 95 (-87.14%)
Mutual labels:  car
car-OCR
基于机器学习和OCR的车牌识别系统 @fujunhao
Stars: ✭ 39 (-94.72%)
Mutual labels:  car
Carhackingtools
Install and Configure Common Car Hacking Tools.
Stars: ✭ 374 (-49.39%)
Mutual labels:  car
Nissboard
🚗 Nissan Consult/OBDII Realtime Dashboard
Stars: ✭ 20 (-97.29%)
Mutual labels:  car
cybertruckchallenge19
Android security workshop material taught during the CyberTruck Challenge 2019 (Detroit USA).
Stars: ✭ 80 (-89.17%)
Mutual labels:  car
savagewheels
🏁 2D car crashing game armageddon
Stars: ✭ 21 (-97.16%)
Mutual labels:  car
mbapipy
MercedesME platform as a Custom Component for Home Assistant.
Stars: ✭ 25 (-96.62%)
Mutual labels:  car
Assetsextractor
『Assets提取工具』是一款OSX平台上用于将Assets.car或xxx.app中打包的png图片、pdf等资源重新提取出来的开发者工具。Assets.car常见于iOS/Mac/Unity等开发中的资源打包。
Stars: ✭ 486 (-34.24%)
Mutual labels:  car
reinforced-race
A model car learns driving along a track using reinforcement learning
Stars: ✭ 37 (-94.99%)
Mutual labels:  car
Cartool
Mac上解压Assets.car文件的小工具(支持右键解压)
Stars: ✭ 375 (-49.26%)
Mutual labels:  car
carFinderFlutter
A car finder in big parking lots app. Made with 💗 and Flutter
Stars: ✭ 19 (-97.43%)
Mutual labels:  car
self-driving-car-nd
Udacity's Self-Driving Car Nanodegree project files and notes.
Stars: ✭ 50 (-93.23%)
Mutual labels:  car
Stuntrally
The main repository containing Stunt Rally sources and game data. A 3D racing game based on VDrift and OGRE with track editor.
Stars: ✭ 314 (-57.51%)
Mutual labels:  car
RejsaCAN-ESP32
ESP32 board with CAN interface, runs on 12V power (with auto shutdown)
Stars: ✭ 88 (-88.09%)
Mutual labels:  car
Carassistant
汽车助手:消费信息的增删改查;消费记录、百分比统计表;百公里油耗曲线图,最低油耗/最高油耗信息
Stars: ✭ 414 (-43.98%)
Mutual labels:  car
RecPlate-lib
基于BP神经网络的车牌识别系统
Stars: ✭ 41 (-94.45%)
Mutual labels:  car
awesome-automotive-can-id
🚜 unpretentious attempt to collect CAN IDs and payloads for various car brands/models in one place.
Stars: ✭ 104 (-85.93%)
Mutual labels:  car
Obd Java Api
OBD-II Java API
Stars: ✭ 518 (-29.91%)
Mutual labels:  car
Vehicle detection haarcascades
Vehicle Detection by Haar Cascades with OpenCV
Stars: ✭ 445 (-39.78%)
Mutual labels:  car
Sdsandbox
This provides a sandbox simulator for training a self-driving car. This uses Unity for simulation and Python with Keras and Tensorflow for training. Recently updated to work on Python 3.4+ and Keras 2+
Stars: ✭ 369 (-50.07%)
Mutual labels:  car

android-obd-reader

NOTICE

I am no longer involved in any way with OBD and related activities, so don't expect my feedback on issues, pull-requests and most of all, email.

I can't even remember when I first picked this project from Brice Lambi (the original author). But one thing I'm sure, it was a time my interests changed quite frequently and I'd contribute simultaneously to totally unrelated projects. But for some reason this project stuck with me the longest.

Initially, it was more of an Android hack (sorry, Brice!). With time, I've redesigned the code and split it into two: a Java API library that could run anywhere the JVM ran without concerning about which transport protocol one would use (because it just asks for one InputStream/OutputStream pair) and, after learning about Android development, a revamped Android app.

I know, the UI sucks, but I've never had the eye for UI/UX, I'll admit!

Years went by and a few contributors jumped in with amazing, smart features and fixes. To those fine people, Thank you! This is your baby, too.

Now, it's time to say goodbye. Pires

CircleCI

Android OBD-II reader designed to connect with Bluetooth Elm327 OBD reader.

screenshot

The latest release can be found here.

Prerequisites

  • JDK 8
  • Android Studio 1.5.x or newer
  • Android SDK (API 22, Build tools 23.0.1)
  • OBD Java API (already included)

Test with device

Be sure to have the device connected to your computer.

cd whatever_directory_you_cloned_this_repository
gradle clean build installDebug

Test with OBD Server

If you want to upload data to a server, for now, check the following:

  • OBD Server - a simple implementation of a RESTful app, compiled into a runnable JAR.
  • Enable the upload functionality in preferences
  • Set proper endpoint address and port in preferences.

Troubleshooting

As @dembol noted:

Have you checked your ELM327 adapter with Torque or Scanmaster to see if it works with your car? Maybe the problem is with your device?

Popular OBD diagnostic tools reset state and disable echo, spaces etc before protocol selection. Download some elm327 terminal for android and try following commands in order:

ATD
ATZ
AT E0
AT L0
AT S0
AT H0
AT SP 0

One may need to turn off echo and headers depending on the dongle in use:

AT E0 - Turn echo off. Characters sent to ElmScan are not retransmitted back to the host computer.
AT E1 - Turn echo on. This is the default state, characters are echoed back to the host computer.
AT H0 - Turn headers off. This is the default state, header information and CRC byte are omitted.
AT H1 - Turn headers on. Header information and CRC byte are displayed.

Building with custom obd-java-api

This project depends on a pure-Java OBD library. For testing with a custom version of it, do the following:

  • Clone obd-java-api it into your project folder:
git clone https://github.com/pires/obd-java-api.git
  • Create obd-java-api/build.gradle with the following content:
apply plugin: 'java'
  • Edit main build.gradle and change:
compile 'com.github.pires:obd-java-api:1.0-RC14'`

to

compile project(':obd-java-api')
  • Edit settings.gradle and add:
include ':obd-java-api'

Tested on

  • Samsung Galaxy Nexus (Android 4.4.1)
  • LG Nexus 5 (Android 6.0 Preview 3)
  • Nexus 7 2013 WiFi (Android 4.4.4)
  • Samsung Galaxy S4 Active I9295 (Android 5.0.2)
  • Samsung Galaxy S6 Edge SM-925F (Android 5.0.2)
  • Samsung Galaxy Note 3
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].