• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. mglowinski
    3. Topics
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 12
    • Posts 27
    • Best 1
    • Controversial 0
    • Groups 0

    Topics created by mglowinski

    • M

      Set 3.3V as I2C voltage level
      Unipi 1 - First Generation • • mglowinski

      2
      0
      Votes
      2
      Posts
      709
      Views

      A

      Hello,

      The I2C port is permanently connected to 5V and cannot be changed.
      For the UART port, it is possible to change between 5V and 3.3V using a jumper (JP6).

      Best regards,
      Antonin

    • M

      Disturbed communication on I2C bus
      Official API - Evok • • mglowinski

      4
      0
      Votes
      4
      Posts
      845
      Views

      M

      It is a problem related to power-supply.
      It was some voltage peaks while connecting anything to the same circuit as power-supply.
      I've a better one (Phoenix Contact) and it's working stable now.

      Topic closed.

    • M

      Check date/time of last action on relays
      Official API - Evok • • mglowinski

      3
      0
      Votes
      3
      Posts
      390
      Views

      M

      ok, thx:)

    • M

      Recommended way of connecting I2C device
      Unipi 1 - First Generation • • mglowinski

      3
      0
      Votes
      3
      Posts
      943
      Views

      M

      ok, thx for feedback

    • M

      I2C working, but disabled on Raspbian
      Unipi 1 - First Generation • • mglowinski

      3
      0
      Votes
      3
      Posts
      737
      Views

      M

      @Martin-Kudláček Do you maybe know how i can check current speed of I2C, which is set over device tree overlays?

    • M

      Recommended way of connecting analog sensor
      Official API - Evok • • mglowinski

      3
      0
      Votes
      3
      Posts
      437
      Views

      M

      Thx for explanation!

    • M

      How to count impulses on digital input via EVOK API?
      Official API - Evok • • mglowinski

      2
      0
      Votes
      2
      Posts
      401
      Views

      Martin Kudláček

      Hello @mglowinski,
      the Evok doesn't have such logic. If the DI doesn't support counters (which does not on Unipi 1.1), the Evok is not able to share this information. This has to be done in your software.

      Best regards,
      Martin

    • M

      How to control relay extension board via EVOK?
      Official API - Evok • • mglowinski

      2
      0
      Votes
      2
      Posts
      469
      Views

      M

      To make extension relay module (EMO-R8) working with EVOK below steps needs to be done:

      Open /etc/evok.conf file Uncomment relays assigned to EMO-R8:

      Each this line begins with a character ;
      This character must be removed for all lines related to the configuration for EMO-R8:

      ; ;Example of 8xRelay extension module addon (EMO-R8) on address 0x21 ; [MCP_2] i2cbus = 1 address = 0x21 [RELAY_9] mcp = 2 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 Save /etc/evok.conf file Restart evok
    • M

      Is there a way to set relays to default state after RaspberryPi reboot?
      Official API - Evok • • mglowinski

      2
      0
      Votes
      2
      Posts
      400
      Views

      M

      Hello @mglowinski,

      sorry, but this feature is not supported in Unipi 1.1 series products. Please consider buying Neuron/Patron series PLCs which can do it.

    • M

      Reading and sending data using UART via EVOK API
      Official API - Evok • • mglowinski

      9
      0
      Votes
      9
      Posts
      1207
      Views

      M

      I made it work.
      I enabled Serial in RaspberryPi Setting and and used /dev/serial0 and it worked.

      Thx @martin_triska for help!

    • M

      Accessing I2C devices via EVOK API
      Official API - Evok • • mglowinski

      5
      0
      Votes
      5
      Posts
      563
      Views

      M

      @martin_triska,
      thx for a tip. Indeed it worked quite well:)