Rainbow module for Audi: Difference between revisions

From mr-fix.info Wiki
Jump to navigation Jump to search
No edit summary
Line 32: Line 32:
  ??? ?? ?? ?? ??
  ??? ?? ?? ?? ??


=== Mapping from <code>kW</code> and <code>HP</code> ===
=== Mapping from <code>kW</code> and <code>Nm</code> ===
Both Power and Torque on the instrument cluster display are displayed as a percent. Most likely the data is provided as a value within 0 to 100 range. To map current torque and current power to percent, we need to know the peak torque value of the engine. This data is also provided by the ECU.
Both Power and Torque on the instrument cluster display are displayed as a percent. Most likely the data is provided as a value within 0 to 100 range. To map current torque and current power to percent, we need to know the peak torque value of the engine. This data is also provided by the ECU.


  # sniffed frame from the drivetrain bus
  # sniffed frame from the drivetrain bus
  ??? ?? ?? ?? ??
  ??? ?? ?? ?? ??


== Reference ==
== Reference ==

Revision as of 08:51, 18 May 2025

Additional module that injects missing data into the CAN-BUS. This will allow displaying Power and Torque values on the instrument cluster sport gauges.

Hardware

Versions

TODO

Installation

TODO

Coding & Adaptation

TODO

Reverse Engineering

Torque

Torque is provided by the ECU as an essential part of the communication between modules (ECU, Gearbox, ABS/ESP...).

# UDS request for diagnostic Bus to get current torque:
0x7e0 03 22 43 7c 00 00 00 00

# sniffed frame from the drivetrain bus
??? ?? ?? ?? ??

Power

Power is a function of Torque and RPM and it can be calculated from the two.

# UDS request for the diagnostic Bus to get current RPM
0x7e0 03 22 20 6e 00 00 00 00

# sniffed frame from the drivetrain bus
??? ?? ?? ?? ??

Mapping from kW and Nm

Both Power and Torque on the instrument cluster display are displayed as a percent. Most likely the data is provided as a value within 0 to 100 range. To map current torque and current power to percent, we need to know the peak torque value of the engine. This data is also provided by the ECU.

# sniffed frame from the drivetrain bus
??? ?? ?? ?? ??

Reference