how many can devices (i/o)

Ask questions about DIY board assembly issues, fault finding and testing. (Covers all Megasquirt versions and board.)

Moderators: jsmcortina, muythaibxr

Post Reply
Yves
Super MS/Extra'er
Posts: 1505
Joined: Tue Jun 17, 2014 1:23 pm
Location: Belgium

how many can devices (i/o)

Post by Yves »

How many can devices can be connected on megasquirt and can the inputs/outputs all be programmed, used via TS ?
jsmcortina
Site Admin
Posts: 39617
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: how many can devices (i/o)

Post by jsmcortina »

Your question is very broad.
Electrically you can have tens of CAN devices.
Per the "Megasquirt-CAN" protocol you can have up to 14 devices.

In terms of control, what are you trying to do?

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".
Yves
Super MS/Extra'er
Posts: 1505
Joined: Tue Jun 17, 2014 1:23 pm
Location: Belgium

Re: how many can devices (i/o)

Post by Yves »

I have one tinyiox comin which has provisions for

Oil temp which is used to switch a fan
Oil pressure input
Water pressure input
Fuel pressure input from which fuel pump speed is regulated
Baro
4 x egt

On my v3.57 i have a maf on js5 and knock on js4

I want to have the following added on another board :
Remaining 4 egt
Second o2
Second maf to log ( other bank)

I don't seem to find how to be able to log inputs and display them in mlv
jsmcortina
Site Admin
Posts: 39617
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: how many can devices (i/o)

Post by jsmcortina »

MS2 has no provision for collecting and using additional inputs on I/O boards. Through TunerStudio you can connect to multiple CAN devices simultaneously and datalog them.

MS3 has provision to capture that data, scale it to useful values and datalog it - either via TunerStudio or to the internal SDcard.

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".
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: how many can devices (i/o)

Post by racingmini_mtl »

jsmcortina wrote:MS2 has no provision for collecting and using additional inputs on I/O boards. Through TunerStudio you can connect to multiple CAN devices simultaneously and datalog them.
MS2 does have some provision for collecting and using data but it is quite limited. It can get up to 8 analog inputs but it can only use up to 2 of them for the primary and second O2 inputs and one for a baro input; the other inputs are stored as raw data and only available in the datalog. You would need to create a custom.ini file to translate the raw data into meaningful units. You can also get PWM inputs and digital inputs some of which can be used by the MS2.

But to log as much data as what is mentioned with an MS2, there is no other way than to create a project with CAN devices and let TunerStudio log the data from all the devices. You will still need to create a custom.ini file to translate the data into the desired units.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
Yves
Super MS/Extra'er
Posts: 1505
Joined: Tue Jun 17, 2014 1:23 pm
Location: Belgium

Re: how many can devices (i/o)

Post by Yves »

Where can I get the infor required for such a custom ini ?
jsmcortina
Site Admin
Posts: 39617
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: how many can devices (i/o)

Post by jsmcortina »

Yves wrote:Where can I get the infor required for such a custom ini ?
For the spare ADC inputs on MS2 itself, this is covered in the MS2 manuals.

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".
Yves
Super MS/Extra'er
Posts: 1505
Joined: Tue Jun 17, 2014 1:23 pm
Location: Belgium

Re: how many can devices (i/o)

Post by Yves »

I had the inputs on the tinyiox in mind.
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: how many can devices (i/o)

Post by racingmini_mtl »

The idea is the same, you just need to use the correct variable names for your application. That will depend on which input you use.

You can post on my forum. I have a few example files that can be used as a start.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
Yves
Super MS/Extra'er
Posts: 1505
Joined: Tue Jun 17, 2014 1:23 pm
Location: Belgium

Re: how many can devices (i/o)

Post by Yves »

For some unknown reason it doesn't want to accept my password. Asked for a new one. Inputted that one, same result and now the account is blocked.
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: how many can devices (i/o)

Post by racingmini_mtl »

Yves wrote:For some unknown reason it doesn't want to accept my password. Asked for a new one. Inputted that one, same result and now the account is blocked.
I sent you an email with a new password.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
dontz125
Super MS/Extra'er
Posts: 4221
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: how many can devices (i/o)

Post by dontz125 »

racingmini_mtl wrote:MS2 does have some provision for collecting and using data but it is quite limited. It can get up to 8 analog inputs but it can only use up to 2 of them for the primary and second O2 inputs and one for a baro input; the other inputs are stored as raw data and only available in the datalog. You would need to create a custom.ini file to translate the raw data into meaningful units. You can also get PWM inputs and digital inputs some of which can be used by the MS2.

But to log as much data as what is mentioned with an MS2, there is no other way than to create a project with CAN devices and let TunerStudio log the data from all the devices. You will still need to create a custom.ini file to translate the data into the desired units.
Before I waste hours of my time on a fool's errand, can this be done on the Lite version of TS, or do I need to finally break open the piggy bank and register for the full edition?
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
Post Reply