Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 2, 2022. It is now read-only.
/ java-cardiag Public archive

ELM327+OBDII car diagnostic completely written in Java

Notifications You must be signed in to change notification settings

dmatej/java-cardiag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

51 Commits

Repository files navigation

java-cardiag

Description

Car diagnostic software for vehicles with OBD2 compatible interface.

Example

  • now we can run two actions. Program looks for serial interfaces and lets the user to select one. Then it runs the action.
  • report creates a text file in the current directory containing all implemented values.
  • clear_trouble_codes erases the saved errors.
sudo java -jar ./java-cardiag-0.0.1-SNAPSHOT-jar-with-dependencies.jar report;
sudo java -jar ./java-cardiag-0.0.1-SNAPSHOT-jar-with-dependencies.jar CLEAR_TROUBLE_CODES;

Targets

  • support for most of today's operating systems
  • communication via USB ELM327/OBD2 car interface, probably other in future
  • stability
  • simple startup, no system modifications needed (only JRE6 and higher)
  • pretty maintainable code covered by tests, both unit (without real serial interface) and integration (with interface and car)
  • open source free code

Problems

  • how
  • only available hardware for testing - ELM327 clone (1.5a)
  • only few available cars for testing - Lada Kalina 1.6 8V 2007, Skoda Fabia 2010, Ford Focus 2007, Seat Ibiza 2001.
  • need help with a selection of the license ... GNU GPL v3? EPL? BSD? MIT?

Troubleshooting

Port name - /dev/ttyUSB0; Method name - openPort(); Exception type - Permission denied. (Linux)

  • sudo gpasswd --add ${USER} dialout
  • or run the program with sudo.

Current stage

  • early development.
  • can reset error codes
  • can produce a report file with the current values
  • version 0.0.1 will be released after I will fix my problem with my car (P300, P303, P304) ... or later, in 2017 ;)
  • if someone will start implementing GUI, many people will be finally happy ;)

Useful links

Maybe useful links

These libraries were not selected due to license or incompatibilities or other reason:

About

ELM327+OBDII car diagnostic completely written in Java

Topics

Resources

Readme

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages