3.5 JS4 and JS5 custom sensor inputs?

This is a forum for discussing the development and testing of alpha MS2/Extra code. Documentation
(Runs on MS2 and Microsquirt)

Moderators: jsmcortina, muythaibxr

Post Reply
MS2tester
Master MS/Extra'er
Posts: 606
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands
Contact:

3.5 JS4 and JS5 custom sensor inputs?

Post by MS2tester »

will the new code version be able to assign custom sensor curve,s to JS4 and JS5
the same as the air ,coolant temp now?
i sort of anticipated :)
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: 3.5 JS4 and JS5 custom sensor inputs?

Post by jsmcortina »

Nope. Why did you anticipate that?

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
MS2tester
Master MS/Extra'er
Posts: 606
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands
Contact:

Re: 3.5 JS4 and JS5 custom sensor inputs?

Post by MS2tester »

wel since you can already do an ADC count
i thought it would be a small step to sensor curves
maybe people want to log oil pressure, oil temperatuur , fuel pressure would be my favorite 8)
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: 3.5 JS4 and JS5 custom sensor inputs?

Post by racingmini_mtl »

But you can add a custom.ini in your TunerStudio project and put the calibration in there. You need to either put a mathematical equation there or use a file with the calibration table. And you need to use the correct ini file format.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
MS2tester
Master MS/Extra'er
Posts: 606
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands
Contact:

Re: 3.5 JS4 and JS5 custom sensor inputs?

Post by MS2tester »

can you give an example or a post with an example?
Matt Cramer
Super MS/Extra'er
Posts: 17507
Joined: Thu Apr 16, 2009 8:08 pm

Re: 3.5 JS4 and JS5 custom sensor inputs?

Post by Matt Cramer »

MS2tester wrote:can you give an example or a post with an example?
This was referenced in the old MS2 web manuals:

http://www.msextra.com/doc/ms2extra/MS2 ... m#addgauge

I have not found a matching section in the new documentation.
Matt Cramer -1966 Dodge Dart slant six running on MS3X
MS2tester
Master MS/Extra'er
Posts: 606
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands
Contact:

Re: 3.5 JS4 and JS5 custom sensor inputs?

Post by MS2tester »

well that,s definitely something to try out :RTFM:
but you would want a NTC sensor with a linear curve or close to it
also hope shadow dash is gonna pick up on this with a custom .ini

that,s one of the main reasons i you would want as many configurable inputs as possible of the V3 board itself
since shadow dash can,t display/log the CAN data of the MS2
or is this fixed already?
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: 3.5 JS4 and JS5 custom sensor inputs?

Post by racingmini_mtl »

As I said, you can use a file for your calibration if you have a non-linear sensor. So instead of the linear equation, you put something like this in your ini file:

yourTemp = { table( adx, "yourcalibration.inc") }

There are examples of the inc file format in the TunerStudio directory. Or ask Phil on the TS forum.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
MS2tester
Master MS/Extra'er
Posts: 606
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands
Contact:

Re: 3.5 JS4 and JS5 custom sensor inputs?

Post by MS2tester »

ok not what i would call easy
but it,s doable :yeah!:

will see if i can figure out the .INC stuff :RTFM:
MS2tester
Master MS/Extra'er
Posts: 606
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands
Contact:

Re: 3.5 JS4 and JS5 custom sensor inputs?

Post by MS2tester »

with a lot of help from phil it,s sorted now

http://www.msextra.com/forums/viewtopic ... 82#p429182
MS2tester
Master MS/Extra'er
Posts: 606
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands
Contact:

Re: 3.5 JS4 and JS5 custom sensor inputs?

Post by MS2tester »

also added the pressure sensor now
as these would be the 2 main sensors
custom.ini in projectCfg map of project
custom .INC in inc map of project
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: 3.5 JS4 and JS5 custom sensor inputs?

Post by jsmcortina »

Thanks for posting that PDF. The manual page you presented an extract from is very outdated and not wholly accurate, I've already started working on an updated version for the current manuals and am aiming to have that done within a few days.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
MS2tester
Master MS/Extra'er
Posts: 606
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands
Contact:

Re: 3.5 JS4 and JS5 custom sensor inputs?

Post by MS2tester »

i hope that,s going to include the easy way of making a custom .INC :D

maybe it,s also an idea to have the custom.ini already included when you set up new project
with text calculus examples as to get an idea how it works with links to the setup manual page number :RTFM:
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: 3.5 JS4 and JS5 custom sensor inputs?

Post by jsmcortina »

MS2tester wrote:i hope that,s going to include the easy way of making a custom .INC :D

maybe it,s also an idea to have the custom.ini already included when you set up new project
with text calculus examples as to get an idea how it works with links to the setup manual page number :RTFM:
That's a good idea and would be worth posting in the TunerStudio sub-forum.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Post Reply