I have built a prototype to measure two distances using two time of fligth (TOF) sensors based on VL53L0X IC (from this manufacturer) which are connected to an Arduino board. Due to the environment and other devices I need to control (with analog signals), I want to have galvanic isolation for the I2C bus, which is performed by an ADUM1250 IC. On the other hand, in order to initialize both TOF sensors, XSHUT pins need to be alternatively started so that one of the IDs is changed (done like this page). These XSHUT pins are isolated by two separated ADUM1201 ICs, which only use one of its channels.
Regarding the pull-up resitors for the I2C bus:
If I have interpreted the schematic correctly, each TOF sensor has a 4.7k pull-up resistor in both SDA/SCL wires. As they are in parallel, this will make a total pull-up resistance of 2.35k. Screenshot of the breakout board schematic:
ADUM1250 has no pull-ups (default evaluation board, user guide here). I have just later welded the IC and some connectors, but no resistors welded. Screenshot of the original board:
- From the PLC side (based in Arduino), the manufacturer says: the pull-up configuration is established by default in I2C bus
This is the block diagram of the full setup, which works fine as I am getting coherent distance measurements in Arduino for both sensors:
My questions are:
- Is this galvanic isolation setup correct?
- As the DC/DC converter has isolation, could I use the same power supply for both sides of the isolation? Right now I am using two independent power supplies.
- Sometimes, if I touch with my hands one of the sensors to move it, the sensor gets in error. This error goes away if I re-upload the Arduino progam (which re-initializes the sensor). How is this situation possible and how can it be prevented?.
Note that I am using two protoboards to connect all the devices. This for example causes (I thing) the sensors to receive 4.8 V instead of the full 5 V from the DC/DC converter. The ADUM1250 is operating in an evaluation board. This photo shows the setup:



