CAN bus between MS3 and a PDM (Power Distribution Module)

General support questions and announcements for MS3. See also MS3 manuals.

Moderators: jsmcortina, muythaibxr

Post Reply
RallyRat
MS/Extra Newbie
Posts: 10
Joined: Sat Feb 25, 2012 12:28 pm

CAN bus between MS3 and a PDM (Power Distribution Module)

Post by RallyRat »

I'd like to connect a PDM and key pad to MS3 via CAN to minimize wiring. It looks like Motec's CAN protocol is pretty open and well documented. Has anyone gotten MS3 to communicate well with a Motec PDM? Can they do two way communication (read output currents, conditions, etc from the PDM)?

As for SmartWire, the Racepak CAN module looks like it only gets 20 set outputs from the MS3, many of which are not useful for PDM functions. It also looks like two way communication is not supported. Is there SmartWire functionality that I'm missing?

Thanks,
Will
jsmcortina
Site Admin
Posts: 39617
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: CAN bus between MS3 and a PDM (Power Distribution Module

Post by jsmcortina »

Go ahead and post links to datasheets on these products or send me a PM with them.

I think I can answer the RacePak question - their interfaces listens to Megasquirt CAN broadcasts and converts it to their proprietary VNET CAN protocol, yes it is one way.

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".
winstonusmc
Experienced MS/Extra'er
Posts: 204
Joined: Sun Jul 31, 2011 7:45 am

Re: CAN bus between MS3 and a PDM (Power Distribution Module

Post by winstonusmc »

That is one thing I wish the CAN did on Megasquirt is have flexible IDs to be able to broadcast to various OEM things. I am integrating CAN in my 240z and will us an Arduino to "translate" IDs that I want to use on OEM devices. I am using a Nissan IPDM instead, I am on a more strict budget, $20 at the JY instead of $2000+ It will be all I will need for my application.

Image
Nissan Skyline R34 RB26DETT ran MS3/MS3X w/ factory Hitachi CAS (sold)
Nissan Silvia S14 RB25DE ITB/NA ran MS3/MS3X w/ factory Mitsubishi CAS (disassembled)
Datsun 240z RB25DE ITB/NA with MS3/MS3X
jsmcortina
Site Admin
Posts: 39617
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: CAN bus between MS3 and a PDM (Power Distribution Module

Post by jsmcortina »

winstonusmc wrote: will us an Arduino to "translate" IDs that I want to use on OEM devices.
Instead of the effort of writing code on an additional device why not just customise the MS3 code - that's why the source code is available to customers.

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".
RallyRat
MS/Extra Newbie
Posts: 10
Joined: Sat Feb 25, 2012 12:28 pm

Re: CAN bus between MS3 and a PDM (Power Distribution Module

Post by RallyRat »

RallyRat
MS/Extra Newbie
Posts: 10
Joined: Sat Feb 25, 2012 12:28 pm

Re: CAN bus between MS3 and a PDM (Power Distribution Module

Post by RallyRat »

This youtube vid has a graphic showing a Motec CAN message (2:13):
https://youtu.be/2m34nQ4i6KQ?t=2m13s
jsmcortina
Site Admin
Posts: 39617
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: CAN bus between MS3 and a PDM (Power Distribution Module

Post by jsmcortina »

From their manual it looks like you should be able to programme the PDM to listen for and act on Megasquirt CAN broadcasts.

Listening to the PDM's status broadcasts, if required, would likely be best achieved by modifying the Megasquirt firmware to add specific support.

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".
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: CAN bus between MS3 and a PDM (Power Distribution Module

Post by Peter Florance »

I've used MoTeC PDM with other MoTeC products.
I think it will work for this although you have to get the scaling correct.
It's been a while since I worked with it.
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
Post Reply