Rainbow module for Audi: Difference between revisions
Jump to navigation
Jump to search
| Line 33: | Line 33: | ||
=== Mapping from <code>kW</code> and <code>Nm</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 | 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 == | == Reference == | ||
Revision as of 09:02, 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 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