Rainbow module for Audi

From mr-fix.info Wiki
Revision as of 09:06, 18 May 2025 by Mr-fix (talk | contribs) (Torque)
Jump to navigation Jump to search

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 power value of the engine. This data is also provided by the ECU.

BO_ 1601 Motor_Code_01: 8 Motor_Diesel_MQB
 SG_ MO_Leistung : 48|9@1+ (1,0) [0|511] "Unit_KiloWatt" Gateway_MQB

Reference