Rainbow module for Audi: Difference between revisions

From mr-fix.info Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
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 ==
== Hardware ==
=== Versions ===
=== Versions ===
Line 14: Line 16:
== Reverse Engineering ==
== Reverse Engineering ==


TODO
=== 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 <code>kW</code> and <code>HP</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.
 
# sniffed frame from the drivetrain bus
??? ?? ?? ?? ??
 


== Reference ==
== Reference ==

Revision as of 08:34, 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 HP

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