TinyIOx v1.0 Board questions

http://jbperf.com/io_extender/index.html
http://jbperf.com/io_extender/tinyIOx.html for the TinyIOx
Post Reply
panel
Posts: 12
Joined: Sun Sep 25, 2011 5:58 pm
Location: Victoria B.C. Canada

TinyIOx v1.0 Board questions

Post by panel » Tue Aug 10, 2021 11:21 pm

Hi Jean. I've ran out of room on my MS2 V3.0 board or at least very packed etc. I've seemed to run into some problems with the wiring circuit in of my PWM from my FIDLE and thought maybe this board would fix that and also allow me to add additional features like Launch Control.

Any tips or advice if this would be the best way to go.

What would the wiring look like to make the PWM work using your board ? And also if I were to run Launch Control wiring from your board ?
Last edited by panel on Sun Aug 15, 2021 8:43 pm, edited 1 time in total.

jbelanger
Posts: 3870
Joined: Sat Oct 03, 2009 12:24 pm
Location: Quebec, Canada
Contact:

Re: TinyIOx v1.0 Board questions

Post by jbelanger » Sun Aug 15, 2021 2:59 pm

The TinyIOx has up to 2 generic PWM outputs that can be controlled similarly to the MS3 generic PWM outputs but with the flexibility. You can also use the PWM outputs for some of the MS2 features through CAN (idle control being one).

As for any I/O you decide to use on the TIOx, you need to build the conditioning (input) or driver (output) circuit appropriate for the type of I/O you're using.

This is a very generic answer but I can go into more details if you elaborate a bit on what you want to use.

Jean
Image

panel
Posts: 12
Joined: Sun Sep 25, 2011 5:58 pm
Location: Victoria B.C. Canada

Re: TinyIOx v1.0 Board questions

Post by panel » Sun Aug 15, 2021 8:49 pm

Thanks for the reply ! What I'd like to do is run a 2 wire Ford PWM IAC and also use Launch Control for now.

jbelanger
Posts: 3870
Joined: Sat Oct 03, 2009 12:24 pm
Location: Quebec, Canada
Contact:

Re: TinyIOx v1.0 Board questions

Post by jbelanger » Mon Aug 16, 2021 2:22 pm

You can use 2 ports on the TIOx for this. The IAC will need a driver similar to what is described in section 3.5.4.2 of the MS2 hardware manual; you will need a 1k resistor, a TIP122, a 1N4001 diode and a mounting hardware kit with a mica insulator. You will also need to configure the MS2 to use the remote port 1 and set the CAN parameters to send that signal on the TIOx. And you will need to set the TIOx to use port 1 as a PWM output.

For launch control, you can use one digital input pin on the TIOx with a circuit similar to the ones shown in section 3.4.9.2 of the MS2 hardware manual. Which circuit you use depends on whether you have a switch connected to ground or to 12V. You will then need to configure the MS2 to use remote 3 bit 0 for launch control and set the CAN parameters to read that signal on the TIOx. And you will need to set the TIOx input port 3 channel 1 to the pin you want to use as the input.

That's the high level view of what is needed. If you decide to go with that solution, I can go through all the details needed for configuring all this on both the MS2 and the TIOx. In addition to what I mention above, you will need to power the TIOx from a 5V source and to connect the CAN bus between the MS2 and TIOx; that's 4 wires for 5V, ground, CANH and CANL. You can use the MS2 5V power and put the TIOx inside the MS2 case; you would then need two wires to go outside the MS2 case for the idle valve and for the launch control switch.

Jean
Image

panel
Posts: 12
Joined: Sun Sep 25, 2011 5:58 pm
Location: Victoria B.C. Canada

Re: TinyIOx v1.0 Board questions

Post by panel » Fri Aug 20, 2021 9:33 pm

Wow , thank you for the detailed write up ! So it looks like right now I'm using my SPR2/CANL for a fan and also using the SPR1/CANH for my Tach. I have both circuits built on the V3.0 proto board of my Megasquirt.

What's the best way to go about the wiring if they are in use already ?

jbelanger
Posts: 3870
Joined: Sat Oct 03, 2009 12:24 pm
Location: Quebec, Canada
Contact:

Re: TinyIOx v1.0 Board questions

Post by jbelanger » Fri Aug 20, 2021 11:35 pm

Actually, SPR1 and SPR2 are not connected to the MS2 CAN bus unless you connect wires between them and JS6 and JS8. JS6 is CANH and JS8 is CANL. You can check the schematics: http://www.msextra.com/doc/pdf/html/MS2 ... 4-167.html

