Notices
MEGAsquirt A place to collectively sort out this megasquirt gizmo

A better Spark Out circuit.

Thread Tools
 
Search this Thread
 
Old Dec 4, 2010 | 10:26 PM
  #121  
ScottFW's Avatar
Senior Member
iTrader: (4)
 
Joined: Jan 2008
Posts: 1,361
Total Cats: 17
From: Falls Church, VA
Default

Originally Posted by SteyrTMP
Why are the IGN and IAC wires crossed here:

http://miataturbo.wikidot.com/ms2-a
Because you have to swap the spark outputs when upgrading from MS1 to MS2/3.
Old Mar 26, 2011 | 03:42 AM
  #122  
DXO's Avatar
DXO
Junior Member
iTrader: (2)
 
Joined: Jul 2008
Posts: 229
Total Cats: 1
From: Kannapolis, NC
Default

Images are down. I was hoping to use it but I guess I have to wait now...
Old Mar 26, 2011 | 08:03 AM
  #123  
Reverant's Avatar
Elite Member
iTrader: (10)
 
Joined: Jun 2006
Posts: 6,020
Total Cats: 369
From: Athens, Greece
Default

I have an even better inverted output circuit, no transistors needed. You need:

2x 100Ohm resistors
2x 100KOhm resistors
2x clipped legs from diodes (a little thicker than resistor legs)

Do NOT install any of the components required for the LED circuits (D14, D15, D16, R24, R25, R26, R27, R28, R29, Q6, Q7, Q8)

Install the 100Ohm resistors in place of R26 and R29. Install the 100KOhm resistors like this: One leg of the resistor goes to the round hole of the LED (ie the bottom of the two holes) and the other leg of the resistor goes to the top hole of the three transistor holes. Then connect the bottom leg of the 100K resistor with the bottom leg of the 100Ohm resistor. Output to the coil is the hole of the R24, R28 resistor. Like this:

Name:  DSC_4857_1.jpg
Views: 345
Size:  21.2 KB

Win!
Old Mar 27, 2011 | 06:21 AM
  #124  
SnaG's Avatar
Newb
 
Joined: Feb 2007
Posts: 9
Total Cats: 0
Default

is it okay to use BC547 transistors instead of the listed ones?
they have a IC continous of 100mA should be enough or?

thx for your concern ;-)
Old Mar 27, 2011 | 07:50 AM
  #125  
Reverant's Avatar
Elite Member
iTrader: (10)
 
Joined: Jun 2006
Posts: 6,020
Total Cats: 369
From: Athens, Greece
Default

The BC547 has the pins reversed compared to the 2N3904, so you should put it the other way around. It also can sink half the current, but I don't think that would be a problem. Why not do what I described above?
Old Mar 27, 2011 | 11:46 AM
  #126  
SnaG's Avatar
Newb
 
Joined: Feb 2007
Posts: 9
Total Cats: 0
Default

i have the SMD 3.57 Board, so i don't like to solder there.

the mod works fine, no more popping before startup, and finally my splitfire cops are safe :-)

greetings
Old Mar 27, 2011 | 05:28 PM
  #127  
Reverant's Avatar
Elite Member
iTrader: (10)
 
Joined: Jun 2006
Posts: 6,020
Total Cats: 369
From: Athens, Greece
Default

Oh ok, that indeed limits your options. Cheers if it works!
Old Mar 27, 2011 | 07:16 PM
  #128  
MD323's Avatar
Junior Member
 
Joined: Sep 2010
Posts: 369
Total Cats: 3
From: SFL
Default

Advantage?

Beyond the obvious weight reduction
Old Aug 22, 2011 | 06:56 PM
  #129  
Androo's Avatar
Newb
 
Joined: Jul 2008
Posts: 19
Total Cats: 0
Default

Can I use Reverant's even better inverted output circuit alongside Braineak's fan mod on post #4 on the "how to" guide? (this one: https://www.miataturbo.net/useful-saved-posts-8/how-make-install-your-own-diy-megasquirt-13676/)

