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/)
-   -   Need help wiring up aem wideband to megasquirt (https://www.miataturbo.net/megasquirt-18/need-help-wiring-up-aem-wideband-megasquirt-10042/)

krayzrac3r 05-22-2007 03:02 PM

Need help wiring up aem wideband to megasquirt
 
Alright guys, I just got an aem wideband and want to be able to hook it up to the megasquirt pnp and have it work. I suck with electronics and get nothing but confused. These are instructions Jerry at diyautotune sent me but it got me even more confused. Can anyone help or give some more info/pix or anything?


"As for the wideband just install it according to it's docs, share ground with the ECU (you'll strip one of the ECU harnesses ground wires to do this, and use this for the wideband computers ground, if it has a separate heater ground put that elsewhere), wire the output from the wideband to the MS o2 input (easiest way may be to simply tie it into the stock o2 sensor wire), unlplug the stock O2 sensor so it won't interfere, and then setup the MSPNP for the AEM wideband in the Configurator and in MegaTune." -Jerry

Ben 05-22-2007 03:09 PM

what don't you understand? hooking it up or configuring the ms?

neither is difficult. install the wb gauge per its directions. it's going to need +12v and ground. both are at the ecu harness. then you'll need to hook up the wb analog out to the ms. there are 2 options for doing so, both explained in the manual. i snipped the stock nb wire, but it would have been smarter to use the middle connector. :doh:

then you'll need use the ms configurator, it's obvious enough how to use, and there are a couple of settings changes in megatune. it's all in the manual, follow it step by step.

krayzrac3r 05-22-2007 03:13 PM

configuring the ms isnt the problem...my issue was hooking it up and actually wiring it up.

Braineack 05-22-2007 03:27 PM

the aem has four wires....correct?

black red white and blue.

black is ground, MS has plenty of those (even the frame, block, etc.)

red is power, MS has plenty of those

white goes to O2. So you either splice into the wire for it and disconnect the O2 sensor. Or leave it installed and simply cut the O2 wire (pink) and wire it to the White AEM wire.

blue is unused.

krayzrac3r 05-22-2007 03:47 PM

hmm braineak interesting and shit i hate being a newb at this. Jerry just sent me an email saying I should tap the ecu harness. According to Jerry 2A-2D are grounds, and 1B is power.

http://mail.google.com/mail/?attid=0...2b532b5ad18e9c

So that being said tell me if this seems right. I should

tap BLACK AEM wire to 2A-2D (one of them)
tap RED AEM wire to 1B

and as far as the 02 sensor goes, If i want to leave the O2 sensor I cut the pink O2 sensor wire and tap in the white aem line on it ?


Sorry for being annoying as fuck and asking a million questions.

Braineack 05-22-2007 03:58 PM

sounds right,

the NA O2 pin is 2N (red/blu), slice onto that, and just disconnect the oem sensors from the harness near the coils.

castillejos2000 05-22-2007 04:41 PM

is that a good source or accurate reading by connecting your aem wideband to pin 2n and disconnect the nb,whats the pin #10 on pnpms for alternate wbo2 can he just connect thru there.??

Braineack 05-22-2007 04:52 PM

as per thier instructions


There are two ways of connecting the controller to the MSPNP. You can either connect the analog output to pin 10 of the MSPNP center connector, or you can cut and splice the oxygen sensor signal wire to the analog output. If you use pin 10 for wideband input, you must disconnect the stock oxygen sensor. Do not ground the oxygen sensor wire if you disconnect it; leave it completely unconnected and taped off if necessary (make sure it can’t short to ground or anything else).

hustler 05-22-2007 05:46 PM


Originally Posted by Braineack (Post 116062)
as per thier instructions

so I need power, ground, signal to the stock wire, and let the other wire be?

What should I use for the switched power source? Do I need to create a relay circuit for the o2, knocksense, gauges, and whatever else? I don't know much about the miata's electrical system.

Braineack 05-22-2007 05:55 PM

read post #5 and then go ahead and erase your post...

kenzo42 06-14-2008 01:21 AM


Originally Posted by Braineack (Post 116034)
sounds right,

the NA O2 pin is 2N (red/blu), slice onto that, and just disconnect the oem sensors from the harness near the coils.

Newb question:

Where is the car getting the narrowband signal from, if the oem O2 sensor plug is disconnected?

When I look at BEGI's DP, I notice there's a place for a NB and an optional WB bung. Why even place a NB bung if the oem O2 sensor just gets disconnected?

I'm pretty sure I'm thinking of this wrong. Can someone please school me?

IcantDo55 06-14-2008 01:25 AM

I'm 90% sure mine had
red---power
black---ground
white---serial output
Pink--- 0-5V out

Joe Perez 06-14-2008 02:57 AM


Originally Posted by kenzo42 (Post 271149)
Where is the car getting the narrowband signal from, if the oem O2 sensor plug is disconnected?

With a standalone Megasquirt, no narrowband signal is needed.



When I look at BEGI's DP, I notice there's a place for a NB and an optional WB bung. Why even place a NB bung if the oem O2 sensor just gets disconnected?
Because a lot of people run both an NB and a WB sensor. Those using piggyback ECUs, those using old-school fuel management with a gaug-only WBO2 sensor, etc. Only those of us with a full standalone ECU (or who trust the LC-1's simulated narrowband output) can discard the narrowband sensor altogether.

kenzo42 06-14-2008 03:01 AM

Thanks Joe.

Since I will be running MS in parallel and will need a NB since I'm not standalone, what is the correct way to wire the UEGO into the MS?


Originally Posted by Joe Perez (Post 271175)
With a standalone Megasquirt, no narrowband signal is needed.


Because a lot of people run both an NB and a WB sensor. Those using piggyback ECUs, those using old-school fuel management with a gaug-only WBO2 sensor, etc. Only those of us with a full standalone ECU (or who trust the LC-1's simulated narrowband output) can discard the narrowband sensor altogether.


Joe Perez 06-14-2008 03:07 AM


Originally Posted by kenzo42 (Post 271177)
Since I will be running MS in parallel and will need a NB since I'm not standalone, what is the correct way to wire the UEGO into the MS?

Ok, first off, understand that the instructions you quoted earlier were for an MSPNP, which is a standalone.

For a parallel install, leave the stock NB sensor and wiring completely alone, and simply connect the wideband's 0-5 volt output to the Megasquirt's O2 sensor input, and configure the MS software appropriately. That's it- no cutting, no splicing, just one connection.

Extra point: make sure the WBO2 controller is grounded to the same point as the MS.

kenzo42 06-14-2008 03:18 AM

I didn't realize it would be that easy.

Does parallel MS even need an O2 signal on pin 23 then, assuming hypothetically it wasn't occupied by the WB?


Originally Posted by Joe Perez (Post 271178)
Ok, first off, understand that the instructions you quoted earlier were for an MSPNP, which is a standalone.

For a parallel install, leave the stock NB sensor and wiring completely alone, and simply connect the wideband's 0-5 volt output to the Megasquirt's O2 sensor input, and configure the MS software appropriately. That's it- no cutting, no splicing, just one connection.

Extra point: make sure the WBO2 controller is grounded to the same point as the MS.


Joe Perez 06-14-2008 03:34 AM


Originally Posted by kenzo42 (Post 271181)
Does parallel MS even need an O2 signal on pin 23 then, assuming hypothetically it wasn't occupied by the WB?

Define "need."

You don't technically need beer in order to survive, but there's no logical reason to go without it.

Likewise, if you run with no O2 correction (EGO authority = 0) then no, the MS does not need an O2 sensor input. But there's no good reason not to hook it up- if you have no O2 sensor at all then your idle and cruise mixture will never be perfect. Even if you don't have a wideband, connecting the narrowband sensor will allow you to run closed-loop in the lower MAP rows.

kenzo42 06-14-2008 04:27 AM

I'm a dimwit in the electronics department, so please bear w/ me.


Originally Posted by Joe Perez (Post 271178)
For a parallel install, leave the stock NB sensor and wiring completely alone, and simply connect the wideband's 0-5 volt output to the Megasquirt's O2 sensor input.

If I leave all the NB wiring alone, how can I run MS's O2 correction if there's no NB wiring going to MS?


Even if you don't have a wideband, connecting the narrowband sensor will allow you to run closed-loop in the lower MAP rows.
Where will the NB connect to, since the WB now occupies pin 23?

Thanks again. I'm a fool.

kotomile 06-14-2008 10:56 AM


Originally Posted by kenzo42 (Post 271187)
I'm a dimwit in the electronics department, so please bear w/ me.



If I leave all the NB wiring alone, how can I run MS's O2 correction if there's no NB wiring going to MS?



Where will the NB connect to, since the WB now occupies pin 23?

Thanks again. I'm a fool.

The WB02 goes to the MS, the NB goes to the stock ECU.

Joe Perez 06-14-2008 11:21 AM


Originally Posted by kotomile (Post 271231)
The WB02 goes to the MS, the NB goes to the stock ECU.

What he said.


In a parallel install, the Megasquirt is in full command of fuel. It wants to see the WBO2 to determine where the mixture is so that EGO correction can work. The Megasquirt does not need a narrowband sensor IF it is connected to a wideband sensor.

The stock ECU cannot read a wideband output, only a narrowband. From an operational standpoint, it doesn't really need an O2 sensor signal (since it's not controlling fuel anymore) however it doesn't know this and will throw a CEL if you don't give it one.

So, the wideband connected to the MS is what's actually controlling the fuel, the narrowband connected to the stock ECU is there just to keep it happy.

If you do not have a wideband, then the narrowband sensor can be connected to both devices, however this is a sub-optimal situation as you won't be able to tune for any mixture other than 14.7:1.


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


© 2024 MH Sub I, LLC dba Internet Brands