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

    Open port RS485

    Official EVOK API
    2
    8
    2743
    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.
    • T
      tomas254 last edited by

      Hello,
      could you please advise me how to open port RS485 (which device)?
      I'm running Raspbian with evok installed on it.
      While I was running original Mervis image the device was /dev/extcomm/0/0 and there isn't such device.

      Thank you
      Tomas

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

        Hello @tomas254,

        did you install the latest development version of evok as written in the readme? https://github.com/UniPiTechnology/evok#testing-latest-git-versions

        Only that version currently support Neurons.

        Br,
        Tomas

        1 Reply Last reply Reply Quote 0
        • T
          tomas254 last edited by

          Yes i did

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

            @tomas254

            @tomas254 Can you try running the neuron tcp server manually?

            fisrt stop the service by:

            systemctl stop neurontcp
            

            and then run it by hand by

            /opt/neurontcp/neuron_tcp_server -p 502
            

            and paste the output here.

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

              @tomas_hora said in Open port RS485:

              /opt/neurontcp/neuron_tcp_server -p 502

              alt text

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

                @tomas254 And what SPI devices do you see in /dev/spi*?

                ls -l /dev/spi*
                
                T 1 Reply Last reply Reply Quote 0
                • T
                  tomas254 @tomas_hora last edited by

                  @tomas_hora

                  crw-rw---- 1 root spi 153, 2 Feb  8 15:17 /dev/spidev0.0
                  crw-rw---- 1 root spi 153, 3 Feb  8 15:17 /dev/spidev0.1
                  crw-rw---- 1 root spi 153, 1 Feb  8 15:17 /dev/spidev0.2
                  crw-rw---- 1 root spi 153, 0 Feb  8 15:17 /dev/spidev0.3
                  
                  1 Reply Last reply Reply Quote 0
                  • T
                    tomas_hora administrators last edited by

                    Try reinstalling the Modbus server as described here: https://github.com/UniPiTechnology/neuron_tcp_modbus_overlay

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