Electrical – Level shifter for multiple voltage levels


I found basic level shifters for two different voltages but I have 3 different voltages on my I2C bus.

I just wanted to verify if the schematic below will work correctly. I think it will but I am not sure if the different levels will influence the working.
enter image description here

Would appreciate a confirmation. (or if it does not work a tip how to solve this)

Best Answer

This particular circuit ONLY works if the signals are open-collector or open-drain, other wise you have this....


simulate this circuit – Schematic created using CircuitLab

Since you are using the circuit for I2C, that should not be an issue here provided the GPIOs are initially configured correctly at all three points.