Trying to connect 8-Relay Addon EMO-R8
-
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
-
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
-
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 = 0Definitely need documentation on extension, UNIPI !!!
-
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.
-
We ned more dokumentation to connect relay addon
-
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
-
@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?
-
@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
-
@RobRemote Check the printing on the PCB near the configuration pins.
-
@tomas_hora Oops! looked over it ! allmost unpossible not seeing it but works great by now , Thanks Tomas!