Megasquirt Forum Area is for discussing Megasquirt EMS

Megasquirt DIYPNP bought, built, q's remain

Thread Tools
 
Search this Thread
 
Old 03-10-13, 06:38 PM
  #26  
Full Member

 
camman's Avatar
 
Join Date: Dec 2005
Location: utah
Posts: 189
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by sft3303
Also, does anyone know if the MAF has any role in the fuel pump power circuit? my circuit diagram leads me to believe it doesn't, but if anyone else has any input here, that'd be awesome.
s4 yes, s5 no
Old 03-10-13, 08:11 PM
  #27  
Full Member
Thread Starter
 
sft3303's Avatar
 
Join Date: Feb 2012
Location: Tuscaloosa, AL
Posts: 153
Likes: 0
Received 1 Like on 1 Post
Originally Posted by camman
s4 yes, s5 no
Sweet, that's what I was thinking (the wiring diagram pointed that way, but I figured I'd ask). That's more wiring that can be taken out and obstructions removed from the intake piping. Awesome.
Old 03-10-13, 10:55 PM
  #28  
Full Member
Thread Starter
 
sft3303's Avatar
 
Join Date: Feb 2012
Location: Tuscaloosa, AL
Posts: 153
Likes: 0
Received 1 Like on 1 Post
Fuel pump issue figured out, I think. It was written on the webpage, seems like a silly mistake on my part to miss it in the first place. If this works, it should be:

1K-----Fuel Pump

That provides a ground to the stock fuel pump relay, and should do exactly what we need it to. Still digging for more, and will update as I find it out.
Old 03-11-13, 09:16 AM
  #29  
Engine, Not Motor

iTrader: (1)
 
Aaron Cake's Avatar
 
Join Date: Feb 2001
Location: London, Ontario, Canada
Posts: 29,789
Likes: 0
Received 108 Likes on 91 Posts
Originally Posted by sft3303
I was trying to avoid running as much new wiring as possible (sounds crazy, but all the wires in my harness have been ohmed out to less than what my analog meter will read, so I know my harness, so far, is good) and I'm not sure how to make this power switched/constant through starting.
Just remember Ohm's Law: V=IR. So you could Ohm out a harness and it will show perfectly under the microampres of current and low voltage from the meter. But suck 10A @ 12V through it and you'll have a voltage drop of 5V.

Does the m.s. fuel pump output provide a ground or send a signal? Like for my pump relay, should I run power to the "control" side of the relay and the ground from my "control" side to the m.s.? As far as the other wiring, now might be the best time to re-do that, so might as well.
The MegaSquirt grounds the fuel pump output. Run switched IGN power to one side of the relay coil, connect the other side to the MegaSquirt output.

I've got most of the jumpers figured out, but I'm a bit foggy as to the ignition, as it isn't like most reciprocating piston engines you'd see elsewhere.
Ignition outputs are actually the same as most other engines with coils w/ignitors. Only difference is that the trailing has a toggle signal but this is fairly well documented in all the MS rotary writeups.

I already put the diode in the IAC pullup position, but are we providing the IAC a ground or sending a signal? The stock wiring suggests that the original configuration sent constant voltage, and the ecu would open/close a ground for it.
BAC, like the fuel pump relay and really most any other relay/solenoid in the car, is ground switched. One side of the BAC gets switched IGN 12V, other side connects to MS idle output.

What of the 4 jumper sets up near the db15 connector? Where we tell the ecu whether it's a 4, 6, or 8 cyl, wasted spark, COP, etc... Those jumpers are what I'm interested in. The pinout for the harness is no issue.
This is a major guess for me not working with the PNP, but I'd say 4 cylinder wasted spark.
Old 03-11-13, 10:44 PM
  #30  
Full Member
Thread Starter
 
sft3303's Avatar
 
Join Date: Feb 2012
Location: Tuscaloosa, AL
Posts: 153
Likes: 0
Received 1 Like on 1 Post
Thanks a ton Aaroncake, I think I'm down to just the last parts of it now. I got all the fuel stuff sorted out, and the system primes just fine (well enough to point out my leaks at least)

I'm sitting in the car now on my laptop, and it won't start, but it's a flat battery, nothing else (or at least we can't be sure it's something else until the thing cranks...) My BAC was firing like crazy with the key in run (like a constant buzzing), even though the engine was not turning. Not quite sure what would cause this, but I'm fairly certain this is software related. It'll be unplugged for now, and I'll tune without it.