So if you install the TIOx inside the MS2 case, you can ignore SPR1 and SPR2 and connect JS6 and JS8 to the TIOx CAN bus pads.

Jean
Image

panel
Posts: 12
Joined: Sun Sep 25, 2011 5:58 pm
Location: Victoria B.C. Canada

Re: TinyIOx v1.0 Board questions

Post by panel » Sat Aug 21, 2021 12:08 pm

Thank you. Got some answers for now , thanks. I'll post up some more questions as the project goes. The Vw bus is on the road right now so this is a Fall/winter to do project. I'll be ordering one soon.

panel
Posts: 12
Joined: Sun Sep 25, 2011 5:58 pm
Location: Victoria B.C. Canada

Re: TinyIOx v1.0 Board questions

Post by panel » Sat Aug 21, 2021 7:50 pm

Jean , do you have a knock detector in any of your boards ? If not.....would the https://www.viatrack.ca/ work with your unit ?

jbelanger
Posts: 3870
Joined: Sat Oct 03, 2009 12:24 pm
Location: Quebec, Canada
Contact:

Re: TinyIOx v1.0 Board questions

Post by jbelanger » Sat Aug 21, 2021 10:23 pm

No, I do not have any board that has a knock detector. And that knock detector you linked has a simple digital output (on-off) that indicates knock so you could use it with the TIOx. However, I don't know how long the signal lasts so I don't know if you could miss the knock signal in a datalog or for MS2 knock control. And there is some latency due to the transfer of the signal over the CAN bus.

Having said that, the MS2 code does allow you to use a digital input over the CAN bus and the KnocksenseMS is the most obvious choice for that. I think some have used the IOx or the TIOx with it but don't know how well that works as I don't remember seeing concrete results. Be aware that knock control on the MS2 is rather basic and somewhat crude especially with a digital signal.

Jean
Image

panel
Posts: 12
Joined: Sun Sep 25, 2011 5:58 pm
Location: Victoria B.C. Canada

Re: TinyIOx v1.0 Board questions

Post by panel » Sat Sep 04, 2021 2:39 pm

Ordered your board 8-)

As for parts.....let me know if I've missed something.

1k resistor, a TIP122, a 1N4001 diode and a mounting hardware kit with a mica insulator for the IAC.

1k 1/8w resistor, 1N4001 diode and a switch for the Launch control.

jbelanger
Posts: 3870
Joined: Sat Oct 03, 2009 12:24 pm
Location: Quebec, Canada
Contact:

Re: TinyIOx v1.0 Board questions

Post by jbelanger » Sat Sep 04, 2021 3:07 pm

Thank you for your order.

If you want to do switch to ground for your launch circuit as per the manual (first circuit here: http://www.msextra.com/doc/pdf/html/MS2 ... .4-32.html), you will need 2 diodes. The rest of your component lists looks ok.

Jean
Image

panel
Posts: 12
Joined: Sun Sep 25, 2011 5:58 pm
Location: Victoria B.C. Canada

Re: TinyIOx v1.0 Board questions

Post by panel » Sat Sep 04, 2021 6:07 pm

Ah yes. Thx !
jbelanger wrote:
Sat Sep 04, 2021 3:07 pm
Thank you for your order.

If you want to do switch to ground for your launch circuit as per the manual (first circuit here: http://www.msextra.com/doc/pdf/html/MS2 ... .4-32.html), you will need 2 diodes. The rest of your component lists looks ok.

Jean

panel
Posts: 12
Joined: Sun Sep 25, 2011 5:58 pm
Location: Victoria B.C. Canada

Re: TinyIOx v1.0 Board questions

Post by panel » Fri Sep 10, 2021 6:43 pm

Can you run a 'Stepper IAC valve' using this board ?

jbelanger
Posts: 3870
Joined: Sat Oct 03, 2009 12:24 pm
Location: Quebec, Canada
Contact:

Re: TinyIOx v1.0 Board questions

Post by jbelanger » Fri Sep 10, 2021 7:04 pm

No, there is no stepper motor control at this time.

Jean
Image

panel
Posts: 12
Joined: Sun Sep 25, 2011 5:58 pm
Location: Victoria B.C. Canada

Re: TinyIOx v1.0 Board questions

Post by panel » Sat Sep 11, 2021 6:54 pm

^ thx :)

panel
Posts: 12
Joined: Sun Sep 25, 2011 5:58 pm
Location: Victoria B.C. Canada

Re: TinyIOx v1.0 Board questions

Post by panel » Sat Sep 18, 2021 11:46 am

Got the board , thank you !

Post Reply