Passing on the transmission temperature to the ECU

'Microsquirt' Transmission Control development and support.

Moderators: jsmcortina, muythaibxr

Passing on the transmission temperature to the ECU

Postby Matt Cramer » Mon Oct 16, 2017 7:53 am

I've got a customer who is trying to use the transmission temperature to make his MS3 switch on a cooling fan. I've figured out that it looks like the basic steps should work like this.

1. Go to CAN Parameters, enable ADC poling, and configure the CAN ADC group 1-4.
2. Map a generic sensor input to CAN ADC2 and set it for GM temperature calibration.
3. Configure a programmable on/off output to trigger off that generic sensor input.

Where I'm stuck, though, is the exact settings for the CAN ADC group. The CAN ID would need to be 7, but I'm stumped on what table and offset to use.
Matt Cramer
Super MS/Extra'er
 
Posts: 13646
Joined: Thu Apr 16, 2009 8:08 pm

Re: Passing on the transmission temperature to the ECU

Postby jsiedlicki » Mon Oct 16, 2017 3:26 pm

I don't know what add on board you are using but I have a tinyIOX with 9 CAN ADC's and it uses Table 7, Offset 2 for ADC 1-4. Should be the same for your board.

Screenshot.png
Screenshot.png (62.42 KiB) Viewed 147 times
MS3-Pro (6 cyclinder Subaru EZ36R)
MS2-extra (8 cyclinder Ford 347 stroker)
jsiedlicki
Helpful MS/Extra'er
 
Posts: 136
Joined: Sun Jun 23, 2013 3:52 pm

Re: Passing on the transmission temperature to the ECU

Postby racingmini_mtl » Mon Oct 16, 2017 4:05 pm

Look at the ini file in the output channels section. The command gives you the table number and the offset is listed for each variable. So for the latest beta, that should be table 7 and offset 16 (adc0).

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
racingmini_mtl
Super MS/Extra'er
 
Posts: 7974
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada

Re: Passing on the transmission temperature to the ECU

Postby jsiedlicki » Mon Oct 16, 2017 4:56 pm

racingmini_mtl wrote:Look at the ini file in the output channels section. The command gives you the table number


I see where in the [OutputChannels] section the offset is found but where do you look for the table number?
MS3-Pro (6 cyclinder Subaru EZ36R)
MS2-extra (8 cyclinder Ford 347 stroker)
jsiedlicki
Helpful MS/Extra'er
 
Posts: 136
Joined: Sun Jun 23, 2013 3:52 pm

Re: Passing on the transmission temperature to the ECU

Postby racingmini_mtl » Mon Oct 16, 2017 5:28 pm

The second parameter of the read command is the table value (x07):

Code: Select all
    ochGetCommand    = "r\$tsCanId\x07%2o%2c"


Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
racingmini_mtl
Super MS/Extra'er
 
Posts: 7974
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada

Re: Passing on the transmission temperature to the ECU

Postby Matt Cramer » Tue Oct 17, 2017 6:26 am

jsiedlicki wrote:I don't know what add on board you are using but I have a tinyIOX with 9 CAN ADC's and it uses Table 7, Offset 2 for ADC 1-4. Should be the same for your board.


This was for use with the MicroSquirt transmission control.

With that firmware, do the output channels in the INI correspond to anything to do with CAN?
Matt Cramer
Super MS/Extra'er
 
Posts: 13646
Joined: Thu Apr 16, 2009 8:08 pm

Re: Passing on the transmission temperature to the ECU

Postby jsiedlicki » Tue Oct 17, 2017 7:28 am

racingmini_mtl wrote:Look at the ini file in the output channels section. The command gives you the table number and the offset is listed for each variable. So for the latest beta, that should be table 7 and offset 16 (adc0).

Jean


I believe Jean has you covered with his reply, table 7, offset 16. Let us know if it works!
MS3-Pro (6 cyclinder Subaru EZ36R)
MS2-extra (8 cyclinder Ford 347 stroker)
jsiedlicki
Helpful MS/Extra'er
 
Posts: 136
Joined: Sun Jun 23, 2013 3:52 pm


Return to Transmission Control

Who is online

Users browsing this forum: Bing [Bot] and 2 guests