MEGAsquirt A place to collectively sort out this megasquirt gizmo

Need help wiring up aem wideband to megasquirt

Thread Tools
 
Search this Thread
 
Old 05-22-2007, 03:02 PM
  #1  
Guest
Thread Starter
 
krayzrac3r's Avatar
 
Join Date: Mar 2006
Location: So Cal
Posts: 407
Total Cats: 0
Default 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
krayzrac3r is offline  
Old 05-22-2007, 03:09 PM
  #2  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

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.

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.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 05-22-2007, 03:13 PM
  #3  
Guest
Thread Starter
 
krayzrac3r's Avatar
 
Join Date: Mar 2006
Location: So Cal
Posts: 407
Total Cats: 0
Default

configuring the ms isnt the problem...my issue was hooking it up and actually wiring it up.
krayzrac3r is offline  
Old 05-22-2007, 03:27 PM
  #4  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

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.
Braineack is offline  
Old 05-22-2007, 03:47 PM
  #5  
Guest
Thread Starter
 
krayzrac3r's Avatar
 
Join Date: Mar 2006
Location: So Cal
Posts: 407
Total Cats: 0
Default

hmm braineak interesting and **** 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.



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 **** and asking a million questions.
krayzrac3r is offline  
Old 05-22-2007, 03:58 PM
  #6  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

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.
Braineack is offline  
Old 05-22-2007, 04:41 PM
  #7  
Junior Member
 
castillejos2000's Avatar
 
Join Date: Nov 2005
Location: Las vegas
Posts: 240
Total Cats: 0
Default

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.??
castillejos2000 is offline  
Old 05-22-2007, 04:52 PM
  #8  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

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).
Braineack is offline  
Old 05-22-2007, 05:46 PM
  #9  
Tour de Franzia
iTrader: (6)
 
hustler's Avatar
 
Join Date: Jun 2006
Location: Republic of Dallas
Posts: 29,085
Total Cats: 375
Default

Originally Posted by Braineack
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.
hustler is offline  
Old 05-22-2007, 05:55 PM
  #10  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

read post #5 and then go ahead and erase your post...
Braineack is offline  
Old 06-14-2008, 01:21 AM
  #11  
Elite Member
iTrader: (6)
 
kenzo42's Avatar
 
Join Date: Sep 2007
Location: CA
Posts: 2,016
Total Cats: 13
Default

Originally Posted by Braineack
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?

Last edited by kenzo42; 06-14-2008 at 01:40 AM.
kenzo42 is offline  
Old 06-14-2008, 01:25 AM
  #12  
Elite Member
iTrader: (11)
 
IcantDo55's Avatar
 
Join Date: Apr 2007
Location: VA Beach
Posts: 1,996
Total Cats: 51
Default

I'm 90% sure mine had
red---power
black---ground
white---serial output
Pink--- 0-5V out
IcantDo55 is offline  
Old 06-14-2008, 02:57 AM
  #13  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Originally Posted by kenzo42
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.
Joe Perez is offline  
Old 06-14-2008, 03:01 AM
  #14  
Elite Member
iTrader: (6)
 
kenzo42's Avatar
 
Join Date: Sep 2007
Location: CA
Posts: 2,016
Total Cats: 13
Default

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
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.
kenzo42 is offline  
Old 06-14-2008, 03:07 AM
  #15  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Originally Posted by kenzo42
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.
Joe Perez is offline  
Old 06-14-2008, 03:18 AM
  #16  
Elite Member
iTrader: (6)
 
kenzo42's Avatar
 
Join Date: Sep 2007
Location: CA
Posts: 2,016
Total Cats: 13
Default

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
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 is offline  
Old 06-14-2008, 03:34 AM
  #17  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Originally Posted by kenzo42
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.
Joe Perez is offline  
Old 06-14-2008, 04:27 AM
  #18  
Elite Member
iTrader: (6)
 
kenzo42's Avatar
 
Join Date: Sep 2007
Location: CA
Posts: 2,016
Total Cats: 13
Default

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

Originally Posted by Joe Perez
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.
kenzo42 is offline  
Old 06-14-2008, 10:56 AM
  #19  
Elite Member
iTrader: (24)
 
kotomile's Avatar
 
Join Date: Oct 2006
Location: Monterey, CA
Posts: 7,537
Total Cats: 42
Default

Originally Posted by kenzo42
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.
kotomile is offline  
Old 06-14-2008, 11:21 AM
  #20  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Originally Posted by kotomile
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.
Joe Perez is offline  


Quick Reply: Need help wiring up aem wideband to megasquirt



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