Megasquirt3+MS3X

KTM530

Supramania Contributor
Jan 24, 2011
154
0
0
santa rosa
Enraged your a GENIUS!!!! i think gutting the stocker and piping a ford on there is a perfect simple way around using the toyota 6 wire, a ford is the way to go thank you!
 

MightyAl

New Member
Jun 5, 2005
293
0
0
Chesterfield, MO
If you need one I have both a ford and a BMW idle valve just sitting in my basement from when I was messing with the megasquirt. Pay the shipping and they are yours.
 

hvyman

Dang Dude! No Way Man.
Staff member
Apr 17, 2007
12,568
1
0
Fullerton,CA
The idle valve will not operate without the 2 middle wires which are power. Power is applied to those and then grounded in the right sequence to make the valve open or closed.

It is also always commanded full open upon shut down. So basically you tuned your idle with a huge air leak.
 

Pyro15D

kind of a lucky dude
Aug 24, 2008
646
2
18
Whidbey Island, Washington
The power is supplied via megasquirt. Megasquirt can drive a bipolar stepper motor IAC, but not a unipolar IAC. The way the stock ECU drove it was with by grounding each coil like you said. That is the unipolar way of driving it. That's why it needed the 12v power. Megasquirt supplies the power directly and switches polarity to the coils to actuate the valve. I did a test with it and cycled it all the way through its 125 steps from open to closed and back again. Speedfreak426 did the same thing on his 1977 celica with a 7m swap. It works. I'm just trying to save you guys unnecessary time and money.
 

mkiiichip

New Member
Sep 10, 2007
1,434
0
0
41
WI
Pyro15D;1902474 said:
The power is supplied via megasquirt. Megasquirt can drive a bipolar stepper motor IAC, but not a unipolar IAC. The way the stock ECU drove it was with by grounding each coil like you said. That is the unipolar way of driving it. That's why it needed the 12v power. Megasquirt supplies the power directly and switches polarity to the coils to actuate the valve. I did a test with it and cycled it all the way through its 125 steps from open to closed and back again. Speedfreak426 did the same thing on his 1977 celica with a 7m swap. It works. I'm just trying to save you guys unnecessary time and money.

I have been looking into using the idle motor in the stock configuration for many months now. This was my first clue that it could be done. It is for a 5m plug-and-play kit that DIY sells. It uses the same 6 wire idle valve as a 7m, 1jz, 2jz. Half way down they briefly explain the setup. For MS2.
http://www.diyautotune.com/diypnp/apps/n52/usdm-toy-supra-8384-5mge-mt.html

Today I got it working with a stimulator, and MS3+MS3X. I can get it to move to any position between 1 and 230 steeps, it runs to the home position at power on, reacts to coolant based idle up, moves to a cranking postion.

I gotta ask, why do you say MS cant run a unipolar stepper motor?

"it cant be done with MS" really means "I couldn't figure out how to make it work"
 

Pyro15D

kind of a lucky dude
Aug 24, 2008
646
2
18
Whidbey Island, Washington
The reason why megasquirt can't run a unipolar motor is because unipolar means the coils inside the motor itself are powered with only one polarity. That's why the two center red and black wires are connected to 12v on the stock ecu. To make the stepper motor "step" through its range of motion, the ecu would just sequentially ground the other 4 wires, energizing the respective coil along the way. I can only assume that unipolar was a more primitive way of controlling stepper motors, and nowadays, the technology is there to energize each coil with both polarities. Now that being said, there is no way for megasquirt to run unipolar. The stepper motor driver chip that is built onto the ms2 board is a bipolar motor driver. Any unipolar stepper can be made to work with a bipolar motor driver, but not the other way around. The rule of thumb I always thought was if it has 3 or 4 wires, it is most likely a bipolar stepper. If it has 4 or up, it is most likely unipolar. I might have gotten too deep into this and just made it confusing but I do have a habit of getting ahead of myself lol!
 

KTM530

Supramania Contributor
Jan 24, 2011
154
0
0
santa rosa
Pyro15D;1902474 said:
The power is supplied via megasquirt. Megasquirt can drive a bipolar stepper motor IAC, but not a unipolar IAC. The way the stock ECU drove it was with by grounding each coil like you said. That is the unipolar way of driving it. That's why it needed the 12v power. Megasquirt supplies the power directly and switches polarity to the coils to actuate the valve. I did a test with it and cycled it all the way through its 125 steps from open to closed and back again. Speedfreak426 did the same thing on his 1977 celica with a 7m swap. It works. I'm just trying to save you guys unnecessary time and money.

i just started installing the MS3+ms3x today, i have not been motivated since winter break began and now on the last day of break I decide to start the MS3 install. I mounted the bosch 2 wire and mocked up the harness, and now i see i could have stuck with the stock unit...... oh well 2 wires are easier than 6 anyways. I should have taken a look here before starting.
 

DustinS

Supramania Contributor
Oct 9, 2012
82
0
0
Springfield, MO
mkiiichip;1904539 said:
Today I got it working with a stimulator, and MS3+MS3X. I can get it to move to any position between 1 and 230 steeps, it runs to the home position at power on, reacts to coolant based idle up, moves to a cranking postion.

Any info you can give on how you got it working?
 

mkiiichip

New Member
Sep 10, 2007
1,434
0
0
41
WI
DustinS;1935072 said:
Any info you can give on how you got it working?

I am a little reluctant to share to much of my setup at this point because it is totally untested at this time. I will say that all the mods inside the box are per the manual.

figgie;1935223 said:
here you guys go

http://www.supramania.com/forums/sh...ta-IAC-and-stepper-design-)&highlight=bipolar

can't believe I did that work nearly 7 years ago already. Back then, this was based on Tec3 but works with any EMS that supports bipolar (which is most) stepper control.

the important part will be the .25 seconds per step rate. To fast, fry coils, to slow, won't move.


Hmmm, when i was doing my testing i found that the valve would not move with a signal any faster than 5ms between steps. It seemed to work great at 10-15ms. I Kept moving the valve at these settings for several mins without the valve generating any noticeable heat.

At .25 seconds per step on a valve that has 200+ steps, it would take almost a minute to open or close the valve. Did you mean 25ms?

EDIT: then again I did not swich the configuration of the valve. I may be comparing apples to oarnges.
 
Last edited:

figgie

Supramania Contributor
Mar 30, 2005
5,224
16
38
49
Twin Cities, Minnesot-ah
mkiiichip;1935292 said:
I am a little reluctant to share to much of my setup at this point because it is totally untested at this time. I will say that all the mods inside the box are per the manual.




Hmmm, when i was doing my testing i found that the valve would not move with a signal any faster than 5ms between steps. It seemed to work great at 10-15ms. I Kept moving the valve at these settings for several mins without the valve generating any noticeable heat.

At .25 seconds per step on a valve that has 200+ steps, it would take almost a minute to open or close the valve. Did you mean 25ms?

EDIT: then again I did not swich the configuration of the valve. I may be comparing apples to oarnges.

The windings are to small to generate heat that you will be able to feel before the windings give the ghost up.

.25 seconds = 250ms which is more than 10-15ms or put another way, a quarter of a second on a bipolar design. The stock design is really quick (if you look at the post, as jetjock alluded to. It is getting fed signals all the time from the TCCS). That is a 3p question though. :)

You are essentially feeding two coils at a time meaning higher current. No different than a higher dwell time in an ignition coil requiring more time to get the mag field at the right mH.