Excellent product
For USB I2C module
It's an excellent product! I tested with several I2C products and it recognised them immediately.
As I have a Mac and the documentation only refers to Linux and Windows, here's a quick tutorial for the Mac:
You might have to install Python 3 and pyserial for Python 3, as macOSX defaults with Python 2.7.
Using macports:
# sudo ports install python36
# sudo ports install py36-serial
Check your dongle device name:
Manuels-iMac:usbi2c-python3-master mazevedo$ ls -l /dev/cu*
crw-rw-rw- 1 root wheel 21, 1 Jun 5 08:28 /dev/cu.Bluetooth-Incoming-Port
crw-rw-rw- 1 root wheel 21, 7 Jun 5 16:24 /dev/cu.usbmodem464B4301
Change the base scripts that contain the Linux code detection with macOSX (darwin) and the serial port address:
def serial_name():
if platform == "darwin":
return "/dev/cu.usbmodem464B4301"
else:
return "COM4"
Then just run:
Manuels-iMac:usbi2c-python3-master mazevedo$ python3.6 i2c_search.py
Connected to adapter with serial number: 464B430F
Searching I2C devices ...
0x40 (64)
0x70 (112)
Finished
It should work immediately.