5v ALDL 8192 Baud to esp32

Thread Starter


Joined Apr 21, 2022
I've been working on a diagnostics program for my old diesel, I need the TX/RX pins of my esp32 to connect to the 1 wire ALDL port. I believe I've found a suitable way using the following circuit
Im aware this does not include level shifting from 5v to 3v3 which I believe I just need a suitable level shifter ic to accomplish, my question here is how does this circuit allow 1 wire to 2 wire communication? Wouldn't the diode in that orientation not allow the TX pin to send its data?

Here is another interface circuit I found, I'm not sure how both of these circuits could be accomplishing the same thing. Could anyone provide some insight into this and maybe recommend which method is better?
This is the complete circuit of the one directly above, could someone also explain if the oscillator is needed for the interface or if its simply the clock of the mcu?