Edit:
Looking through the datalog, I was getting a steady 14 V at key on, and it only dropped to 12.6 volts while "cranking." Yet the starter never cranked over. The ecu doesn't touch the starter control circuit, does it? The wiring diagram has a wire coming off of the starter circuit going to the ecu, but it is in parallel to the starter, not in series, or controlling it.

Last edited by sft3303; 03-11-13 at 11:03 PM.
Old 03-12-13, 11:03 AM
  #31  
MegaSquirt Mod

 
muythaibxr's Avatar
 
Join Date: Sep 2004
Location: Maryland
Posts: 4,721
Likes: 0
Received 1 Like on 1 Post
Originally Posted by sft3303
Reloading the firmware fixed the problem, contrary to the error window's message.
Those errors mean you have 2 features using the same output pin. Reloading the firmware will fix it until you break it again by causing 2 features to use the same output pin again.

Ken
Old 03-12-13, 01:47 PM
  #32  
Full Member
Thread Starter
 
sft3303's Avatar
 
Join Date: Feb 2012
Location: Tuscaloosa, AL
Posts: 153
Likes: 0
Received 1 Like on 1 Post
Originally Posted by muythaibxr
Those errors mean you have 2 features using the same output pin. Reloading the firmware will fix it until you break it again by causing 2 features to use the same output pin again.

Ken
Duly noted. Thanks for the support! I think I found out later what I had actually done, as I was looking through my "bad" msq file that threw that error.

Still fighting the starter now though...
Old 03-12-13, 04:42 PM
  #33  
Full Member
Thread Starter
 
sft3303's Avatar
 
Join Date: Feb 2012
Location: Tuscaloosa, AL
Posts: 153
Likes: 0
Received 1 Like on 1 Post
The car is now cranking. Simple grounding strap was loose, from when I had re-installed the transmission. Everything under the car is buttoned up now.

Got it cranking now, but the car won't catch and start up. All my sensors are reading well, the CAS is syncing up just fine. Would an RPM below the RPM set in the cranking settings cause the car not to start? My datalog is showing 200 RPM for cranking, and I'm using Aaroncake's base settings (from his website post "How to Megasquirt Your 2nd Gen RX7") with recommended 300 RPM cranking speed. Any chance this would change anything?

I'm not sure what my spark outputs are doing yet, but I'm going to change this cranking rpm setting and see what happens from there.

I did flood out the rear rotor, should I pull fuel from the VE map or is there a cranking map I can pull fuel out of? On the plus side, I know my injectors are working, and I've got fuel.

EDIT:
Cranking rpm settings would do nothing. So nevermind. Still haven't got a running motor.

Last edited by sft3303; 03-12-13 at 04:56 PM.
Old 03-12-13, 10:54 PM
  #34  
Full Member
Thread Starter
 
sft3303's Avatar
 
Join Date: Feb 2012
Location: Tuscaloosa, AL
Posts: 153
Likes: 0
Received 1 Like on 1 Post
Again, sorry for the multi-posts, but I wanted to update the status of the car, as I'm still a bit confused.

I didn't change the cranking rpm settings, as that shouldn't have done anything in the first place.

I am not getting spark. We checked with a timing light at the spark plug wires, with a volt meter at the leading coil signal wire, at the megasquirt jumper board.

So: the megasquirt is not sending a spark signal to the wiring harness. I measured this by placing a voltmeter between IGN 1 and GND at the megasquirt as the car was cranked, and there was no voltage signal generated.

I'm not entirely sure where to go from here. I'm fairly confident in the build of the megasquirt, but I'm not so sure in my ignition jumpers/software setup. Any pointers here would be great.

Again, sorry for just bloating up my own thread, but this you guys ( & the great guys over at diyautotune) are the best help out there, and I really appreciate what I've gotten to get this far. Thanks all.
Old 03-14-13, 11:39 AM
  #35  
whats going on?

iTrader: (1)
 
SirCygnus's Avatar
 
Join Date: Mar 2004
Location: atlanta ga
Posts: 4,929
Received 8 Likes on 7 Posts
Use test mode to check for spark output and check test mode for injector output.
Old 03-14-13, 02:21 PM
  #36  
Full Member
Thread Starter
 
sft3303's Avatar
 
Join Date: Feb 2012
Location: Tuscaloosa, AL
Posts: 153
Likes: 0
Received 1 Like on 1 Post
Originally Posted by SirCygnus
Use test mode to check for spark output and check test mode for injector output.
I've not heard of this before. Is there somewhere I can read more about this?

Edit: Megamanual. Duh.

