Home Forums Articles How To's FAQ Register
Go Back   Xoutpost.com > BMW SAV Forums > X5 (E53) Forum
Fluid Motor Union
User Name
Password
Member List Premier Membership Search Today's Posts Mark Forums Read

Xoutpost server transfer and maintenance is occurring....
Xoutpost is currently undergoing a planned server migration.... stay tuned for new developments.... sincerely, the management


Reply
 
LinkBack Thread Tools Display Modes
  #51  
Old 12-22-2018, 07:59 PM
Member
 
Join Date: Nov 2014
Location: SF Bay Area
Posts: 1,423
oldskewel is on a distinguished road
Quote:
Originally Posted by Overboost View Post
...The first hex byte of a line represents the number of data bytes to follow in that line and the last byte is a simple checksum. You aren't changing either of those.
Pardon my ignorance here. Just trying to learn, and am interested in this...

How can it be that you are not changing the checksum when you change other values. I thought maybe if the multiple changes were symmetric they might offset and the checksum would remain unchanged, but that does not appear to be the case with the new temperatures you chose. What obvious feature am I not understanding? Thanks.
__________________
2001 X5 3.0i, 203k miles, AT, owned since 2014
Reply With Quote

Sponsored Links

  #52  
Old 12-22-2018, 08:08 PM
andrewwynn's Avatar
Member
 
Join Date: Jun 2015
Location: Racine, WI
Posts: 10,817
andrewwynn will become famous soon enough
I was thinking the same thing. Once you know the Ω value at a few values you can tweak the apparent resistance with either series or parallel to offset the temp to have the light come on at any temp you want.
__________________
2011 E70 • N55 (me)
2012 E70 • N63 (wife)
Reply With Quote
  #53  
Old 12-22-2018, 08:50 PM
Overboost's Avatar
Member
 
Join Date: Apr 2006
Location: Huntersville, NC
Posts: 3,266
Overboost is on a distinguished road
Quote:
Originally Posted by oldskewel View Post
Pardon my ignorance here. Just trying to learn, and am interested in this...

How can it be that you are not changing the checksum when you change other values. I thought maybe if the multiple changes were symmetric they might offset and the checksum would remain unchanged, but that does not appear to be the case with the new temperatures you chose. What obvious feature am I not understanding? Thanks.
We aren't changing any of the arrangement of the bytes in the lines of code, just the temperature values the angles of the gauge uses. We are simply changing the hexadecimal values that relate to temperature according to the gauge angle. The first byte dictates how many bytes in the line. The second byte is the first angle of the gauge, the third byte is the temp value for the first angle, the 4th byte is the second angle, the 5th is that temp value displayed on the second angle, etc.

So for 15ºC and below, the gauge is at the bottom. From 15ºC - 50ºC, it moves from ø0º to 31º; from 50 to 75ºC, it moves towards ø90º. From 75º-115ºC it stays at that angle. From 115 to 124ºC it gets to ø148º, and then 125ºC onward it jumps to ø164º.

15ºC - ø0; 60ºC - ø31; 85ºC - ø90; 95ºC - ø90; 110ºC - ø148; 115ºC - ø164

The 22 page thread I posted from E46F is a good read that explains everything in detail.
Reply With Quote
  #54  
Old 12-22-2018, 10:13 PM
Member
 
Join Date: Nov 2014
Location: SF Bay Area
Posts: 1,423
oldskewel is on a distinguished road
Quote:
Originally Posted by Overboost View Post
... We are simply changing the hexadecimal values ...
Yes, so that's my basic dumb question ... if you change one of the hex values, isn't that something that the checksum checks? And if so, wouldn't the checksum value for that line change? Handled automatically somehow?

No doubts about the needle angles and old vs. new temperatures you want programmed in there. Just the checksum thing does not make sense to me.

I had thought that maybe if the changed parameters were all symmetric changes, so some went up by the same amount that others went down, the required checksum changes might self-cancel. But it does not look like that is the case with the numbers here.
__________________
2001 X5 3.0i, 203k miles, AT, owned since 2014
Reply With Quote
  #55  
Old 12-23-2018, 12:53 AM
Member
 
