I have a lot of trouble running a prototype made up of two I2C modules, one of which is disabled at the beginning.
Here is the list of components:
- Arduino Uno
- LCD I2C module
- Moisture sensor module (ads1115 + moisture sensor)
The moisture sensor module is swithed off by default to prevent oxydation of the sensor's electrode.
When the arduino starts, the current flowing in the SDA/SCL pins of the moisture sensor module creates a loop, and conflicts with the LCD module.
I can make it work if I remove the transistor, and connect the Vin pin of the moisture sensor directly to the arduino Vout
How can I make them work together? I guess I should use a diode somewhere, or use one or two more transistors to prevent current from entering SDDA/SCL pins...