(this would require me to leave in D15, R25, R27 and swap out Q7 for Q4 - and hence conflicts with Reverant's instruction to leave out these components)?
Old Aug 22, 2011 | 07:34 PM
  #130  
Joe Perez's Avatar
Thread Starter
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 34,402
Total Cats: 7,523
From: Chicago. (The less-murder part.)
Default

Originally Posted by Reverant
I have an even better inverted output circuit, no transistors needed.
(...)
Install the 100Ohm resistors in place of R26 and R29. Install the 100KOhm resistors like this: One leg of the resistor goes to the round hole of the LED (ie the bottom of the two holes) and the other leg of the resistor goes to the top hole of the three transistor holes. Then connect the bottom leg of the 100K resistor with the bottom leg of the 100Ohm resistor. Output to the coil is the hole of the R24, R28 resistor. Like this:
It seems that your intention here is to drive the igniter directly with the output pin of the CPU itself. Now, granted, according to the spec sheet for the 68HC908, the PTC4 pins are capable of driving 25ma, but there's also a max rating of 50ma for all of the PTC, PTE and PTD0-3 pins combined.

So, I guess it would work, it just sort of bothers me to connect CPU pins directly to ignition coils, and to operate this closely to the published maximums.
Old Aug 23, 2011 | 02:01 AM
  #131  
Reverant's Avatar
Elite Member
iTrader: (10)
 
Joined: Jun 2006
Posts: 6,020
Total Cats: 369
From: Athens, Greece
Default

Joe, that is how it is done on the microsquirt and microsquirt module. So I guess it is perfectly safe. I've been doing this for quite a while, no problems whatsoever.
Old Jan 20, 2012 | 01:26 PM
  #132  
2004GS's Avatar
Junior Member
iTrader: (1)
 
Joined: Jan 2006
Posts: 99
Total Cats: 2
From: Ontario, Canada
Default

I have d14 and d16 installed on my board, after doing this mod should they be on or off when I power up the ms2? They are always on right now....

When q6 has no signal at its base does that mean d16 is conduction to ground, so it's on?

I do have the spark output set to inverted in tuner studio. Not sure if the burn is working or not though.

I'm new at this so please be gentle.
Old Jan 31, 2012 | 03:55 PM
  #133  
gslender's Avatar
Junior Member
iTrader: (1)
 
Joined: Jun 2011
Posts: 178
Total Cats: 3
From: Australia
Default

Mmm, interesting. Are there tips for DIYPNP owners?

G
Old Jan 31, 2012 | 03:59 PM
  #134  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 80,552
Total Cats: 4,368
From: Chantilly, VA
Default

Originally Posted by gslender
Mmm, interesting. Are there tips for DIYPNP owners?

G
what do you mean?
Old Jan 31, 2012 | 04:02 PM
  #135  
JustinHoMi's Avatar
Junior Member
 
Joined: Jul 2005
Posts: 273
Total Cats: 1
From: Hillsborough, NC
Default

This spark output circuit isn't necessary for the DIYPnP. The output is already inverted.
Old Jan 31, 2012 | 04:04 PM
  #136  
gslender's Avatar
Junior Member
iTrader: (1)
 
Joined: Jun 2011
Posts: 178
Total Cats: 3
From: Australia
Default

Originally Posted by JustinHoMi
This spark output circuit isn't necessary for the DIYPnP. The output is already inverted.
Sweet. Good to know!

G
Old Jan 31, 2012 | 08:03 PM
  #137  
gslender's Avatar
Junior Member
iTrader: (1)
 
Joined: Jun 2011
Posts: 178
Total Cats: 3
From: Australia
Default

hang on, so are we saying that DIYPNP has the output inverted and therefore doesn't need to have the coils unplugged when burning - so why do DIYAutotune still recommend it in their online docs?

http://www.diyautotune.com/diypnp/ap...3-16b6-mt.html
Old Jan 31, 2012 | 08:29 PM
  #138  
gslender's Avatar
Junior Member
iTrader: (1)
 
Joined: Jun 2011
Posts: 178
Total Cats: 3
From: Australia
Default

Hang on, isn't inverted the issue - do you need to be configured for Normal or Inverted for the spark/coils to be not active when burning or when initially turning on before the CPU starts... I'm clearly now confused.

G
Old Jan 31, 2012 | 09:56 PM
  #139  
Joe Perez's Avatar
Thread Starter
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 34,402
Total Cats: 7,523
From: Chicago. (The less-murder part.)
Default

Originally Posted by gslender
do you need to be configured for Normal or Inverted for the spark/coils to be not active when burning or when initially turning on before the CPU starts... I'm clearly now confused.
To clarify:

The selection of "Normal" or "Inverted" in the software has no effect whatsoever on whether the spark outputs will float high when the MS is first powered on or during a reflash. That is purely a function of the design of the circuit which will drive the coils. The software selection is used to match the circuit design so that the system functions properly in normal operation (after the CPU has booted up and is operating.)

If you build an MS1 or MS2 per the "old" instructions, then you must select "Not Inverted" in the software. (This is ironic, and a poor choice of words, as that circuit is technically inverting relative to the CPU.)

If you build the system as per my "improved" spark output driver, then you must select "Inverted" in the software. (Which is, again, ironic, as my circuit is technically non-inverting.)

But again, the software setting is used only to make the behavior of the CPU match the design of the circuit while it is on-line and operating normally. What happens before the CPU is booted up (or while it is offline as during a reflash) is outside the software's control.



Originally Posted by gslender
hang on, so are we saying that DIYPNP has the output inverted and therefore doesn't need to have the coils unplugged when burning - so why do DIYAutotune still recommend it in their online docs?
DIY has not published the schematics for the DIYPnP board, so I can only speculate here, however my guess would be that they used a circuit similar to mine when they created the DIYPnP. This was a smart move on their part, as it eliminates the possibility of a customer frying their ignition coils during a software update.
Old Feb 1, 2012 | 09:30 AM
  #140  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 80,552
Total Cats: 4,368
From: Chantilly, VA
Default

Joe, this is the DIYPNP (micosquirt module) spark outputs:



It's kinda like coming off R29 and R26 directly and running inverted. I think I had my MS setup this way when I first installed it in 2006.
Attached Thumbnails A better Spark Out circuit.-module-schm9.jpg  



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