Gauge Doesn't Match ADC

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
jammy86
Helpful MS/Extra'er
Posts: 81
Joined: Tue Sep 09, 2008 7:26 pm
Location: Wiltshire, UK

Gauge Doesn't Match ADC

Post by jammy86 »

I've just updated the cal on my MS1 extra with new CTS and IAT values and I've copied the .inc files to the TS inc folder. From what I can tell the temperature is reading as per the calibration using the jstim, ie. 5k = 78degC. However in TS the gauges stops increasing in value above 102 but the ADC continues to change so the hardware is registering the resistance of the pot and transmitting this correctly. Max ADC value that = 102 is ~120 for the CTS and ~20 for the IAT. I've tried both a digit displaying gauge and needle type, both have the same problem.

Any ideas what is causing this and how it can be resolved? I suspect it's something to do with the new inc files..

TIA.
jammy86
Helpful MS/Extra'er
Posts: 81
Joined: Tue Sep 09, 2008 7:26 pm
Location: Wiltshire, UK

Re: Gauge Doesn't Match ADC

Post by jammy86 »

See the attached file. The second column goes to 255T at the same ADC value as the problem occurring.
jammy86
Helpful MS/Extra'er
Posts: 81
Joined: Tue Sep 09, 2008 7:26 pm
Location: Wiltshire, UK

Re: Gauge Doesn't Match ADC

Post by jammy86 »

No one? :(
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Gauge Doesn't Match ADC

Post by LT401Vette »

The second column goes to 255T at the same ADC value as the problem occurring.
That is the issue... The column that goes to 255 is the column TS uses for the lookup. It looks like EasyTherm was using a byte for that column and railed it out at 215°F. (255-40)
You need an inc file that to keep going through the rest of the sensors range.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
jammy86
Helpful MS/Extra'er
Posts: 81
Joined: Tue Sep 09, 2008 7:26 pm
Location: Wiltshire, UK

Re: Gauge Doesn't Match ADC

Post by jammy86 »

Thanks for the response. Does the range extend beyond 255 normally? Would this be a limitation of easytherm? I can work out what temperatures should give what value of ADC, can I just modify the file by hand so that one column is ADC and the other is temperature in degF?
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Gauge Doesn't Match ADC

Post by LT401Vette »

jammy86 wrote:Thanks for the response. Does the range extend beyond 255 normally? Would this be a limitation of easytherm?
Yes there is a problem in that file..
when looking at the values in the inc file:

Code: Select all

	DB	255T	;   114    214.78
	DB	254T	;   115    214.08
it is the 255T, 254T, etc that are important. They should represent the temperature in F + 40 degrees.
So it should not stop at 255. The real value is listed all the way to the right. By adding 40 to that and rounding it to an integer, it should work.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
jammy86
Helpful MS/Extra'er
Posts: 81
Joined: Tue Sep 09, 2008 7:26 pm
Location: Wiltshire, UK

Re: Gauge Doesn't Match ADC

Post by jammy86 »

Sorted. A thousand Internets to you good sir. Thank you for your help.
Post Reply