/TD5Tester

Land Rover TD5 engine diagnostic tool

Primary LanguageJavaApache License 2.0Apache-2.0

TD5Tester

THEKIT

A simple Android app to communicate with the Land Rover TD5 engine ECU.

To use this you will need a VAG COM KKL usb -> OBD2 cable that uses an FTDI chip.

Developed with Android Studio.

Screenshots

CONNECT DASHBOARD TEMPERATURE

Viewing the log and CSV files

I use the Log Viewer app from here https://play.google.com/store/apps/details?id=com.apptiva.logviewer&hl=en_GB to view the log files. The app will write up to 30 log files up to 256kB in size (any larger and the log viewer struggles to load them).

A CSV file is started each time the Dashboard feature is started.

The CSV file contains the raw data values in the units reported by the ECU, the field order is:

Column Units Conversion
EngineRpm RPM raw_value
BatteryVoltage Volts raw_value / 1000
VehicleSpeed MPH raw_value * 0.621371)
CoolantTemperature deg C (raw_value - 2732) / 10)
ExternalTemperature deg C (raw_value - 2732) / 10)
InletTemperature deg C (raw_value - 2732) / 10)
FuelTemperature deg C (raw_value - 2732) / 10)
AcceleratorTrack1 Volts raw_value / 1000
AcceleratorTrack2 Volts raw_value / 1000
AcceleratorTrack3 % raw_value / 100
AcceleratorSupply Volts raw_value / 1000
AmbientPressure kPa raw_value / 100
ManifoldAirPressure kPa raw_value / 100
ManifoldAirFlow kg/h raw_value / 10
Driver Demand mg/stroke raw_value / 100
MAF Air mass? mg/stroke raw_value / 10
MAP Air mass? mg/stroke raw_value / 10
Injection quantity mg/stroke raw_value / 100
FuelDemand5 ? raw_value / 100
Torque limit? mg/stroke raw_value / 100
Smoke limit? mg/stroke raw_value / 100
Idle demand? mg/stroke raw_value / 100

LOGVIEWER

Graphs

These graphs were created using the CSV file that is saved whilst the dashboard feature is running. The graphs were created using Google Sheets.

MAPMAF Vs RPM RPM Vs SPEED RPM Vs MAF RPM Vs IQ DEMAND Vs IQ

TODO

  • Add display of injector config after logged faults
  • Add display of MAP_VARIANT info
  • Add WGM_DUTY_RATIO and EGR_MODULE to CSV file
  • Add another screen to loop and show GET_INPUTS PID data, e.g. array of indicators that illuminate when input active (brake pedal pressed, cruise control, etc.)
  • Add a Menu for:
    • Preferences: logging level, csv file on|off, GPS on|off
    • Download engine MAP
  • Add a screen of buttons for the various test functions ( test A/C clutch, test MIL lamp, etc.)
  • Implement the KEEP_ALIVE PID so connection is kept active whilst no other PIDS are being sent
  • Add GPS coords to CSV logging
  • Write some instructions and explain the buttons / screens

Purchases

Credits

Much of the above would not have been possible without the research done by the people below: