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

    Trying to connect 8-Relay Addon EMO-R8

    UniPi 1Wire Extension Modules (official)
    4
    10
    5461
    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.
    • D
      denis last edited by

      Hello,

      I'm trying to add a 8-Relay Addon EMO-R8 to a unipi.

      I connected it to the I2C RJ11 connector with an external power supply.
      Both LEDs (I2C and power) are On.
      I did not change the I2C adress on the board (0x21).

      I changed the evok/evok/evok.conf file by removing the ';' in front of the example included in the file
      …

      ;
      ;Example of 8xRelay extension module addon (EMO-R8) on address 0x21
      ;
      [MCP_1]
      i2cbus = 1
      address = 0x21
      
      [RELAY_8]
      mcp = 1
      pin = 7
      
      [RELAY_9]
      mcp = 1
      pin = 6
      
      [RELAY_10]
      mcp = 1
      pin = 5
      
      [RELAY_11]
      mcp = 1
      pin = 4
      
      [RELAY_12]
      mcp = 1
      pin = 3
      ...
      
      Since then, the web page (127.0.0.1) is not showing any input or output.
      Any idea what I did wrong ?
      
      Thanks,
      Denis
      
      1 Reply Last reply Reply Quote 0
      • D
        denis last edited by

        Hello,

        I'm trying to add a 8-Relay Addon EMO-R8 to a unipi.

        I connected it to the I2C RJ11 connector with an external power supply.
        Both LEDs (I2C and power) are On.
        I did not change the I2C adress on the board (0x21).

        I changed the evok/evok/evok.conf file by removing the ';' in front of the example included in the file
        …

        ;
        ;Example of 8xRelay extension module addon (EMO-R8) on address 0x21
        ;
        [MCP_1]
        i2cbus = 1
        address = 0x21
        
        [RELAY_8]
        mcp = 1
        pin = 7
        
        [RELAY_9]
        mcp = 1
        pin = 6
        
        [RELAY_10]
        mcp = 1
        pin = 5
        
        [RELAY_11]
        mcp = 1
        pin = 4
        
        [RELAY_12]
        mcp = 1
        pin = 3
        ...
        
        Since then, the web page (127.0.0.1) is not showing any input or output.
        Any idea what I did wrong ?
        
        Thanks,
        Denis
        
        1 Reply Last reply Reply Quote 0
        • D
          denis last edited by

          The example seems to be incorrect ;(

          Working now with :

          [MCP_2] (instead of 1)
          i2cbus = 1
          address = 0x21

          (the RELAY_8] is already used on the base unipi board , so start at RELAY_9)

          [RELAY_9]
          mcp = 2 (instead of 1)
          pin = 7

          [RELAY_10]
          mcp = 2
          pin = 6

          [RELAY_11]
          mcp = 2
          pin = 5

          [RELAY_12]
          mcp = 2
          pin = 4

          [RELAY_13]
          mcp = 2
          pin = 3

          [RELAY_14]
          mcp = 2
          pin = 2

          [RELAY_15]
          mcp = 2
          pin = 1

          [RELAY_16]
          mcp = 2
          pin = 0

          Definitely need documentation on extension, UNIPI !!!

          1 Reply Last reply Reply Quote 0
          • ?
            Guest last edited by

            Sorry for that. Will be fixed in next update to the repository.

            We are currently overwhelmed with finishing the Mervis software. However I will first implement the necessary things in evok and then publish all documentation to our hardware.

            1 Reply Last reply Reply Quote 0
            • A
              Anders Kjellström last edited by

              We ned more dokumentation to connect relay addon

              1 Reply Last reply Reply Quote 0
              • R
                RobRemote last edited by

                Hi Whitch evok conf has to be changed to activate the EMO R8 relays ?
                I tried to remove the ; at the /etc/evok/.conf but when I store with o and confirm to overwrite and leave with x and open the conf again the ; are back again .

                Do I have to change the other conf? /home/pi/evok/etc/evok.conf

                Kind regards Rob

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

                  @RobRemote As stated in the Readme /etc/evok.conf is the file you are looking for. How did you install Evok and what OS are you using?

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    RobRemote @tomas_hora last edited by

                    @tomas_hora Hi Tomas , the problem was solved , I made a mistake with store the filename and it was working perfect , now I want to add a second emo-r8 and I copied the file and changed the adres and the relay numbers and the mcp numbers .

                    What is the jumper setting for adress 0*22 ?

                    Kind regards : Rob

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

                      @RobRemote Check the printing on the PCB near the configuration pins.

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        RobRemote @tomas_hora last edited by

                        @tomas_hora Oops! looked over it ! allmost unpossible not seeing it but works great by now , Thanks Tomas!

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