Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   ECUs and Tuning (https://www.miataturbo.net/ecus-tuning-54/)
-   -   Na VSS signal and wiring (https://www.miataturbo.net/ecus-tuning-54/na-vss-signal-wiring-59814/)

Preluding 08-17-2011 02:51 PM

Na VSS signal and wiring
 
OK.

So after reading a few posts and doing some searches. I decided to put a wire on my 97s RSW screw on the back of the cluster and send it into the VSS(vehicle speed sensor) input on my ECU.

THIS DIDN'T WORK....regardless of what I read other places.

Is there another place where I can find it?? Does my stock gauge somehow take the mechanical signal and have a electronic output somewhere on it? Either way I would LOVE to have this kind of input.

It would make Boost feedback, Boost by gear, launch control ect... a walk in the park.

Joe Perez 08-17-2011 02:56 PM

The RSW terminal is just a switched closure to ground (there is literally a magnetic reed switch.)

Thus, it requires a pullup.

Did you provide a pullup?

Braineack 08-17-2011 02:57 PM

the VSS wire already goes back to the stock ecu.... dunno why you're fishing for one.

the VVS wire needs a pull-up.


EDIT: dammit joe.

Joe Perez 08-17-2011 03:08 PM

1 Attachment(s)

Originally Posted by Braineack (Post 760713)
EDIT: dammit joe.

Cat picture time:

https://www.miataturbo.net/attachmen...ine=1313608118

Preluding 08-17-2011 03:26 PM


Originally Posted by Braineack (Post 760713)
the VSS wire already goes back to the stock ecu.... dunno why you're fishing for one.

the VVS wire needs a pull-up.


EDIT: dammit joe.

Stupid newb question, what is a pull-up?? I was looking at the 97 electrical manual and saw the VSS wire as well, after the fact... Still don't know what a pull-up is.

...and once that turbo spools, that kitty is toast.

Joe Perez 08-17-2011 03:41 PM


Originally Posted by Preluding (Post 760721)
Stupid newb question, what is a pull-up??

In its simplest form, a resistor connected between +5 and a signal wire.

You've got an ECU that's expecting a pulsed voltage input. And you've hooked it up to a device that does not provide a voltage output, it provides a switched closure to ground. So to make this circuit work, we place a resistor (1k usually) between a supply of power and the signal line in question.

Now, when the switch is open, the line will be energized to whatever voltage we're pulling it up to, and when the switch closes, that voltage drains to ground and the line goes to 0v. Thus, we achieve a pulsed voltage.

This method is quite common. Here's an example of a pullup applied in a launch-control situation- look at the "activate low" diagram, and ignore the diodes: http://msextra.com/doc/ms1extra/MS_E...l.htm#launchin



...and once that turbo spools, that kitty is toast.
Actually, that's an attempt to control boost the same way they do with centrifugal superchargers, by placing a restriction inline with the compressor inlet. Kitty is precisely calibrated to achieve 12 psi at redline.

Preluding 08-18-2011 10:35 AM

1 Attachment(s)

Originally Posted by Joe Perez (Post 760725)
In its simplest form, a resistor connected between +5 and a signal wire.

You've got an ECU that's expecting a pulsed voltage input. And you've hooked it up to a device that does not provide a voltage output, it provides a switched closure to ground. So to make this circuit work, we place a resistor (1k usually) between a supply of power and the signal line in question.

From this response. I have no idea how the VSS signal works.... :facepalm:

I thought it would be a voltage output based on how fast I'm going, like most of all the other sensors in the car.

Your speaking of a switch/resistor combo and I don't understand the diagram.
What are the arrows with a line in front of them?? Why do I need my TPS signal at all? 0-volts = Ground yes?? Is the switch my existing wire or is that extra?
https://www.miataturbo.net/attachmen...ine=1313678117

My IQ is falling by the second. I may try to find a friend who haz better edumacationz in this then me.

Braineack 08-18-2011 10:44 AM

take a 2.2K resistor. Connect one end to VSS wire and the other to 5v. have a nice day.


The pull-up keeps the input high (5v) when the signal is not grounded. Otherwise, as your vss pulses to ground, it's not going back to voltage so the CPU can distigish anything from it. When the VSS signal grounds, the voltage drops from 5V to 0V. So now the CPU sees pulses.

Does that make sense?

Joe Perez 08-18-2011 11:04 AM

2 Attachment(s)
Here's the simple version:

The VSS (on '90-'97 cars) is just a switch. When it's closed, it conducts to ground. When it's open, it does not. It opens and closes many times per second as the speedometer cable rotates.

Here are the two states of the VSS, which I have symbolized by drawing a SPST switch at the left side. In both of these drawings, I have added a pullup resistor at the top. At the right is the pin which feeds into the ECU (or the cruise control, or the A/T controller)

First, here is what it looks like when the VSS is open:

https://www.miataturbo.net/attachmen...ine=1313679864

Voltage is coming in through the resistor, but it has nowhere to go, so the ECU sees +5v at its input.


Now, here is the VSS closed:

https://www.miataturbo.net/attachmen...ine=1313679864

Voltage flows through the resistor, but it has a path to ground through the switch contacts. Thus, the voltage all drains out to ground, and the ECU sees 0v at its input.


If you imagine this system cycling back and forth between the two states at a high speed, the result (as seen by the ECU) will be a squarewave signal alternating between 0 and 5 volts.


The exact value of the resistor is not critical. You could use 1k, 2.2k, whatever you have lying around. 1k would be brown-black-red-(gold/silver), and 2.2k would be red-red-red-(gold/silver).


The key point is that without the resistor providing a pullup, the ECU will see 0v all the time, regardless of whether the VSS is open or closed. In the original design, the pullup resistor was inside the ECU (or the cruise control box or the A/T controller), however since you have none of those things, you need to supply the pullup yourself.




Originally Posted by Preluding (Post 760949)
Why do I need my TPS signal at all?

You don't.

I took that image from the MegaSquirt documentation. On that ECU, there is a pin labeled "TPS Vref" which is not specifically related to TPS, it's just a convenient source of +5v that it commonly used to provide a pullup for the TPS, as well as for whatever other external sensors need a +5 pullup. Your AEM probably provides a similar supply of external +5v. I don't know what pin on the AEM it is, but it should be going to pin 3I of the ECU harness (a light green / white wire) as this is how +5 is supplied to the TPS (as well as the EGR sensors and the TCM) in the factory harness.

Preluding 08-18-2011 01:13 PM

Dear Joe,


THANK YOU


I am definitely understanding this quite a bit better.

To clarify a little more for dummies:
ECU = My AEM EMS +5V input
+5V = ? Not quite sure where this 5V will be coming from but its going through a resistor before being tied into the wire that goes between the ECU and
Switch = This is technically the VSS Output from the gauge cluster, the wire is already there.

So really, I need to find the input wire (Should be 3I as you've graciously told me) and splice another wire to it with a resistor to a +5V output (Should be one on the ecu somewhere)

The Empty Guy 09-05-2019 02:50 PM

Going to necro since this thread is referenced and places and has a high search result, God forgive me for my sins.

If you were putting a digital dash in an early NA6, would you just replaced the VSS with a digital one and throw that into the MS? Or would you just relocate the current one, maybe trim it a bit and put it back in the circuit? Going to probably do this "mod" today so I can finally have speed in MS, but ultimately just going for a digital dash.

edit: In case it matters, currently on PNP2. One day I will upgrade.

shuiend 09-05-2019 03:07 PM

I would swap to a NB digital speed sensor, and wire that into a JBPerf VR conditiner board. Then wire that to the MS and have it do speed over CAN.


All times are GMT -4. The time now is 11:26 AM.


© 2024 MH Sub I, LLC dba Internet Brands