It is currently Sat Sep 13, 2025 12:41 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SGII boost gauge Xgauge coding
PostPosted: Wed Mar 12, 2008 10:05 pm 
Offline
Lifetime Member
Lifetime Member

Joined: Mon Feb 18, 2008 11:51 pm
Posts: 151
Location: Palm City, FL
*Sorry if this is already posted somewhere but I didn't find it with search*

The following is cut and pasted from a post on another forum. I have done this to the SGIIs in my VW and CRD. I used the mean yearly atmospheric pressure for my county. In the VW, the SGII boost now reads within 0.1psi of my boost gauge. In the CRD the SGII boost seems accurate because it runs ~15psi below MAP. So I think it works. Here is the post with coding:

With help from CarlD and 2way on the cleanmpg forums I now have an XGauge that comes close to showing the gauge pressure of the MAP (turbo boost) instead of the absolute pressure (atmosphere plus boost). The coding is as follows:

TXD: 68 6A F1 01 0B
RXF: 04 41 85 0B 00 00
RXD: 28 08
MTH: 00 91 00 64 FF 71

This will get the absolute MAP pressure, convert it to PSI, and subtract a constant, which in my case is the average atmospheric pressure in Brandon. Subtracting the average atmospheric pressure gives a close idea of how much boost the turbo is making. If a drive has large changes in elevation or pressure the gauge can be out by a few PSI.

The last four characters in the MTH field are an addition. To subtract, you must add the 2's complement of the number you wish to subtract. In this case, the result is being divided by 10, so the number being subtracted must also be multiplied by 10. For example:
I want to subtract 14.3 PSI. 14.3 * 10 = 143 = 008F in hex. 2's complement of 008F is FF71. The last 4 characters in the MTH field are therefore FF71 in my case.

Of course, pressure varies with elevation so you may need to subtract a different value. Here are the 2's complement representations of common values for pressure:
12.0 -- FF88
12.1 -- FF87
12.2 -- FF86
12.3 -- FF85
12.4 -- FF84
12.5 -- FF83
12.6 -- FF82
12.7 -- FF81
12.8 -- FF80
12.9 -- FF7F
13.0 -- FF7E
13.1 -- FF7D
13.2 -- FF7C
13.3 -- FF7B
13.4 -- FF7A
13.5 -- FF79
13.6 -- FF78
13.7 -- FF77
13.8 -- FF76
13.9 -- FF75
14.0 -- FF74
14.1 -- FF73
14.2 -- FF72
14.3 -- FF71
14.4 -- FF70
14.5 -- FF6F
14.6 -- FF6E
14.7 -- FF6D
14.8 -- FF6C
14.9 -- FF6B
15.0 -- FF6A

source: http://forums.tdiclub.com/showpost.php? ... ostcount=1

_________________
2005 CRD rolled August 2009


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 13, 2008 12:15 am 
Offline
Lifetime Member
Lifetime Member
User avatar

Joined: Sat Jun 23, 2007 1:41 am
Posts: 396
Location: Tucson Arizona
Thanks for posting this.

I guess that I have always been happy with absolute pressure displayed. I do a lot of elevation change, so I would rather have the actual pressure displayed rather than a erroneous, biased value.

Plus... the MAP gives me local atmospheric pressure when the engine is at idle ! and this could be used as an altimeter!

hey... we can write Xgauge code to display the altitude (only correct at idle)... ya, right. :roll:

_________________
----------------------------------------------------------------------
06 CRD LTD - Suncoast TC- Shift Kit - Spicer UJ - FRKNLIFT - F37 - Magnaflow - 22.0 City - 24@65MPH - Fumoto F-102 - AUX T Cooler - Tank Lift Pump


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group. Color scheme by ColorizeIt!
Logo by pixeldecals.com