What exactly does this let me do? The manual says:

"To enable coil testing:
- choose the desired output interval (the estimated RPM equivalent is shown below.)
- set Coil testing mode to One
- choose which coil to test e.g. CoilA
- choose your dwell time in milliseconds. Start low. e.g. 2.5ms.
- if your coils are powered via the fuel pump relay as is recommended, set the fuel pump to On.
- with valid settings entered, the Start button should be active - click it.
- when finished, click Stop "

What happens between start and stop? A spark at a given dwell time? Basically, what results will this give us, and what will those results tell us?

Last edited by sft3303; 03-14-13 at 02:29 PM.
Old 03-14-13, 05:37 PM
  #37  
Full Member
Thread Starter
 
sft3303's Avatar
 
Join Date: Feb 2012
Location: Tuscaloosa, AL
Posts: 153
Likes: 0
Received 1 Like on 1 Post
Last update for a while, still no spark

Talked with Matt over at diyautotune.com and it looks like spark test mode is not available for the rotary motor yet.

Current status:
Had a couple of basic errors in my software setup (i.e., telling the software we were using a microsquirt diypnp module) and after that, I got a constant 5V signal with the key at "run" at the leading coil. Switched the spark setting to "going high/inverted" and the signal at the leading coil switched to a constant 0V.

After all of this, while cranking, I would get what appeared to be (on my analog multimeter) a constant 1/3V signal at the leading coil. This generated no spark, and the engine would not run.

Jumpering 5V from the VREF header on the DIYPNP board to the IGN 1 output, then removing the jumper would create a spark (this was tested with a spark plug pulled out of the engine).

