Unipi I2C Relays Problem
-
Hello
I am trying to drive unipi relays through a ladder code developed under the openplc project, but nothing happens.
I tried to make all the necessary settings to run i2c, but when I run the command "i2cdetect -y 1" I would expect to receive the address of CI MCP23008 (0x20) and other i2c devices. I tried to use all the power combinations for RPI and the expansion board, but nothing works.
Can someone help me ?
I'm using unipi1.1 from Raspbian Stretch 9.9
-
Make sure the I2C bus is enabled or enable it using raspi-config tool. You should see all the I2C devices as listed in the documentation - eg. 0x18 for the 1Wire interface
-
Hi Thomas,
I believe this is set up correctly. After this configuration, I rebooted the system but nothing happens with i2c.
-
@tomas_hora
I performed all the settings as per this link (https://www.raspberrypi-spy.co.uk/2014/11/enabling-the-i2c-interface-on-the-raspberry-pi/) and it didn't work out.I'm suspecting that the problem is with unipi1.1 hardware, but I would like more testing alternatives before concluding this.
Can anybody help me ?
-
@pablofsmelo did you figured it out?