Abe & JasonC's NB Cam & Crank input circuits
#101
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Apologies for the bone questions...I've asked a few over the last few days. Anyway I'm building my ms2 at the moment. Have completed up to and not including tach inputs as per the msextra manual. Just wanted to clarify a couple of things here:
1. I presume that this replaces the tach input instructions in msextra and I should ignore them?
2. Trying to get my head around the diagram. Is it the same opamp for circuit A and B?
3. I'm not sure I even know what an opamp does...does opamp operate like two transistors in the same 8 pin package.
4. Do the raw signals come in tach select and iac1a and the new signals go out to tsel and js8? Do I need to make any other connections on the board apart from this (not talking about the spark output yet that can wait for another day)
1. I presume that this replaces the tach input instructions in msextra and I should ignore them?
2. Trying to get my head around the diagram. Is it the same opamp for circuit A and B?
3. I'm not sure I even know what an opamp does...does opamp operate like two transistors in the same 8 pin package.
4. Do the raw signals come in tach select and iac1a and the new signals go out to tsel and js8? Do I need to make any other connections on the board apart from this (not talking about the spark output yet that can wait for another day)
#102
Boost Pope
![](/mt2011/images_td/ranks/supporter1.gif)
![](/mt2011/images_td/ranks/smod.png)
Thread Starter
iTrader: (8)
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,340
Total Cats: 6,793
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
2. Trying to get my head around the diagram. Is it the same opamp for circuit A and B?
Op-Amps are extremely inexpensive and simple circuits, and for the purposes of economy, they common come packaged as multiple op-amps in a single chip. The specific device described here (the LM393) is two op-amps packaged in a single housing. So, in the schematic, parts A and B are two separate op-amp circuits that just happen to be sitting side by side on the same chip.
3. I'm not sure I even know what an opamp does...does opamp operate like two transistors in the same 8 pin package.
In our case, we are exploiting the extreme non-linearity inherent in most op-amps to create a comparator. Essentially, we apply a reference voltage (created by a simple resistive voltage divider) to the + pin, and apply the signal to be discriminated (the sensor output) to the - pin. When the signal at the - pin (the sensor output) becomes more positive than the reference voltage, the amplifier output turns off. When the sensor output becomes less positive than the reference, the amplifier turns on. There's a bit more to it than that (we are applying a low-pass filter, and also configuring the circuit to exhibit hysteresis, both the the purpose of filtering out noise), but that's essentially the gist of it.
As a matter of trivia, an op-amp generally consists of a few dozen transistors along with some passives.
4. Do the raw signals come in tach select and iac1a and the new signals go out to tsel and js8?
Do I need to make any other connections on the board apart from this (not talking about the spark output yet that can wait for another day)
Incidentally, this whole circuit is obsolete as hell now that we've discovered the MAX9926. It still works fine in most applications, though my personal preference is for the Maxim chip, as it exhibits noise-rejection characteristics which defy belief.
Last edited by Joe Perez; 10-22-2013 at 08:40 AM.
#104
Boost Czar
![](/mt2011/images_td/ranks/supporter1.gif)
![](/mt2011/images_td/ranks/admin.png)
iTrader: (62)
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,688
Total Cats: 4,113
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
what are you trying to build.
there's honestly no reason to build Abe's circuit or use the max9926.
Use the VR input for the crank, and the ms3x expander board input for the cam (or the invereted opto in for the cam) and be done with it.
#106
Boost Czar
![](/mt2011/images_td/ranks/supporter1.gif)
![](/mt2011/images_td/ranks/admin.png)
iTrader: (62)
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,688
Total Cats: 4,113
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
populate the both the VR and opto circuits when builing your MS.
You'll use the VR for the crank input (inverted out) and the Opto for the cam. It couldn't be easier because there's no extra components to populate, you just add the appropriate jumpers and a pull up.
if the circuit cause people problems, then the problem is the people.
#108
Boost Pope
![](/mt2011/images_td/ranks/supporter1.gif)
![](/mt2011/images_td/ranks/smod.png)
Thread Starter
iTrader: (8)
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,340
Total Cats: 6,793
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
It's not proprietary to a Miata. It's designed to work with any vehicle that uses two open-collector sensors, which I'd dare wager is at least 50% of the cars on the road today.
In electronics, there are rarely absolutes.
The "VR" circuit on the MS is optimized for VR operation*, but capable of functioning with any sensor whose output falls within its range of detectability. In this case, the pullup brings the signal into the range of voltages which the circuit can trigger on.
* = actually, it's not optimized very well at all. Speaking from personal experience, the '9924/9926 have far better false-trigger protection.
The "VR" circuit on the MS is optimized for VR operation*, but capable of functioning with any sensor whose output falls within its range of detectability. In this case, the pullup brings the signal into the range of voltages which the circuit can trigger on.
* = actually, it's not optimized very well at all. Speaking from personal experience, the '9924/9926 have far better false-trigger protection.
#109
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Question about the vr circuits braineack mentions in post #106.
Do I only need to install the components mentioned here MS2-Extra Miata Manual
Or do I need to install the components in the ms manual that are part of the vr build process?
Do I only need to install the components mentioned here MS2-Extra Miata Manual
Or do I need to install the components in the ms manual that are part of the vr build process?
#110
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Interesting side not...
We are working on the ME221 based PnP for the MX5 NB - We use the Max9926 as our input conditioner - currently we are seeing the crank signal 'dissapear' at around 2000rpm then come back, then go again (at around 500mS interval on the logic analsyer). I am putting this down to the fact we are use 470ohm pull-ups to 5v as opposed to 3k3 (as per OEM) so I suspect the sensor is overheating or something to that effect - going to try 3k3 today and will report back
Maybe helpful for those who have had this issue (if any!)
Matt
We are working on the ME221 based PnP for the MX5 NB - We use the Max9926 as our input conditioner - currently we are seeing the crank signal 'dissapear' at around 2000rpm then come back, then go again (at around 500mS interval on the logic analsyer). I am putting this down to the fact we are use 470ohm pull-ups to 5v as opposed to 3k3 (as per OEM) so I suspect the sensor is overheating or something to that effect - going to try 3k3 today and will report back
![](https://www.miataturbo.net/images/smilies/smile.gif)
Matt
#112
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Hi all,
First off, I'm really sorry to ask these questions, but I'm having trouble getting straight in my head exactly what I need to do to get this to work.
Car: 1998 NB MX5
Megasquirt PCB: V3.0
Processor: MS2
Which circuit(s) should I build to condition the crank and cam inputs? The images on this thread are showing "Bandwidth exceeded" - has anyone got a copy of the diagrams?
Once the circuit(s) are built, do I set the inputs on the PCB up like so?
Megasquirt (V3.0 board) - Tach input
Crank:
"V3.0 board - VR Input for logic input e.g. TFI, EDIS, GMDIS, LS1/24X, modules
a) Solder a link between VRIN and TACHSELECT
b) Solder a wire between VrOUT and TSEL
c) With a small screwdriver, turn the pots, R52 and R56, about 12 turns anticlockwise (sometimes you may feel a "click" when the end position is reached, they can't be damaged by turning too far.)
d) Turn R56 back about 6 turns clockwise. "
Cam:
MS3X card - Cam Input
MS3X card cam
For hall or optical sensor inputs.
a) Install the jumper across JP7
b) Turn both pots (R11 and R32) 7 turns anti-clockwise (sometimes you may feel a "click" when the end position is reached, they can't be damaged by turning too far.)
c) Then turn the top one (R11) 3 turns clockwise.
Is that right?
Sorry again, I'm just having a bit of information overload with this. I'm not new to MS, I have had this particular ECU running on another car before, I'm just not entirely sure what I need to do to make it run on my MX5
First off, I'm really sorry to ask these questions, but I'm having trouble getting straight in my head exactly what I need to do to get this to work.
Car: 1998 NB MX5
Megasquirt PCB: V3.0
Processor: MS2
Which circuit(s) should I build to condition the crank and cam inputs? The images on this thread are showing "Bandwidth exceeded" - has anyone got a copy of the diagrams?
Once the circuit(s) are built, do I set the inputs on the PCB up like so?
Megasquirt (V3.0 board) - Tach input
Crank:
"V3.0 board - VR Input for logic input e.g. TFI, EDIS, GMDIS, LS1/24X, modules
a) Solder a link between VRIN and TACHSELECT
b) Solder a wire between VrOUT and TSEL
c) With a small screwdriver, turn the pots, R52 and R56, about 12 turns anticlockwise (sometimes you may feel a "click" when the end position is reached, they can't be damaged by turning too far.)
d) Turn R56 back about 6 turns clockwise. "
Cam:
MS3X card - Cam Input
MS3X card cam
For hall or optical sensor inputs.
a) Install the jumper across JP7
b) Turn both pots (R11 and R32) 7 turns anti-clockwise (sometimes you may feel a "click" when the end position is reached, they can't be damaged by turning too far.)
c) Then turn the top one (R11) 3 turns clockwise.
Is that right?
Sorry again, I'm just having a bit of information overload with this. I'm not new to MS, I have had this particular ECU running on another car before, I'm just not entirely sure what I need to do to make it run on my MX5
![](https://www.miataturbo.net/images/smilies/smile.gif)
#115
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Do I need an expander board? That's another thing I've not really heard of.
Sorry for all the dumb questions.
FWIW I plan on running batch fire rather than sequential - isn't the expansion board to provide the extra injector outputs to run sequential?
And does anyone have the circuit diagrams for the input conditioner circuit? All the images in the original post on this thread are still showing bandwidth exceeded.
Cheers
Sorry for all the dumb questions.
FWIW I plan on running batch fire rather than sequential - isn't the expansion board to provide the extra injector outputs to run sequential?
And does anyone have the circuit diagrams for the input conditioner circuit? All the images in the original post on this thread are still showing bandwidth exceeded.
Cheers
![](https://www.miataturbo.net/images/smilies/smile.gif)
Thread
Thread Starter
Forum
Replies
Last Post
Zaphod
MEGAsquirt
47
10-26-2018 11:00 PM
Frank_and_Beans
Supercharger Discussion
13
09-12-2016 08:17 PM
Greasyman
General Miata Chat
2
09-28-2015 10:44 AM