I installed the stock ecu, and the car started, and ran (albeit poorly, but all the same, it started and would run well if you held the gas down and RPM's above 2000) so I'm fairly certain we've basically isolated the issue to inside the DIYPNP box.

Anyone have some insight? I'm lost.
Old 03-25-13, 09:56 PM
  #38  
Full Member
Thread Starter
 
sft3303's Avatar
 
Join Date: Feb 2012
Location: Tuscaloosa, AL
Posts: 153
Likes: 0
Received 1 Like on 1 Post
Update:

I've wired an LED inline with the spark output circuit, to get a glimpse into what's going on.

With rotary mode on, I either get a constant on light (spark set to "going low") or a constant light off (spark set to "going high/inverted"). This constant light is true whether or not the CAS is being spun.

If I turn rotary mode off (and change no other settings at all) then I start seeing what looks like a spark signal. A flashing light when the CAS is turned, and a constant light off when the CAS is stationary.

Any ideas folks?
Old 03-27-13, 08:11 AM
  #39  
whats going on?

iTrader: (1)
 
SirCygnus's Avatar
 
Join Date: Mar 2004
Location: atlanta ga
Posts: 4,929
Received 8 Likes on 7 Posts
Can you post up your pinout from the MS to the adapter board?

Im trying to do this on my side as well with a unit that i have.
Old 03-27-13, 10:41 AM
  #40  
Junior Member
 
ben@diyautotune's Avatar
 
Join Date: Dec 2010
Location: Atlanta
Posts: 21
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by sft3303
Update:

I've wired an LED inline with the spark output circuit, to get a glimpse into what's going on.

With rotary mode on, I either get a constant on light (spark set to "going low") or a constant light off (spark set to "going high/inverted"). This constant light is true whether or not the CAS is being spun.

If I turn rotary mode off (and change no other settings at all) then I start seeing what looks like a spark signal. A flashing light when the CAS is turned, and a constant light off when the CAS is stationary.

Any ideas folks?
I assume this testing is being done off car, with a power supply and LED. It is not advisable to do this with your ignition hooked up as the "going low" setting is likely to damage your coils. The ignition output setting must be set to "going high/inverted" when the coils are hooked up. This is very important or damage will occur.

Using the LEDs as spark output testers is fine. A multimeter won't do a lot though as they generally can not respond quickly enough to the square wave, pulsed ignition output. The best and most correct tool for looking at the ignition output signal is an oscilloscope.

It sounds like you have a problem somewhere in your configuration, either in the project properties and/or in the ignition settings. As you mentioned that you had problems previously in the project config, I would start by reloading firmware to the DIYPNP, and *make sure* that you load firmware as a microsquirt. Then set up a new project, again in the project configuration set up the ECU as a microsquirt module. The procedure and correct settings are shown in detail at the tutorial at the DIYPNP website:

Firmware loading

Project Config

Installing firmware and setting up a new project provides a blank slate to work from, in case you are dragging in any old problems. Think about it like ripping off a band-aid, let's just get it over with.

From there, you'll need to get your ignition settings correct. What trigger wheel are you using -- factory FC style CAS? What coils are you using, stock FC or something else?
Old 03-27-13, 11:18 AM
  #41  
Full Member
Thread Starter
 
sft3303's Avatar
 
Join Date: Feb 2012
Location: Tuscaloosa, AL
Posts: 153
Likes: 0
Received 1 Like on 1 Post
Originally Posted by ben@diyautotune
I assume this testing is being done off car, with a power supply and LED. It is not advisable to do this with your ignition hooked up as the "going low" setting is likely to damage your coils. The ignition output setting must be set to "going high/inverted" when the coils are hooked up. This is very important or damage will occur.

Using the LEDs as spark output testers is fine. A multimeter won't do a lot though as they generally can not respond quickly enough to the square wave, pulsed ignition output. The best and most correct tool for looking at the ignition output signal is an oscilloscope.

It sounds like you have a problem somewhere in your configuration, either in the project properties and/or in the ignition settings. As you mentioned that you had problems previously in the project config, I would start by reloading firmware to the DIYPNP, and *make sure* that you load firmware as a microsquirt. Then set up a new project, again in the project configuration set up the ECU as a microsquirt module. The procedure and correct settings are shown in detail at the tutorial at the DIYPNP website:

Firmware loading

Project Config

Installing firmware and setting up a new project provides a blank slate to work from, in case you are dragging in any old problems. Think about it like ripping off a band-aid, let's just get it over with.

From there, you'll need to get your ignition settings correct. What trigger wheel are you using -- factory FC style CAS? What coils are you using, stock FC or something else?
The testing is being done on a bench, but the coils are not hooked up. I realize that damage could by done by leaving the "charge" signal (constant 5V) on, and as such made sure that this isn't happening.

I'm using stock FC ignition set up. So factory FC CAS, and stock FC coil setup (wasted spark leading coils, toggled trailing coils)

I'll try starting over with the firmware, perhaps I loaded ms2 firmware or something. I'll start over fresh and go from there.

SirCygnus- the pinout for the break-out-board is on page 1 I think, but it's missing ignition outputs iirc. I'll post up another pinout shortly.

Thanks so much for the help guys.
Old 03-27-13, 06:34 PM
  #42  
Full Member
Thread Starter
 
sft3303's Avatar
 
Join Date: Feb 2012
Location: Tuscaloosa, AL
Posts: 153
Likes: 0
Received 1 Like on 1 Post
So I reloaded the 3.2.4 firmware, started a brand new project, basically started all over, and it is still giving me the same problem. Basically works in every mode except what I need.

So it gives me spark in rotary "off", and in rotary "on" with RX8 mode enabled, but not in FD and FC mode with RX8 mode disabled.

Any thoughts?
Old 03-28-13, 06:25 AM
  #43  
whats going on?

iTrader: (1)
 
SirCygnus's Avatar
 
Join Date: Mar 2004
Location: atlanta ga
Posts: 4,929
Received 8 Likes on 7 Posts
send the msq to ForumHelp@DIYAutotune.com. ill be able to see whats going on.
Also, send me the pinout of what you got going on.
Old 03-28-13, 09:41 AM
  #44  
Junior Member
 
ben@diyautotune's Avatar
 
Join Date: Dec 2010
Location: Atlanta
Posts: 21
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by sft3303
So I reloaded the 3.2.4 firmware, started a brand new project, basically started all over, and it is still giving me the same problem. Basically works in every mode except what I need.

So it gives me spark in rotary "off", and in rotary "on" with RX8 mode enabled, but not in FD and FC mode with RX8 mode disabled.

Any thoughts?
As Peter said, I'd like to verify your .msq.

Also, please verify that you installed a 5V pullup on the WLED position (R2) for spark C logic signal.

In FC mode: Spark A is leading coil logic, Spark B is trailing coil logic, Spark C is coil select.
RX8 mode uses all 4 spark outputs for use with coil per plug.

The correct setup for a stock FC ignition system would be rotary on, FC mode enabled (FD mode and RX8 mode disabled).

Last edited by ben@diyautotune; 03-28-13 at 09:45 AM.
Old 03-28-13, 10:38 AM
  #45  
Full Member
Thread Starter
 
sft3303's Avatar
 
Join Date: Feb 2012
Location: Tuscaloosa, AL
Posts: 153
Likes: 0
Received 1 Like on 1 Post
Originally Posted by ben@diyautotune
As Peter said, I'd like to verify your .msq.

Also, please verify that you installed a 5V pullup on the WLED position (R2) for spark C logic signal.

In FC mode: Spark A is leading coil logic, Spark B is trailing coil logic, Spark C is coil select.
RX8 mode uses all 4 spark outputs for use with coil per plug.

The correct setup for a stock FC ignition system would be rotary on, FC mode enabled (FD mode and RX8 mode disabled).
I'll send a copy to that address, do I need to send a copy to another address as well?

I've got the 51K pullup in the R2 position.

I'm aware of how the proper setup should be for my car, I'm just telling you what did produce a signal (as if it may eliminate circuit problems or something).

Currently, all of my testing with the LED producing spark signals has been from the spark A output. (Connecting the LED between spark A and GND)

If it helps at all, my testing setup is out of the car, on a bench, with nothing but a CAS, the Megasquirt diypnp v1.5, and my laptop. I'm away at school and the car is not near me currently. I will be able to go home this weekend, but just so we're all on the same page, I don't have coils connected, I'm not trying to start the car in FD mode or anything, I'm just kind of playing with things to see what makes the LED flash and what doesn't, and reporting that back to you. I'm not going to try to connect it to the car and start it (knowingly) in any other mode than what is prescribed for my vehicle (s5 n/a FC).

Thanks guys.
Old 03-28-13, 12:51 PM
  #46  
Junior Member
 
ben@diyautotune's Avatar
 
Join Date: Dec 2010
Location: Atlanta
Posts: 21
Likes: 0
Received 0 Likes on 0 Posts
Got your msq via email.

Under basic setup > tach/ignition settings, please change the number of coils from "single coil" to "wasted spark" under the pull down menu. Power cycle and re-test. I think that will fix it.

Also R2 should be either 100 ohm or 470 ohm, 51K is much too high of a value and wouldn't provide any significant pullup.

The 51k goes in R21, and you should have R20 and R39 unpopulated.
Old 03-28-13, 01:35 PM
  #47  
Full Member
Thread Starter
 
sft3303's Avatar
 
Join Date: Feb 2012
Location: Tuscaloosa, AL
Posts: 153
Likes: 0
Received 1 Like on 1 Post
Responded via email, but for those of you playing along at home:

I must have had r2 and r21 confused in my head when I said that. i have a 100 ohm resistor in the r2 position, and a 51k installed in the r21 position. r20 and r39 are unpopulated.

Changing to wasted spark did nothing, and I believe that setting was already set that way before I flashed the firmware and started over with a new project.

Just figured I'd copy a response here, in case someone with the same problem were to search for a solution.
Old 03-28-13, 07:35 PM
  #48  
Full Member
Thread Starter
 
sft3303's Avatar
 
Join Date: Feb 2012
Location: Tuscaloosa, AL
Posts: 153
Likes: 0
Received 1 Like on 1 Post
I wired up some more LED's today.

They show the signals at IG2 and WLD, and I get the trailing fire signal and trailing select toggle signal at their respective pins, but still nothing from IG1 unless Rx8 mode is engaged.

Just a thought, could I just use the signal from IG1 in RX8 mode to fire the leading coil, and just go without trailing coils for a while? Just so I can have my car back?

So basically, is the signal generated by IG1 & IG2 in RX8 mode the same as the signal generated by IG1 in FD/FC mode? Or is IG1 and IG2 separated by 180*? (like is this a true COP setup, or are the two leading plugs in RX8 mode still firing in a wasted spark manner?)

Just a thought, if it's dumb then I won't try it. But I'd appreciate some thoughts on that if I can get any.
Old 03-28-13, 08:56 PM
  #49  
whats going on?

iTrader: (1)
 
SirCygnus's Avatar
 
Join Date: Mar 2004
Location: atlanta ga
Posts: 4,929
Received 8 Likes on 7 Posts
you can run without trailing coils. just dont run boost.
Old 03-28-13, 09:29 PM
  #50  
Junior Member
 
denverstone's Avatar
 
Join Date: Aug 2012
Location: North Texas
Posts: 13
Likes: 0
Received 0 Likes on 0 Posts
Just for those of us following along, can you share the email information if it is pertinent? I am building this kit as well but I am waiting to see if you can sort out your issue before I head down the same path.


Quick Reply: Megasquirt DIYPNP bought, built, q's remain



All times are GMT -5. The time now is 02:17 PM.