USB to I2C Converter with Virtual COM Port FT230XS (Python, Linux)

I am probably just being lazy and impatient here but I wanted to confirm that I can use pyserial in a python script to read the 1-Channel 4-20mA Current Loop Receiver 16-Bit ADS1115 I2C Mini Module?

    import serial
    import time

    with serial.Serial ('/dev/ttyUSB2', 115200) as ser:

        w = bytearray.fromhex('AA 02 C1 00 6D') #Bus Scan
        s = bytearray.fromhex('AA 03 FE 21 BB 87') #Stop I2C
        
        ser.write(w)

        r = ser.read(4)

        print(r)

        ser.write(s)

This is what it returns b'\xaa\x01U\x00'

I will keep digging on this but if anyone has some quick tips I would appreciate it!

Sorry, but I don’t have any resources for this combination.
The best way to test is to use AnyI2C software on windows, you can then copy the communication bytes into Python.
The USB to I2C converter is mostly supported in Windows.
Thanks,
Ryan

@ryan1

Thanks for the input. I think I have decided to go with MCP3428 4-Channel 4-20mA 16-Bit Current Receiver with IoT Interface for my project.

I will continue to work with it sometime in the future.

I am actively building example control panels in Alpha Station for many customers, let me know if you need me to put a sample together for the next version (https://ncd.io/alpha).
Thanks,
Ryan

Yes, pyserial works. Here is what I used:
ser = serial.Serial(‘COM13’, baudrate=115200, timeout=1)
ser.write(b’\xAA\x05\xBF\x50\x02\x00\x00\xC0’)