Engine Post your engine related problems in this section. Engines will cover from Fuel, Engine, Cooling, Exhaust physical related items.

D17A1 Swap / No Secondary O2 Plug / Where do the Wires Go

Thread Tools
 
Search this Thread
 
Old Jul 11, 2011
  #1  
familyguy's Avatar
Thread Starter
Registered!!
 
Joined: Jun 2011
Posts: 7
Likes: 0
Rep Power: 0
familyguy is an unknown quantity at this point
D17A1 Swap / No Secondary O2 Plug / Where do the Wires Go

My daughter blew her motor on her 2002 Civic so we replaced the motor. She now has a D17A2. I've also replace her wiring harness (EX) and ECU (EX) so that they all correspond to each other. The problem is there is no plug for a secondary O2 Sensor on the wiring harness and I don't have a plug on the cabin harness. I connected the secondary O2 plug straight into the ECU and now I get a P0141 code. I have a hand held scanner and can reset it but without fixing it, it just comes right back on. here is how I hooked it up:

The O2 sensor (secondary) has 4 wires: 2 white, 1 black, and 1 grey.

White: Piggy backed to a blk/yel on Connect A, pin #3 (power source)
White: Pinned into Connector E, pin #6 (Secondary O2 Sensor Heater Control)
Black: Pinned into Connector E, pin #2 (Secondary O2 Sensor)
Grey: Grounded to the Thermostat Housing

I am looking for any help on this. I've searched till I can't search anymore and I hooked up based on what I've read. I think I might have actually reached the end of the internet.

thanks for your time and I so look forward to any guidance.
Reply
Old May 31, 2022
  #2  
ps22sp's Avatar
Registered!!
 
Joined: Jan 2022
Posts: 2
Likes: 0
Rep Power: 0
ps22sp is an unknown quantity at this point
Re: D17A1 Swap / No Secondary O2 Plug / Where do the Wires Go

my catalytic converter was cut by someone ,o2 downstream wire cut the socket so left 4 wire need to connect from 4 wire to o2 downstream sensor
1-top left signal ground 2 top right signal down 3 heater ground 4 power battery volt from ign switch +
black /white wire ---3 heater ground
my wire left side from 3wire from ecu one black/yellow from ign switch battery voltage connect to o2 bottow right no.4
e2 white /red --- 2 o2 signal o2 wire black
e4 (?) yell/red 1 signal ground o2 wire gray
black/yel 4 battery volt O2 wire white
e6 black/white 3 o2 wire white
my engine d17a2 04 honda civic ex 4 cylinder error code p0141
that connect is right or not ,i am not sure need help
Reply
Old Dec 4, 2022
  #3  
LX2EX's Avatar
Registered!!
 
Joined: Dec 2022
Posts: 2
Likes: 2
Rep Power: 0
LX2EX is an unknown quantity at this point
Re: D17A1 Swap / No Secondary O2 Plug / Where do the Wires Go

I just got done swapping a D17A2 for my LXs D17A1. I am OCD and there is a more factory correct way to wire in the S02S. As stated you must rape your LX harness for the secondary 02 sensor connector and it’s wiring. Trace all four wires on the connector as far back as possible. Once you’ve got the connector and wires separated and pulled from the LX harness, two wires will be shorter (black/yellow and green/yellow) than the pinned wires. Get some likewise colored wire from the LX harness and solder/ make all four wires the same length. You should also notice that the red/white wire contain shielding wire as well, there is a plan for it! Next, peel open the EX main ECU harness ahead and behind if the firewall grommet. I only needed to open up about a 10 inches or so of the tape and conduit on the engine side of the harness. Run your white/red, green/yellow, and black/white wires in the main harness, through the rubber grommet and into the cabin with all the ECU connectors. Recover and re-tape ECU harness. The black/yellow wire though, will actually get looped onto the other harness that leads along the fender to the under hood fusebox. Pull the fusebox up and out and pull the bottom wire loom cover off the fusebox. You should see a three pin connector with three wires (black/orange, black, green/red.) Now the black/yellow wire from our S02S connector gets tapped into the black/orange wire off of this ELD connector. Just cut a small section of insulation off the black/orange wire an inch or so away from the connector and solder the black/yellow wire into the section. Done here, tape up, then reconnect ELD plug and put fusebox back. Run the black/yellow wire along relay harness back to the firewall where the under hood fusebox harness and engine harness almost meet. This is where I ran the black/yellow wire back into the main ECU harness in front of the steering rack for the S02S connector to live on the subframe. Now, for the other three wires to the ECU... As stated the black/white wire can get pinned straight into ECU connector E pin 6 which should be open. Same for the white/red pinned wire which plugs into the open spot on connector E pin 2. Now the shielding for that red/white wire needs to tap into the brown/yellow wire on ECU pin 3. Honda does not solder these shield wires, just metal crush crimps FYI. The shielding wire is extra ground strap for the S02S for electrical noise. Honda uses ECU pin 3 and brown/yellow wires as logic grounds for electrical noise. Just remove a little insulation an inch or so back from the connector on the brown/yellow wire and tap the shielding into it. Tape up. All that should be left now is the green/yellow wire which just needs to tap into the pink wire from pin 4 on the ECU connector. That’s it! That’s is the factory circuit/ wiring path for the S02S. I also reused the secondary oxygen sensor from my LX and it seems to work fine, no codes. Thanks to original poster for the idea and help.
Reply
Old Sep 13, 2025
  #4  
Neon_Nightrider's Avatar
Registered!!
 
Joined: Apr 2025
Posts: 10
Likes: 3
Rep Power: 0
Neon_Nightrider is an unknown quantity at this point
Re: D17A1 Swap / No Secondary O2 Plug / Where do the Wires Go

Originally Posted by LX2EX
I just got done swapping a D17A2 for my LXs D17A1............. I also reused the secondary oxygen sensor from my LX and it seems to work fine, no codes. Thanks to original poster for the idea and help.
Add power wire off fuse 2 under driver dash (Tap into black/orange)
Body Harness Pin 2 for Secondary O2 Sensor (red/white)
Body Harness Pin 4 for Ground (to pink)
Body Harness Pin 6 for Secondary O2 Heater control (black/white)

"Shielding for the red/white wire needs to tap into the brown/yellow wire on ECU pin 3"


If wired from scratch what would you recommend for a shielded wire?

I had planned on using Coax or spark plug wire just for the sensor.

What would you recommend for ecu pins? I only need a few.


Reply
Related Topics
Thread
Thread Starter
Honda Civic Forum
Replies
Last Post
Default_Slayer
Electrical DIY
10
Dec 4, 2022 07:56 AM
ahknodd
General Honda Civic Forum Archive.
0
Sep 17, 2006 06:10 AM
asdfasdf
Parts and Products
9
Mar 4, 2003 11:29 PM
spike
General Honda Civic Forum Archive.
4
Feb 21, 2003 03:46 PM
civichx81
General Honda Civic Forum Archive.
6
Apr 7, 2002 03:27 PM




All times are GMT -5. The time now is 09:22 PM.