I have an arduino uno and a 3.3v ic that communicates with i2c, but is only 3.3v compatible. I made a circuit following the diagram at this link: https://circuitdigest.com/tutorial/bi-directional-logic-level-controller-using-mosfet
The circuit seems to work fine when I test it with a multimeter, but when I plug in the i2c lines, and probe the arduino i2c pins, the data pin is not stable, and has a delta of 3.3v instead of 5v which shouldn't be happening. I took a screenshot of the osciloscope, I can also take a picture of my breadboard circuit although it is a bit messy. I am using the mosfet 2n3819 to change the logic level of the data pin and the clock pin has a voltage divider since it doesn't need to have bidirectional communication.
The circuit seems to work fine when I test it with a multimeter, but when I plug in the i2c lines, and probe the arduino i2c pins, the data pin is not stable, and has a delta of 3.3v instead of 5v which shouldn't be happening. I took a screenshot of the osciloscope, I can also take a picture of my breadboard circuit although it is a bit messy. I am using the mosfet 2n3819 to change the logic level of the data pin and the clock pin has a voltage divider since it doesn't need to have bidirectional communication.
Attachments
-
98.1 KB Views: 9