• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Unipi I2C Relays Problem

    UniPi 1 - HW Q&A
    2
    5
    576
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pablofsmelo last edited by

      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

      1 Reply Last reply Reply Quote 0
      • T
        tomas_hora administrators last edited by

        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

        P 1 Reply Last reply Reply Quote 0
        • P
          pablofsmelo last edited by

          Hi Thomas,

          I believe this is set up correctly. After this configuration, I rebooted the system but nothing happens with i2c.

          1 Reply Last reply Reply Quote 0
          • P
            pablofsmelo @tomas_hora last edited by

            @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 ?

            1 Reply Last reply Reply Quote 0
            • T
              tomas_hora administrators last edited by

              @pablofsmelo did you figured it out?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post