Difference between revisions of "VW Golf (1K) Rain/Light Sensor"

From Ross-Tech Wiki
 
 
Line 12: Line 12:
 
* '''''Notes'''''
 
* '''''Notes'''''
 
** If a coding needs to be altered, it has to be converted from decimal (dec) to hexadecimal (hex).
 
** If a coding needs to be altered, it has to be converted from decimal (dec) to hexadecimal (hex).
** Bytes and Bits are counted from right to left, starting by 0.
+
** Bytes are counted from right to left, starting with 0.  This is backwards from what you may be used to from editing Long Codings.
 +
** Bits are counted from right to left, starting with 0.
 
** Once converted to hex each byte has to be converted to decimal seperately.
 
** Once converted to hex each byte has to be converted to decimal seperately.
 
** Byte 02 coding is the sum of the individual options.
 
** Byte 02 coding is the sum of the individual options.

Latest revision as of 09:53, 12 June 2006

Coding

  • Byte 00: Rain Sensor Correction (Infrared Transperency at 880nm)
  • Byte 01: Light Sensor Correction (Transperency)
  • Byte 02: Options
    • +1 = Highway Light
    • +2 = Rain Light
    • +4 = Rain Closing


  • Notes
    • If a coding needs to be altered, it has to be converted from decimal (dec) to hexadecimal (hex).
    • Bytes are counted from right to left, starting with 0. This is backwards from what you may be used to from editing Long Codings.
    • Bits are counted from right to left, starting with 0.
    • Once converted to hex each byte has to be converted to decimal seperately.
    • Byte 02 coding is the sum of the individual options.
  • Example
    • Coding is "00217165" (dec) = "03504D" (hex)
    • Byte 00 = 4D (hex) = 77 (dec) = Rain Sensor Correction value is 77%
    • Byte 01 = 50 (hex) = 80 (dec) = Light Sensor Correction value is 80%
    • Byte 02 = 03 (hex) = 03 (dec) = 01+02 = Options 01 (Highway Light) and 02 (Rain Light) set