Join Date: Mar 2016
Location: Saskatchewan Canada
Posts: 2,053
80stech is on a distinguished road
In this case there is enough eeprom space to keep a duplicate line of the code so there is no checksum needed.
__________________
1988 325is (purchased new) sold
2004 X5 3.0 2005 X3 2.5
2008 X5 3.0 (new to me)
Reply With Quote
  #56  
Old 12-23-2018, 03:45 AM
wpoll's Avatar
Member
 
Join Date: Sep 2015
Location: South Island, New Zealand
Posts: 4,659
wpoll will become famous soon enough
Quote:
Originally Posted by 80stech View Post
In this case there is enough eeprom space to keep a duplicate line of the code so there is no checksum needed.
I'm finding they do the same thing in the motorcycle dash EEPROMs - duplicate the code to remove the requirement for a checksum.

I guess storage is cheaper that CPU cycles.
__________________
Wayne
2005 BMW X5 3.0d (b 02/05)
2001 BMW F650GS Dakar (b 06/01)
Reply With Quote
  #57  
Old 12-23-2018, 12:41 PM
Member
 
Join Date: Mar 2016
Location: Saskatchewan Canada
Posts: 2,053
80stech is on a distinguished road
Quote:
Originally Posted by andrewwynn View Post
I was thinking the same thing. Once you know the Ω value at a few values you can tweak the apparent resistance with either series or parallel to offset the temp to have the light come on at any temp you want.
No, first of all the 1/2 of the temp sender that works the light appears to be an old skewel normally closed switch, so can't really do much to change that other than maybe use a different sender. The wiring diagram for the temp sender shows both sides the same and NTC resistors internally but I think that is misleading and from what I can tell. I am going to double check that though. So what I am trying to do is read the temp from the DME side and turn the light on with that.
__________________
1988 325is (purchased new) sold
2004 X5 3.0 2005 X3 2.5
2008 X5 3.0 (new to me)
Reply With Quote
  #58  
Old 12-23-2018, 02:29 PM
Member
 
Join Date: Nov 2014
Location: SF Bay Area
Posts: 1,423
oldskewel is on a distinguished road
Quote:
Originally Posted by 80stech View Post
In this case there is enough eeprom space to keep a duplicate line of the code so there is no checksum needed.
Thanks, I figured it was something like that.
__________________
2001 X5 3.0i, 203k miles, AT, owned since 2014
Reply With Quote
  #59  
Old 12-23-2018, 09:54 PM
Member
 
Join Date: Mar 2016
Location: Saskatchewan Canada
Posts: 2,053
80stech is on a distinguished road
OK, I actually got into the harness(and put a new battery in my multimeter) and did some more serious testing and I was wrong about the wiring diagram being wrong! Sorry guys, but might be good news. The light side of the sending unit appears to be indeed a NTC resistor although with a completely different resistance value than the DME side. So might be entirely possible to tweak it as Andrewwynn suggested. Will keep you guys posted.
__________________
1988 325is (purchased new) sold
2004 X5 3.0 2005 X3 2.5
2008 X5 3.0 (new to me)

Last edited by 80stech; 12-23-2018 at 10:06 PM.
Reply With Quote
  #60  
Old 12-24-2018, 01:56 AM
Member
 
Join Date: Mar 2016
Location: Saskatchewan Canada
Posts: 2,053
80stech is on a distinguished road
I did a fair bit more investigating and there is definitely more going on here than I thought! Anybody dig into the temp light before, or am I in uncharted territory? Either way I am up for the challenge but if anybody can add some knowledge I would not complain! As it sits now I think there is some information sharing going on between DME, the dash, and both parts of the sending unit(or maybe I blew something in the dash) so planning on looking in that direction next.
__________________
1988 325is (purchased new) sold
2004 X5 3.0 2005 X3 2.5
2008 X5 3.0 (new to me)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 12:58 PM.
vBulletin, Copyright 2024, Jelsoft Enterprises Ltd. SEO by vBSEO 3.6.0
© 2017 Xoutpost.com. All rights reserved. Xoutpost.com is a private enthusiast site not associated with BMW AG.
The BMW name, marks, M stripe logo, and Roundel logo as well as X3, X5 and X6 designations used in the pages of this Web Site are the property of BMW AG.
This web site is not sponsored or affiliated in any way with BMW AG or any of its subsidiaries.