Page 2 of 2

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Wed Oct 24, 2012 12:05 pm
by racingmini_mtl
The TinyIOx also has a proto area that could be used but there could be issues with the license in doing it that way. Both James and I are the copyright owners of the code and board so I don't want to do anything without his approval so I'll discuss this with him to come up with the best way to handle it.

Jean

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Wed Oct 24, 2012 3:41 pm
by racingmini_mtl
After discussing it with James, I will look into having a special version of the TinyIOx that actually integrates some of the JimStim code so that you only need the TinyIOx to generate the crank and cam signals. So by putting a couple of transistors and a few resistors on the proto area, you'd have a solution you can put inside the MS case.

Jean

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Wed Oct 24, 2012 4:16 pm
by frank_ster
great!

jean can i buy you a beer?!

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Fri Oct 26, 2012 7:51 pm
by racingmini_mtl
I have done some tests with a preliminary version of the code on a TinyIOx that was communicating with an MS2 running MS2/Extra. The setup was able to generate a 36-2-2-2 pattern at 15000RPM with the RPM being updated over the CAN bus about 100 times per seconds.

The code keeps all the standard TinyIOx features and adds the JimStim wheel pattern outputs but if you use them that would very likely have an impact on the maximum RPM and update rate supported. Also, if you use a wheel pattern with more shorter teeth like a 60-2, the maximum RPM is lowered (more than 8000RPM is possible with a 60-2). And if you use the RPM outputs, you can no longer use the PWM outputs because the CPU pins are the same ones as those used for the RPM outputs.

This is what the settings look like:
rpm_output_settings.png
Jean

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Mon Oct 29, 2012 5:20 pm
by frank_ster
Great!

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Wed Oct 31, 2012 4:58 pm
by BaldTurboFreak
That is SO awesome! I cant wait to try it out!

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Wed Oct 31, 2012 5:27 pm
by racingmini_mtl
I just need to check a few things and I should be able to have kits available soon. The kit would include the TinyIOx with the code that has the JimStim patterns and transistors and resistors to make the output circuits. You would need to assemble these circuits in the proto area (on the TinyIOx board) and connect them to the appropriate pad on the header. With this you can have a 5V or 12V square wave output for the crank and cam signals. I would also include a couple of small capacitors so that you can a pseudo-VR signal.

I'll give more details when I'm ready to sell these.

Jean

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Mon Nov 05, 2012 7:05 pm
by BaldTurboFreak
Great to hear! Im cash in hand the moment I see your post dude!

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Wed Nov 21, 2012 6:54 pm
by racingmini_mtl
It has been longer than I had planned for but I finally got around to it and checked what I wanted to check. And it is working as intended. So if you are interested in this, send me a PM for details on how to get the TinyIOx with the JimStim output.

Jean

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Mon Nov 26, 2012 6:21 pm
by frank_ster
also is it possible to provide the cam trigger also ? i need a 5v square wave at 90 and at 180 deg.

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Mon Nov 26, 2012 6:38 pm
by racingmini_mtl
You have the crank and cam outputs as per the JimStim patterns. Which wheel mode do you need?

Jean

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Tue Nov 27, 2012 5:08 am
by frank_ster
the subaru 36 -2 -2 -2 and then cam sensor at 90 deg and at 180 i believe.

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Tue Nov 27, 2012 6:18 am
by frank_ster
correction the 2005 subaru cam has 3 notches in it :shock:

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Tue Nov 27, 2012 8:27 am
by racingmini_mtl
Well, that's a problem because the pattern in the JimStim has 2 pulses on the cam signal not 3. Do you know what's the angle position for those notches?

Jean

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Tue Nov 27, 2012 3:44 pm
by frank_ster
i'll have to degree wheel the engine.

think it would be worth while having a dialogue box settable cam settings ?

there must be other manufacturers with multiple pulses on the cam(s) ?

i know i only need the drivers side intake camshaft to get the correct signal to make the ecm happy.
i also know if the timming belt if off one tooth it wont be happy and wont allow the engine to start.

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Tue Nov 27, 2012 3:53 pm
by racingmini_mtl
The JimStim patterns are a fixed set of intervals between either crank or cam tooth events. Having a dialog to change that would require something completely different so that's not going to happen. Moreover, having a different cam pattern for the same crank pattern is not something that common.

Having said that, the JimStim offers the possibility of making custom patterns and it would be possible to do the same here. However, I'd need to write the code to load those new patterns to the TinyIOx memory because the memory structure and code are different in the two CPUs. But you still need to know the exact position of the cam teeth with respect to the crank teeth position.

Jean

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Tue Nov 27, 2012 4:13 pm
by frank_ster
as fas as i know all the turbocharged subarus 04+ with the cam advance have the same setup as mine.
the n/a subarus have the same crank wheel but only one notch per cam revolution. this should be true for 08 and older the newer i'm not sure what they changed.

i'll try and get this information for the exact angle of the crank for each cam signal.

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Tue Nov 27, 2012 10:05 pm
by frank_ster
recieved tinyiox ! its tiny !

Re: Providing engine specific crank/cam trigger signal Via T

Posted: Sun Oct 15, 2017 10:24 am
by BaldTurboFreak
Bringing this thread back from the dead,
-my original build the EG33, I was able to replace the unused 2nd trigger on the crank with the 36-2-2-2 from the 4cyl and viola! stock ecu happy and inspection.

- I have now built another turbo H6 wrx this time with the EZ30D engine. This has no means of a simple add a 4cyl crank trigger and let er' rip.

Has the code progressed to the point that the original post is possible? To output a selectable crank and cam pattern from the MS3 to provide the OBD2 ecu in the vehicle with an RPM signal and therefore retain all emissions/dash/a/c etc functions.