Hello
My name is Roberto I am working on a home automation project. It handles all possible blinds, heating, automatic doors, …) as well as a set of sensors (temperature, humidity, light level, wind, …). All the development is done with the raspberry pi control board, in python, and for the wiring, cat 6 ethernet cable is used. The sensors to be installed communicate with the i2c protocol and this would be a small installation scheme (annex scheme 1) .
The problem I have is to reach the distances indicated since the i2c protocol does not reach the ones I indicated. That is why I had planned to use the product “Qwiic Differential I2C Bus Extender (PCA9615)” but I have several questions about it before deciding:
-
given the configuration indicated, I don’t know if the solution would be to rely on an ethernet switch (for example, TP-Link Switch 5 Ports 10/100/1000 (TL-SG105)) (annex scheme 2). But that would force me to use excessive wiring which is not optimal. Also, I don’t know if the PCA9615 device could work this way.
-
Perhaps the most suitable could be a configuration like the one indicated in the annex scheme 3, but I do not know if they have devices that allow to do this (in the scheme I have represented it as “?”). Do you have them? If you manufacture them, can you indicate their characteristics? Do you use some kind of python library or are they transparent and do I just have to handle the i2c protocol completely ignoring the ethernet interface?
-
Finally, in case you have no choice but to use the ethernet switch together with the PCA9615, do you use any kind of python library?
Thank you very much and greetings