Nitrous Bottle Heater via ECUMaster V3 Switchboard

Discussion and Support for MoTeC's M1 series ECUs

Nitrous Bottle Heater via ECUMaster V3 Switchboard

Postby Thezedhed on Sun Aug 18, 2024 11:32 pm

Hi,

I'm wanting to control the Nitrous Bottle Heater relay via an ECUMaster V3 Switchboard O/P.
I have the bottle pressure input via AV14 and a Threshold & Hysteresis working so I can see the 'Relay State' change from ON to OFF as I increase the I/P pressure.
I'm struggling with setting up the O/P message to the V3 Switchboard, do I choose a PDM ie 'Byte 0, Mask 01' or maybe an E8xx Output for the 'Relay Resource'?
Then to communicate that to the V3 Switchboard (via the C1212 Dash) do I choose ECU/Transmit/Custom/Message CAN Bus 1, but as for choosing a 'Signal' I don't see anything like a usable PDM, E8xx or even Bottle/Heater/Relay/Resource.

Any help greatly appreciated, thanks
Thezedhed
 
Posts: 21
Joined: Thu Jul 11, 2024 9:26 am

Re: Nitrous Bottle Heater via ECUMaster V3 Switchboard

Postby Stephen Dean on Mon Aug 19, 2024 5:10 pm

Hi,

Have a look at this documentation on setting up the M1 to PDM CAN messaging. This can be replicated in the Dash, or directly read by the V3.
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1685
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: Nitrous Bottle Heater via ECUMaster V3 Switchboard

Postby Thezedhed on Mon Aug 19, 2024 11:25 pm

Hi Stephen,

Thanks for the pointer, much appreciated.
I was told I had to go through the dash but I'd prefer direct control.

Might sound a daft question (I don't have a PDM), do I just enable the PDM on my chosen CAN (1,2,3), set a base ID (720h) & have the V3 Switchboard at the same Hex address, then choose a 'Bottle/Heater/Resource' ie a PDM Byte ? Mask ? that gives a value in the correct byte address to turn 'on' the relevant one of the four relays on the V3 Switchboard.
V3 OUTPUT.png
V3 OUTPUT.png (167.75 KiB) Viewed 746 times
Thezedhed
 
Posts: 21
Joined: Thu Jul 11, 2024 9:26 am

Re: Nitrous Bottle Heater via ECUMaster V3 Switchboard

Postby Stephen Dean on Tue Aug 20, 2024 10:36 am

Hi,

It's done through the ECU Transmit CAN Bus.

To transmit CAN messages to a MoTeC PDM set PDM CAN Bus to the CAN bus connected to the PDM. All selected output resources of the following kind: 'PDM Byte x Mask xx' are transmitted on ID 0x11A. In addition, the following messages are transmitted on ID 0x118:

•Byte 0 (Data size 8 bit, Mask FF, Divisor 1): Engine Speed in rpm/100. This will result in a value of e.g. 21 for an engine speed of 2100rpm.
•Byte 1 (Data size 8 bit, Mask FF, Divisor 1): Throttle Position in %.
•Byte 2 (Data size 8 bit, Mask FF, Divisor 1): Vehicle Speed in km/h.
•Byte 3 (Data size 8 bit, Mask FF, Divisor 1): Coolant Temperature in °C.
•Byte 4 (Data size 8 bit, Mask FF, Divisor 1): Engine Oil Temperature in °C.
•Byte 5 (Data size 8 bit, Mask FF, Divisor 1): Fuel Temperature in °C.
•Byte 6 (Data size 8 bit, Mask FF, Divisor 1): Transmission Temperature in °C.
•Byte 7 (Data size 8 bit, Mask FF, Divisor 1): Differential Temperature in °C.

And on ID 0x119:

•Byte 0 (Data size 8 bit, Mask FF, Divisor 1): Fuel Pressure in 10 delta-kPa. This will result in a value of e.g. 30 for a fuel pressure of 300 delta-kPa.
•Byte 2 (Data size 16 bit, Mask FF, Divisor 1): Steering Angle in 0.1°.
•Bit 32: True (1) if Engine State is Run.
•Bit 33: True (1) if Warning Source is not None.
•Bit 34: True (1) if Brake State is On.
•Bit 35: True (1) if Gear Neutral Switch is On.
•Bit 36: True (1) if Clutch Switch is On.
•Bit 37: True (1) if Clutch State is Disengaged.
•Bit 38: True (1) if Driver Pit Switch is On.
•Bit 39: True (1) if Engine Run Switch is On.
•Bit 40: True (1) if Driver Switch 1 is On.
•Bit 41: True (1) if Driver Switch 2 is On.
•Byte 6 (Data size 8 bit, Mask FF, Divisor 1): Driver Rotary Switch 1 (if the switch value is -1 a value of 255 will be transmitted).
•Byte 7 (Data size 8 bit, Mask FF, Divisor 1): Driver Rotary Switch 2 (if the switch value is -1 a value of 255 will be transmitted).
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1685
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: Nitrous Bottle Heater via ECUMaster V3 Switchboard

Postby Thezedhed on Tue Aug 20, 2024 6:21 pm

Thanks Stephen,

I missread the part about 11A can messages and thought they'd been removed, my bad.

I'll set the V3 to base address to either 0x117h (0x11Ah -3) or 0x115h (0x118h -3) seeing as for o/p control the V3 is looking for BASE ID+3

The part I'm not clear on though is the o/p control (L1 to L4) on the V3, do Bytes 0,1,2,3 just need a value in them for the V3 to to operate the desired output?
Do I set V3 base ID to be 0x115h and set the Bottle/Heater/Relay to be Byte 0,1,2,3 ie 'Engine Speed', 'Throttle Position', 'Vehicle Speed', Collant Temp' for V3 o/p's L1 to L4
Just that those O/p's will be constantly changing ie rpm

I've not go my laptop here at work so I may have remembered things slightly wrong, sorry.
Thezedhed
 
Posts: 21
Joined: Thu Jul 11, 2024 9:26 am

Re: Nitrous Bottle Heater via ECUMaster V3 Switchboard

Postby Stephen Dean on Wed Aug 21, 2024 5:34 pm

I think that it would be best to transmit the request into the C1212 and then retransmit it to the Switchboard as the message layouts are different between the two.
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1685
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: Nitrous Bottle Heater via ECUMaster V3 Switchboard

Postby Thezedhed on Wed Aug 21, 2024 6:17 pm

Stephen Dean wrote:I think that it would be best to transmit the request into the C1212 and then retransmit it to the Switchboard as the message layouts are different between the two.


Ah OK, thanks Stephen.

"This can be replicated in the Dash, or directly read by the V3." - did I missunderstand you as I thought this meant the V3 switchboard could read direct from the M150?
Thezedhed
 
Posts: 21
Joined: Thu Jul 11, 2024 9:26 am

Re: Nitrous Bottle Heater via ECUMaster V3 Switchboard

Postby Stephen Dean on Thu Aug 22, 2024 12:27 pm

It depends on how you allocate the resources that are used, but the V3 can read the M1 messages directly, but there isn't a 1:1 relationship between the transmit format and the receive format. I'd have to test it properly using the one that I have, but just doing a check of the two formats you would have some of the outputs that wouldn't be controlled as their messages would overlap.
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1685
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: Nitrous Bottle Heater via ECUMaster V3 Switchboard

Postby Thezedhed on Thu Aug 22, 2024 8:04 pm

Gotcha, thanks for the explanation Stephen.
Thezedhed
 
Posts: 21
Joined: Thu Jul 11, 2024 9:26 am


Return to M1 ECUs

Who is online

Users browsing this forum: Google [Bot] and 11 guests