Wandering, thanks for those very helpful details.
I'm going to summarize some key aspects of my approach, compared to your approach. There are some interesting similarities and differences.
As I mentioned before, I think readers should be warned that two conflicting numbering systems are being used. Consider the plug on the 5-wire sensor. If I hold that plug in my hand, facing the pins, and with the locking device facing up, I number those pins as follows:
1-2-3-4
5-6-7-8
Contrast this with the way you're numbering them (and some other folks here have also used this numbering system):
1-3-5-7
2-4-6-8
It's not a problem if a reader is aware and knows how to translate between the two. In other words, when I say pin 7, and you say pin 6, we're actually talking about the same pin. I'm counting left-to-right, whereas you're counting up-down.
Your system makes sense because it's the system Honda uses in numbering the ECU pins. Trouble is, they use a different system for their other connectors, like the various connectors we've been discussing. So you need to do it my way if you want to understand Honda schematics (like the one I cited a couple of times above).
Speaking of pin numbering, I want to warn readers about ECU pins. You referred to an illustration that numbers them as follows:
D1-D3-D5-D7-D9-D11-D13-D15-D17-D19-D21
D2-D4-D6-D8-D10-D12-D14-D16-D18-D20-D22
That's correct, provided you're facing a male connector (that is, the pins on the ECU itself). But someone testing continuity is facing the female connectors on the end of the cable. That means you're dealing with a mirror image, and the numbering needs to be reversed, like this:
D21-D19-D17-D15-D13-D11-D9-D7-D5-D3-D1
D22-D20-D18-D16-D14-D12-D10-D8-D6-D4-D2
Something else about pin numbering. Take a look at
this schematic. The D portion of the ECU is connected to the main wiring harness via a connector called C404. The schematic indicates, for example, that ECU terminal D8 is connected to pin 15 on C404. When you think about it, you realize that Honda is numbering C404 as follows:
1 -2 -3 -4 -5 -6 -7 -8 -9 -10-11
12-13-14-15-16-17-18-19-20-21-22
Remember that C404 is female, so those numbers are interpreted with the connector facing away from you (as portrayed in
this illustration). Notice how C404's pin 15 is in the position that corresponds with D8.
It's interesting to notice that the convention Honda uses for numbering ECU pins is not the same convention it uses for numbering pins on the connectors that attach to the ECU. On those connectors it used the same left-right (rather than up-down) system it uses throughout the vehicle.
I find it very helpful to use the Honda schematics, and I find that it helps to have a firm grasp of the pin-numbering conventions. So that's why I figure this is worth explaining.
Anyway, we've both made this important observation: all the wires needed to hook up the 5-wire sensor can be found under the hood. There's no need to run wires through the firewall to the ECU. Honda has already done that for us.
In particular, all the wires we need (aside from a ground) can be found in two places: the C111 connector (the 4-pin jack that served the original 4-wire sensor), and the C211/C129 connector. The latter is found on the passenger-side shock tower. On that tower, there is a mounting bracket that holds four sets of connectors. The connector pair at the very bottom (closest to the ground) is C211/C129.
C211 is the female side. It's part of the main wiring harness, and it has wires that run to the ECU. C129 is the male side. It's part of the engine wiring harness. These are 6-pin connectors. On a CA VX, three of the C129 pins are blank. These are the pins you and I both tap into (you do it by modifying the original connector; I do it by providing a new connector to replace the factory C129).
In both your solution and my solution, pin 4 (on the L1H1) reaches D3 (on the ECU) via pin 3 of C129 (I'm using my pin-numbering convention, not yours). And pin 6 (on the L1H1) reaches D8 (on the ECU) via pin 2 of C129. And pin 8 (on the L1H1) reaches D16 (on the ECU) via pin 5 of C129.
Similarly, in both your solution and my solution, pin 1 (on the L1H1) reaches A6 (on the ECU) via pin 1 of C111 (the jack that served the old O2 sensor). And pin 3 (on the L1H1) reaches D22 (on the ECU) via pin 2 of C111.
And in both your solution and my solution, pin 2 (on the L1H1) is connected to ground.
We take a slightly different approach to pin 7 (on the L1H1). We both connect it to D14 (on the ECU). You achieve this via pin 1 of C111. I achieve this via pin 6 of C129 (they amount to the same thing). In other words, you run 3 wires to C111, and 3 wires to C129, whereas I run 2 and 4.
Finally, you alter C129. What I do instead is use two extra connectors. This allows me to tap into the C211/C129 connector pair, without altering any existing wiring or connectors.
Why do I need two extra connectors, and not just one? Because the C211/C129 connector pair has a dual purpose. It doesn't just support the O2 sensor. It also supports the EGR valve. So my 4th connector is needed to maintain continuity to the EGR valve.
But that's a background issue that doesn't really need to be understood. I think my earlier instructions (for how to wire the 4 connectors) are accurate and sufficient. I'm more confident about that, now that I have confirmation from you that your C211/C129 connectors are wired to the ECU the same way mine are. I think we've both done a lot of continuity checking and come up with identical results. Also, what we've discovered is consistent with a bunch of different Honda schematics I've looked at (including, especially, the one I cited a few times).
One more thing. In the spirit of trying to reduce confusion, I want to mention that L1H1 has lots of names. Folks might not realize they mean basically the same thing:
5-wire O2 sensor
49-state sensor
L1H1
wideband sensor
LAF (linear air/fuel) sensor
UEGO (universal exhaust gas oxygen) sensor
Honda part number 36531-P07-003
Bosch part number 13246 (which is a repackaging of NTK's L1H1, and which is not to be confused with the Bosch LSU4 series, which is also a wideband sensor but not interchangeable with L1H1)