Raspberry GPIO free with UNIPI 1.1
-
Hello what GPIO pins are free to use with other devices connected ?
I have a software made with Codesys (not supported by Unipi) but I need to manage 1 relays more (because Unipi has only 8 realays) so I don't know what hardware I can use and wich protocols in codesys (modbus, OPCuA, I2C) use without damage the commands to Unipi board.
Can I use I2C with other drivers for example in NODE-RED ?
I don't know if is possible to use 2 software driver for I2C devices (with different addresses) or It need a mutex...Thanks!
-
Hello Fabio,
You can select the EMO-R8 module to expand the Unipi 1.1 board with another 8 relays. This module communicates via I2C, as does the relay on the Unipi 1.1 board. Documentation for this module can be found on our KnowledgeBase.
For communication, you can choose either direct control via I2C, or use our EVOK API, which allows you to control, for example, via the REST API or WebSocket.
EMO-R8 connection and EVOK configuration:
You must first set the address jumpers on the EMO-R8 and connect to Unipi 1.1 using an I2C cable. Then connect the power supplies, connect to the Unipi unit via SSH and edit the /etc/evoc.conf file. Then restart EVOK and the outputs on the EMO-R8 will be available.
- In the /etc/evok.conf file, find the lines related to EMO-R8 and uncomment them (remove the semicolons at the beginning of the lines). Open file with administrator privileges (sudo).
sudo mc -e /etc/evok.conf
- Then restart EVOK.
sudo systemctl restart evok.service
Best regards,
Antonin - In the /etc/evok.conf file, find the lines related to EMO-R8 and uncomment them (remove the semicolons at the beginning of the lines). Open file with administrator privileges (sudo).