Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   MEGAsquirt (https://www.miataturbo.net/megasquirt-18/)
-   -   Help! Car won't start 100 miles from home. (https://www.miataturbo.net/megasquirt-18/help-car-wont-start-100-miles-home-56379/)

skidude 03-18-2011 05:44 PM

Help! Car won't start 100 miles from home.
 
So I'm stuck at a gas station 100 miles from home and my car won't start. I was tuning all the way here and everything was going great until I stopped for gas and when I turned the key back on I got a config error about pin PT1. I have an iPhone and my tuning laptop so I can't upload my msq but I could take pictures of it.

I didn't change anything when I stopped for gas.

Please help, I am stranded here!

Reverant 03-18-2011 05:51 PM

Open TS, find what uses pin PT1, disable that shit, drive back home like a boss.

skidude 03-18-2011 05:57 PM

How can I find a specific pin like that? And I think it's a fuel injector..... The tune I started was one from y8s somebody posted in my ms build thread if that helps.

Reverant 03-18-2011 06:01 PM

Are you using the MS3X for injector outputs?

skidude 03-18-2011 06:04 PM


Originally Posted by Reverant (Post 703436)
Are you using the MS3X for injector outputs?

Yes. I found the list and disabled that one and it works now. What would cause it to randomly do that?

Reverant 03-18-2011 06:06 PM

So what two things used inj1 at the same time?

y8s 03-18-2011 06:07 PM

if pt1 is injector 1 (i hate that there are different names for stuff)

and you're using a y8s-based map, then it's set up as an output for fan.

Advanced Engine
Output Port Settings
scroll down to PT1 V3 Inj 1
uncheck all the enable boxes
burn
power cycle (key off/on)

zoom.

skidude 03-18-2011 07:04 PM

I am zooming again (obviously not while typing). Y8s, might that be why my fan doesn't turn on when it's supposed to?

y8s 03-18-2011 10:31 PM


Originally Posted by skidude (Post 703464)
I am zooming again (obviously not while typing). Y8s, might that be why my fan doesn't turn on when it's supposed to?

You have my pinout spreadsheet, right? Do you have your MS wired up like my MS? If you've changed any settings, you may run into conflicts depending on what you change and what I had set up.

You may want to (if you haven't) enter what you have set in the spreadsheet for your own reference and make sure all other settings are disabled or the equivalent.

skidude 03-19-2011 03:33 PM


Originally Posted by y8s (Post 703535)
You have my pinout spreadsheet, right? Do you have your MS wired up like my MS? If you've changed any settings, you may run into conflicts depending on what you change and what I had set up.

You may want to (if you haven't) enter what you have set in the spreadsheet for your own reference and make sure all other settings are disabled or the equivalent.

I have my MS wired up like yours except I am using the stock coils instead of real COP. I can't figure out why the fans don't work and the AC doesn't work, and the VSS doesn't read anything, and my cruise control doesn't work. That's all I've found so far, but clearly I've done something wrong. I'm reading manuals now though to figure out what that might be. Tips appreciated.

Thank you guys for your help! I would have been stuck at that gas station for a while trying to figure out what was wrong last night without your quick help.

y8s 03-19-2011 06:05 PM

A/C and fans are both wired to the right type of circuits inside the MS? I added TIP120 transistors to the output circuits inside the box to use the INJ1 and INJ2 outputs for fans.

Same thing for a/c control output.

I used those because that's what brainy had on hand.

skidude 03-19-2011 06:47 PM

Well that is probably why mine don't work then. Is there documentation on how to do what you did?

Ben 03-19-2011 06:58 PM


Originally Posted by skidude (Post 703439)
Yes. I found the list and disabled that one and it works now. What would cause it to randomly do that?

It wasn't random--the config error doesn't show up until after a power cycle. If you power cycled in your driveway, it would have happened then.

*Always* power cycle your MegaSquirt when making major changes or loading in someone's random map.

y8s 03-20-2011 10:31 AM

definitely power cycle for changes to outputs or triggering.

Here is some info on the outputs.
http://www.msextra.com/doc/ms2extra/...re.htm#outputs

You can basically replace the 2N2222A with a TIP120 for more current capability.

The way I wired mine, I was able to re-use some of the existing mounting holes. I'll go look up my notes and get back to you.

skidude 03-20-2011 06:24 PM

I see, well my proto area is completely filled with the alternator circuit, so hopefully I can reuse some of those existing mounting holes you speak of and still have room for my fan and AC circuit.

And do you have any ideas why my VSS doesn't seem to register? Is that another hardware thing I didn't do right or is there a software setting I just don't have right?

skidude 03-20-2011 07:03 PM

And I'm going to guess I don't already have the right parts for this, right?

y8s 03-20-2011 11:30 PM

did you run VSS to the ms3x cam input? is the cam pullup jumper in place? it's JP7.
I didn't mess with my potentiometers so it could have been dumb luck.

and actually if you're only doing fans and a/c relay, you can use the 2n2222a just like the link above.

DIY sells a prepackaged kit to make it work but you may have to get creative to use it with the INJ1 and INJ2 outputs.

http://www.diyautotune.com/catalog/p...ans-p-126.html

skidude 03-21-2011 11:34 AM

I did run the VSS to the ms3x cam input, though I will check that after work to make sure it is wired properly. I will also check the cam pullup jumper and see if I can find some info on the pots. If I remember right, you don't need a jumper on JP7 for a hall sensor but you do for anything else, right? What does the miata have? VR?

I will buy two of those kits, though I still don't know where I am going to install them, with my proto area being full of alternator and all. Can I follow some set of instructions for the MS1? I remember making fan and AC circuits for that, though I may have put them in the proto area. That was a long time ago.

y8s 03-21-2011 02:26 PM

I didnt use the proto area. Since you've got some time while the kits come in, I'll pull out my sketches and share them. I just haven't got around to it yet.

If you use the INJ mainboard outputs, you can put the components in random places on the main board.

skidude 03-26-2011 07:59 PM

I ordered the mod kits. Any info on where to install it when it comes?

y8s 04-01-2011 11:00 PM

ok this wasn't the thread I thought but I FINALLY got around to cleaning up my chickenscratches.

To use the INJ1 and INJ2 on the mainboard for generic PWM outputs, you can do some simple mods to the circuits to make them essentially like the normal TIP120 output circuit.

This *should* be self explanatory.

http://y8spec.com/megasquirt/images/...uts_tip120.png

it should look vaguely like this if you follow all the connections:

http://www.msextra.com/doc/ms1extra/...elayOutput.JPG

Your fans will already be connected to +12 and then you just connect pin 32 (or 33) to one fan and pin34 (or 35) to the other in the harness (if they aren't already). Condenser fan should be set up to work with Fan Control in TunerStudio. Main fan ends up being just a generic on-off output.

skidude 04-01-2011 11:16 PM

That looks pretty self explanatory, but based on my previous adventures, I will start doing it when my stuff shows up and get mildly confused by something and ask a question about it and then before anybody answers I will figure out the problem while being mildly frustrated, and feel like an idiot for asking the question in the first place.

Hopefully I'll just do it and not have any problems.

skidude 04-02-2011 06:47 PM

Which pins on the board are 2 and 3 on Q12 and Q9? I figured it was the right two, but the fans both just stay on whenever the key is on, so I must have done something wrong. I also assumed the two transistors got mounted with the flat part at the top, since that's how all the others get mounted. Is that correct?

skidude 04-02-2011 07:00 PM

and the two jumpers on U4 are as they are shown in the picture, correct? Across the bottom and the third one up?

y8s 04-02-2011 07:34 PM


Originally Posted by skidude (Post 709643)
Which pins on the board are 2 and 3 on Q12 and Q9? I figured it was the right two, but the fans both just stay on whenever the key is on, so I must have done something wrong. I also assumed the two transistors got mounted with the flat part at the top, since that's how all the others get mounted. Is that correct?

best way to determine that is to beep them out and find out which one goes to +12 and which one goes to the diode. They should be the two right hand pins (looking at the top of the board with the heatsink at the top). You could also jump all 3 pins together as long as you make absolutely certain you do not install R30, R31, R34 and R35. They have X across them in my diagram.

the TIP120s mount just like the other TO220 package components at the heatsink. Again make sure you put mica insulators under them and dont use metal screws (or use the isolator washers).


Originally Posted by skidude (Post 709644)
and the two jumpers on U4 are as they are shown in the picture, correct? Across the bottom and the third one up?

Yes. heatsink at top, U4 is in the same orientation as the schematic.

You caught the 1k resistors in place of R15 and R20?

To test, disconnect power and:
Verify the middle pin of each TIP120 has continuity to the S12 hole (just to the left of the top of the big disc near the connector). Make sure the red probe is on the TIP120 center pin and the black probe is at S12.

Verify the left pin of each TIP120 goes to either pin 21 or 22 of the mainboard's 40-pin connector. "Q1" TIP120 left pin goes to pin 21 (upper left pin nearest the DB9). "Q2" TIP120 left pin goes to pin 22 (just below pin 21)

Verify the right pin connects to ground (heatsink is gnd)

Verify the metal tab on the TIP120 does NOT connect to ground. Meter should read at least "lots of ohms". Probably not less than a few hundred at the very least.

settings:
If your harness is like mine (Inj1 to main fan), then in the outputs menu, you'll have PT1 V3 INJ1 with the following settings:
enabled checkbox checked
power on value 0
trigger value 1
conditions: coolant > threshold 93 hysteresis 7 (or whatever you want)
No additional conditions (or whatever you want)

Under basic/load..
select fan control
fan control ON
Fan Control idles up YES (if you want)
Output Pin INJ BANK 2
idle up delay 200
idle up duty 1.2
fan on temp 97 (or whatever you want)
fan off temp 92 (or whatever you want... should be 3-7 less than above)
allow fan when engine off NO (unless you want)
TPS shutoff whatever you want
TPS hysteresis above minus maybe 10%
VSS shutoff whatever
VSS hysteresis whatever

remember changes to outputs require a burn and power cycle (key off, key on).

you can test by simply checking the coolant temp and setting the coolant trigger value below that. i forget if you have to power cycle just for a temp change or not. that should be evident.

skidude 04-02-2011 08:08 PM

Thanks for all the info, but I'm using the transistor that came with the mod kit, and I am thinking it might have different output pins than the TIP120 you used. The TIP120, according to the top right of your drawing, has the pins as BCE, while it looks like the PN2222A has the pins CBE. I will try switching them around, though it could get messy pulling them out and bending the short pins and re-doing them.

y8s 04-02-2011 10:28 PM

oh!
I thought I linked you to the TIP120 modkit. That would have been easier to mount for sure.

In any case, once you sort out the transistor, it should work. At this point I'd just pull it and solder some wires to the legs (shrink tube them) and solder the wire to the board.

skidude 04-02-2011 11:24 PM

Well, when I tried earlier the fans did the same thing but the car wouldn't run (all the sensors read horribly wrong) but now it's late and I will try tomorrow with less beer.

skidude 04-03-2011 09:32 AM

The diodes have something around 11k-ohm resistance, so there isn't direct continuity between the center pin of Q5 and Q1 and S12, there is 11k of resistance. Is that ok? When I plugged this in last night it was horrible. How would this circuit affect inputs like MAP and TPS? (MAP said 165kPa when I turned the key on).

y8s 04-03-2011 10:28 AM

if your meter doesn't have a diode test mode, then you have to test the Q1/Q5 to the non-stripe side of the diode and again from the stripe side of the diodeS to S12.

crazy gauge readings could be a conflict error.

if you suspect the transistors, you can check them (with the diode check mode on your meter..)

http://www.bcae1.com/repairbasicsfor...nsistor00a.gif
if that's unreadable, it's also 2/3 of the way down at
http://www.bcae1.com/repairbasicsfor...pairbasics.htm

skidude 04-03-2011 12:08 PM

Well, opposite fans are opposite. Megasquirt clearly has control of them, but they are on and off opposite of whatever MS thinks. As soon as the key is on, both fans come on and stay on until the coolant hits the setpoints, and the fans turn off per the setpoint.

I checked the transistors a bunch of times and I thought sure I had them right, but would wiring them in wrong cause this behavior?

Also, the AC doesn't work. Nothing happens when I press the dash button. Related?

y8s 04-03-2011 06:02 PM

for your fans, is "power on value" 1 or 0? trigger value should be opposite of power on value. megasquirt doesn't know "opposite", it only knows on or off (1 or 0 respectively).

One side of the fan relay is wired to +12 somewhere in the factory harness.

the other side goes to your megasquirt. the way the circuit is now set up, when megasquirt is "on" (1 value), it turns on the transistor which connects the output circuit to ground which energizes the fan relay and turns on the fan.

You can check those two outputs and verify what they're doing when the temp is reached. they should show continuity to ground.

A/C:
I have mine going to JS11 using pin 36 on the mainboard DB37. The other end connects to the refrigerant pressure switch (Mazda pin 4F). All you gotta do (if you haven't) is run a jumper wire on the bottom of the main board from the IGN jumper hole to the JS11 jumper hole. I might have left that off my wiring diagram.

y8s 04-03-2011 06:04 PM

here is a visual setup detail for the A/C setup I use:

http://y8spec.com/megasquirt/images/...x_ac-setup.png

skidude 04-03-2011 06:15 PM

I'm pretty stumped. On the stim, one injector light comes on as the temperature goes up, and the other goes off. I can't even tell if I did something wrong with hardware or if there is just a setting off somewhere.

Edit: Posted that without realizing you had replied... disregard.

skidude 04-03-2011 07:56 PM

Well, I am still a little stumped. Where do I change the on and off values for the fan controlled by that dialog? One of the fans seems to follow the opposite of whatever that says while the other fan comes on and off opposite of what I expected based on the output setting.

Edit for detail: With power on value set to 0 and trigger value set to 1, the fan does the opposite of what it's set to do. It seems to respond properly when power on is 1 and trigger is 0. I have verified this by checking continuity to ground on the stim, though there seems to be a little bit of voltage or something.

skidude 04-03-2011 08:21 PM

I just killed something. I've been messing with this thing all day, made no progress, and as soon as I tried the AC after I put the jumper in the car died and megasquirt is now completely unresponsive. It won't connect to the computer, and it doesn't do anything when powered up. I'm about ready to throw this whole thing out the window and set the car on fire.

y8s 04-03-2011 09:05 PM

can you live without your squirt for a few days?

the y8s-braineack team can diagnose and fix it if you pay shipping.

skidude 04-03-2011 09:41 PM

Yes, I can live without it for a few days. I would be eternally grateful if you guys would do that.

y8s 04-03-2011 10:15 PM

sure why not...

make a list of everything you need set up or tweaked and include your own pinout diagram (if it's based off mine anyway) to make it easier on us.

you're only 2 days away UPS ground.

PM me your email address and i'll send you my info


All times are GMT -4. The time now is 09:02 AM.


© 2024 MH Sub I, LLC dba Internet Brands